Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mysql_pconnect() error message


Stewart Gilray

Recommended Posts

Hi,

I've just (HAD) to upgrade to PHP5 today, and now all 3 of my store sites have stopped working...

 

They all give the error...

 

Fatal error: Call to undefined function mysql_pconnect() in W:\usr\users\apfstore\public_html\includes\functions\database.php on line 17

 

Answers on a postcard please... As this is driving me crazy...

 

thanks in advance

Link to comment
Share on other sites

Sounds like you have persistent connections set in your configure.php files and the version of mysql you have running does not support it.

 

Change both catalog/includes/configure.php and catalog/admin/includes/configure.php and set it to false.

 

define('USE_PCONNECT', 'false'); // use persistent connections?

 

Also in upload.php line 31 in admin/includes/classes/upload.php comment out

 

//$this = null;

 

It's not compatible with PHP5.

 

HTH

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...