Zen Cart Logo
Forums / General Questions / Price Sorter - Timeout

Price Sorter - Timeout

Locked

Views: 1,396

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Nov 2006, 8:48 PM
#1
muddler avatar

muddler

Zen Follower

Join Date:
May 2006
Location:
Connecticut
Posts:
118
Plugin Contributions:
0

Price Sorter - Timeout

I am running Zen V1.3.0.2 on a Linux server.
I have about 12,000 products.
After adding my last batch of products I can no longer run the price sorter.
It runs for a while (hour glass) and then just stops with a white screen.
I guess the script is timing out?

I asked host about script timing out and received this reply,
"We can only have the execution time set to 30s globally but you should be able to add "max_execution_time = 90" to a local php.ini file for your directory."

Tried adding this line to index.php in the admin subdir, this did not fix the issue.
Does anyone know whether this is where it should be or in another file?

Any other ideas about how to work around this problem?

https://www.aurora-teamspirit.com

24 Nov 2006, 8:59 PM
#2
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Price Sorter - Timeout

php.ini is a configuration file for php settings, not a zen .php file.

You can also try using set_time_limit ( int seconds) (this you can use in php scripts, if the server settings allow you)

http://www.klaban.torun.pl/help/php/function.set-time-limit.html (the php.net site is not working well atm)

24 Nov 2006, 9:37 PM
#3
muddler avatar

muddler

Zen Follower

Join Date:
May 2006
Location:
Connecticut
Posts:
118
Plugin Contributions:
0

Re: Price Sorter - Timeout

I now have a php.ini file in my admin directory with
"max_execution_time = 90" in it. Not sure when/if this is read or if it ever executes.
And,
In my index.php file in the admin directory:
"@set_time_limit(600);"

Still getting the same timeout. Am I doing this correct?
Is there a way to tell whether I have actually over-ridden any server settings?

Thanks...