![]() ![]() |
Mar 5 2009, 06:17 PM
Post
#1
|
|
|
Beginner ![]() Group: Members Posts: 3 Joined: 23-April 08 Member No.: 21,108 |
Hi,
First, sorry for my bad english, you can see my original message in french at the end of this message. I just install openX on my server, but I have trouble. The user interface is very slow and some sections don't load as Website & zones sections. I have check my logs on server and saw that problem came from /lib/smarty/Smarty_Compiler.class.php, more precisely when he call preg_match() function. Error log : "PHP Fatal error: Maximum execution time of 30 seconds exceeded in mypath/lib/smarty/Smarty_Compiler.class.php on line 445" I search on this forum but find nothing on that problem. Someone have idea to resolve that ? Server config: debian 4 apache 2 mysql 5 php 5.2.0 (compiled manualy) openX 2.6 French version : Je viens d'installer openX sur mon serveur, seulement j'ai un petit soucis. L'interface est longue à charger et surtout certaines partie n'arrive pas à s'afficher, notamment les pages permettant de définir les zones de diffusion des publicités. En vérifiant les logs du serveur j'ai constaté que le problème venait du fichier /lib/smarty/Smarty_Compiler.class.php, plus précisemment quand il fait appel à la fonction preg_match(). Error log : "PHP Fatal error: Maximum execution time of 30 seconds exceeded in mypath/lib/smarty/Smarty_Compiler.class.php on line 445" J'ai pas mal cherché sur ce forum avant de poster pour essayer de trouver un post se rapprochant de mon problème, mais sans succès. Si vous avez une idée d'ou ça peut venir, je suis preneur |
|
|
|
Mar 6 2009, 11:35 AM
Post
#2
|
|
|
Mentor ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 7,442 Joined: 17-June 08 From: Poznan, Poland Member No.: 21,806 |
Hi,
Welcome to the OpenX community forums! The error you are having is: QUOTE Error log : "PHP Fatal error: Maximum execution time of 30 seconds exceeded in mypath/lib/smarty I suggest to increase these values in the php.ini file: QUOTE max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 64M |
|
|
|
Mar 6 2009, 12:53 PM
Post
#3
|
|
|
Beginner ![]() Group: Members Posts: 3 Joined: 23-April 08 Member No.: 21,108 |
Thanks for your answer Michal,
I have these values in my php.ini : max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 128M But when openX detect php memory_limit during install, he show "unlimited" |
|
|
|
Mar 9 2009, 06:00 PM
Post
#4
|
|
|
Beginner ![]() Group: Members Posts: 3 Joined: 23-April 08 Member No.: 21,108 |
Hi,
Finaly I resolved my problem. I just upgraded php from 5.2.0 to 5.2.6 I noticed that PCRE Libraby version changed from 6.7 to 7.6 Maybe the problem came from this lib. |
|
|
|
![]() ![]() |