Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

having trouble installing shopping cart. unable to connect


byunkook

Recommended Posts

I'm installing this on win2k adv server using iis 5.

When I open http://localhost/catalog/default.htm

 

I get error message.

 

Unable to connect to database server!

 

How can I fix this

 

I installed mysql-3.23.55-win.zip, and php-4.3.0-Win32.zip properly.

 

I have green light for the mysql on system tray, and green up arrow for php in iis property.

 

 

I also have problem when I open http://localhost/admin/default.htm

 

error messages on top and also on bottom.

 

top error messages are :

 

 

Warning: session_start() [function.session-start]: open(/tmpsess_963b6d85203ccdf4416c8b66b7954734, O_RDWR) failed: No such file or directory (2) in E:Hobbytrainwebadminincludesfunctionssessions.php on line 4

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at E:Hobbytrainwebadminincludesfunctionssessions.php:4) in E:Hobbytrainwebadminincludesfunctionssessions.php on line 4

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at E:Hobbytrainwebadminincludesfunctionssessions.php:4) in E:Hobbytrainwebadminincludesfunctionssessions.php on line 4

 

Warning: main(//catalog/includes/data/rates.php) [function.main]: failed to create stream: No such file or directory in E:Hobbytrainwebadminincludesinclude_once.php on line 4

 

Warning: main() [function.main]: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;c:php4pear') in E:Hobbytrainwebadminincludesinclude_once.php on line 4

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in E:Hobbytrainwebadminincludeslanguagesenglish.php on line 12

 

Warning: main(includes/languages/english/) [function.main]: failed to create stream: No such file or directory in E:Hobbytrainwebadminincludesinclude_once.php on line 4

 

Warning: main() [function.main]: Failed opening 'includes/languages/english/' for inclusion (include_path='.;c:php4pear') in E:Hobbytrainwebadminincludesinclude_once.php on line 4

 

 

bottom error messages are :

 

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

 

Warning: Unknown(): open(/tmpsess_963b6d85203ccdf4416c8b66b7954734, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

 

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

 

Please help me....

 

Thank you.

Link to comment
Share on other sites

when I try http://localhost/catalog/default.php

 

I get error "Unable to connect to database server!"

 

Do you have any sample configure.php

 

I'm really a beginner..

 

Please help me.

 

 

 

I read Detailed Installation Instructions from http://guide.oscdox.com/

 

It says there's http://yourserver.com/catalog/install/index.php

 

But the file I downloaded from oscommerce.com don't have install folder.

 

Thank you for the reply

 

 

 

 

Have you tried:

 

http://localhost/catalog/default.php

 

 

what's in your configure.php?

Link to comment
Share on other sites

Thank you very much for the quick answer.

 

I encountered problem with path.

 

I'm using iis 5 on win2k adv server.

 

so... the path is different.

linux unix uses / for path and windows uses for path.

 

bcause of that, I have this message:

 

Step 2: osCommerce Configuration

 

The following configuration values will be written to:

 

E:HobbytrainwebE:Hobbytrainwebcatalogincludes/configure.php

E:HobbytrainwebE:Hobbytrainwebcatalogadminincludes/configure.php

 

 

 

when I click continue next page shows errors

 

 

Warning: fopen(E:HobbytrainwebE:Hobbytrainwebcatalogincludes/configure.php) [function.fopen]: failed to create stream: Invalid argument in E:Hobbytrainwebcataloginstalltemplatespagesinstall_5.php on line 114

 

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

 

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

 

Warning: fopen(E:HobbytrainwebE:Hobbytrainwebcatalogadminincludes/configure.php) [function.fopen]: failed to create stream: Invalid argument in E:Hobbytrainwebcataloginstalltemplatespagesinstall_5.php on line 164

 

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

 

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

 

The configuration was successful!

 

 

I'm reading carefully but this... :cry:

 

it says configuration successful but so many warnings :shock:

Is there any way to go around this warning?

 

I bypassed mysql database import error with manual import.

 

If anybody know Please give me a solution that will not popup any error or warning.

 

Thank you. :lol:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...