Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it still safe to copy catalog to new website???


afterdigital

Recommended Posts

Posted

I installed redhat on a new machine and keeping all directories, userid, pwd, and folder names the same, I thought i could just copy the catalog but instead i get the following error:

 

Fatal error: Call to undefined function: mysql_pconnect() in /var/www/catalog_website/includes/functions/database.php on line 17

 

I checked the configure file and it has all the correct information. What does this message error refer to?

 

Thanks,

 

AD :ph34r:

Posted

Two things:

 

1. Turn off persistent connections in configure.php.

 

2. Make sure that PHP was compiled with MySQL support.

 

Hth,

Matt

Posted

Hmmm....

 

So i installed PHP/MySQL RPM (suprisingly it didn't install during setup?) and changed persistent connection to 'off' and i now get the message:

 

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

 

The error moved down two lines to line '19'

 

When i install the RPM package "PHPMySQL" do i need to do anything to the Catalog? How about MySQL?

 

Thanks again,

 

AD

Archived

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

×
×
  • Create New...