Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install help; Fatal error: Call to undefined function: mysql


michael_ebbert

Recommended Posts

Hello, I am installing oscommerce new using the daily snapshot tep_snapshot-20030331.zip. I am using the installation guide on http://guide.oscdox.com/. I have just completed the installation, and am receiving the following errors. I could not get /catalog/install/install.php to complete successfully. It did connect successfully to the DB with the username and password I supplied, but was unable to automatically modify the configure.php files, so I modified them by hand.

 

If I now load http://myserver.com/catalog/default.php, I see:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/catalog/includes/functions/database.php on line 19

 

If I load http://myserver.com/catalog/admin/index.php, I see:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/catalog/admin/includes/functions/database.php on line 19

 

It looks like there's perhaps trouble with PHP communicating with mysql? If anyone has advice, I would be happy to try it out. This is my third failed install with the same issue each time, but I'm determined to get it right!

 

Thanks,

Mike Ebbert

Link to comment
Share on other sites

I am having exactly the same problem as you.

Have you found a solution? Have been searching around for the last half a day trying to get it working to no avail.

 

Let me know if you have found a solution.

 

Regards,

 

Fish

Link to comment
Share on other sites

  • 4 weeks later...

I ended up finding the solution by comparing my php.ini with a friend's. Mine was missing a line

extension=mysql.so

in the Dynamic Extensions section.

 

After adding that line, the osCommerce app running. My thanks to everyone.

 

Regards,

Michael Ebbert

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...