Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: Supplied argument is not a valid MySQL


thecrew

Recommended Posts

I've installed oscommerce 2.2 MSI on my server, but at the step 3 I've got a warning

" Warning: Supplied argument is not a valid MySQL-Link resource in includes/functions/database.php on line 41 "

The database import was successful!

 

When I contunue to the end ( step 5 ), I can't open catalog or admin page.

 

I tried to test at my localhost, that's no problem.

 

Please help me, :?: :?:

Link to comment
Share on other sites

  • 3 months later...

Ok i figured it out, at least mine.. i was having the

 

database.php error on line 41

 

like a ton of them...

 

i use phptriad 2-11

 

what i did is updated it to 4.1.1

http://sourceforge.net/projects/phptriad/

 

and it works fine now...

you will have to enable globals in your php.ini file

 

just search for , register_globals = off

and change it to on..

 

that should work for ya.

 

-negg

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...