Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't import database


holliep

Recommended Posts

Hi,

I'm new and don't have a lot of experience so please go easy on me!

 

I have a free hosting account with awardspace.com and i've setup a database on there.

I've uploaded the files to my root directory etc and connected successfully. When I proceed to import the database the top half of the screen loads then freezes with the following message -

 

Warning: set_time_limit() has been disabled for security reasons in /home/www/my_site/shop/install/includes/functions/general.php on line 47

:rolleyes:

 

thanks

Link to comment
Share on other sites

// Sets timeout for the current script.

// Cant be used in safe mode.

 

You need to comment out the code for set_time_limit in these files in the install folder:

 

includes\functions\general.php(45): function osc_set_time_limit($limit) {

includes\functions\general.php(47): set_time_limit($limit);

templates\pages\install_3.php(37): osc_set_time_limit(0);

 

Vger

Link to comment
Share on other sites

You need to comment out the code for set_time_limit in these files in the install folder:

 

includes\functions\general.php(45): function osc_set_time_limit($limit) {

includes\functions\general.php(47): set_time_limit($limit);

templates\pages\install_3.php(37): osc_set_time_limit(0);

 

Vger

 

Hi Vger.

I'm new to this - can you explain what you mean by comment out.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...