Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error 1046


rishi585

Recommended Posts

Posted

I am trying to install oscommerce version 2.2 cvs on the localhost of a winxp system. Its my first time trying to set up a site with oscommerce.

 

I was going through the installation instructions from http://guide.oscdox.com/. Everything was going fine until the last few steps of the install script. I filled out the form for step 2: oscommerce configuration. Then, after submitting, I recieved the following:

 

 

Warning: fopen(c:/inetpub/wwwroot/phts/phts/catalog/includes/configure.php) [function.fopen]: failed to create stream: No such file or directory in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 114

 

Warning: fputs(): supplied argument is not a valid stream resource in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 115

 

Warning: fclose(): supplied argument is not a valid stream resource in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 116

 

Warning: fopen(c:/inetpub/wwwroot/phts/phts/catalog/admin/includes/configure.php) [function.fopen]: failed to create stream: No such file or directory in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 164

 

Warning: fputs(): supplied argument is not a valid stream resource in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 165

 

Warning: fclose(): supplied argument is not a valid stream resource in c:inetpubwwwrootphtscataloginstalltemplatespagesinstall_5.php on line 166

 

The configuration was successful!

 

 

When I went to test the catalog and administration tool, I recieved the following error:

 

1046 - No Database Selected

 

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

 

[TEP STOP]

 

I cant seem to figure out what I have done wrong. If anyone could point me in the right direction, I'd be very happy.

 

Thanks.

Posted

I would probably set the configure.php variables manually at this point and try again.. If it doesn't work, try importing the database also manually using phpMyAdmin or the like.

So much for auto-install ;)

 

-caz

Archived

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

×
×
  • Create New...