Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Today's Checkout: admin/includes/configure.php not written?


morbus

Recommended Posts

Posted

Hey all. I'm not sure if this has been reported in the past or not, or if its really just an idiocy quotient on my end (since I'm new to osCommerce). Annnyways, I ran through the install and had two issues:

 

- all the .htaccess files in the /catalogs/ directory

 

Since this web server doesn't allow .htaccess files, the commands within caused Internal Server Errors in various parts of the site. I had to remove the two I've seen in /catalog/ and /catalog/includes/. All similar entries are in httpd.conf (I control this server).

 

- install script gave wrong link for the admin directory.

- /admin/includes/configure.php wasn't written

 

This is where I'm not sure if I've screwed something up. After running through the install pages (which gave me no errors), I was presented with two buttons, one for catalogs and one for the admin. Clicking on catalogs showed me two warnings (one about the /install/ and one about configure.php being writable). Having fixed those, I refreshed, no warnings, and the /catalog/ was working fine.

 

However, clicking on the admin link in the install brought me to /catalog/admin/, which isn't the right directory (it should be /admin/). I'm not sure if that's a bug in my use or not. Either way, that's not the crucial one. The crucial one is when I tried to load /admin/, in which I got this error:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

TEP STOP

 

I traced that down to /admin/includes/configure.php, seemingly, not being written as part of the install process. The reason I saw this is because all the DB_SERVER values weren't written at all - or at least, they weren't the same as the matching catalog configure.php. If I cut and paste the relevant parts of the catalog configure, everything works fine.

 

My fault, or a CVS error?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...