Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

mysql_pconnect() error message

Stewart Gilray

Recommended Posts


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.




Link to comment
Share on other sites


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

  • Create New...