Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate


lunkwell

Recommended Posts

Hi

Maybe someone can assist advise here on this. I've installed current version of easy populate. Configured OsCommerce as set out by the docs. Created the temp dir and have it pointed to in the global variables.

As I use windows I've mad sure that the directory is not set to read only.

I wish to use the option Download Model/Category tab-delimited .txt file to edit but I continually get an error

Fatal error: Maximum execution time of 30 seconds exceeded in \admin\includes\functions\database.php on line 45. I've looked at the specified line but no joy.

Any assistance would be appriciated.

Link to comment
Share on other sites

  • 2 weeks later...
I'm getting this exact error in the same environment (windows).

 

Does anyone have a suggestion?

Hi;

Managed to figure out what the problem was but was away until now.

What worked for me was to to remove the // at the line where it says

//**** File Splitting Configuration ****
// we attempt to set the timeout limit longer for this script to avoid having to split the files
// NOTE:  If your server is running in safe mode, this setting cannot override the timeout set in php.ini
// uncomment this if you are not on a safe mode server and you are getting timeouts
//set_time_limit(330);

(around line 28).

 

So you should be left with

 

//**** File Splitting Configuration ****
// we attempt to set the timeout limit longer for this script to avoid having to split the files
// NOTE:  If your server is running in safe mode, this setting cannot override the timeout set in php.ini
// uncomment this if you are not on a safe mode server and you are getting timeouts
set_time_limit(330);

 

 

This worked for me.

Link to comment
Share on other sites

I'm getting this exact error in the same environment (windows).

 

Does anyone have a suggestion?

 

 

Found the answer based on some of the reponses in other postings.

In my case I'm using phpdev to run lamp in a windows enviroment on my PC.

The timeout was occurring when I tried to run Easy Populate.

Found out the error was caused in the easypopulate.php file

Simply change the variables using "/catalog/temp/" file to "temp/"

 

Now it runs fine on the PC but will probably have to change it back when I upload to the web server.

Michael Gilliam

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...