Forum

Installation error
 
Notifications
Clear all

Installation error

4 Posts
2 Users
0 Reactions
3,902 Views
(@drubs2010)
Posts: 25
Active Member
Topic starter
 
[#985]

Hello,

I try to install for the first time. I've an error at the admin login. What can I do?

This is the log:

2013-02-26 13:27:20 ===== TRACE ===== magic_quotes_gpc doit être désactivé (positionné à false).
Mettez à jour le fichier Php.ini.
2013-02-26 13:27:20 ===== TRACE =====
2013-02-26 13:27:20 ===== TRACE ===== =====================================
2013-02-26 13:27:20 ===== TRACE =====
2013-02-26 13:27:20 ===== TRACE ===== DataBase actual Version =
2013-02-26 13:27:20 ===== TRACE ===== ProjectOR actual Version = V3.1.4
2013-02-26 13:27:20 ===== TRACE =====
2013-02-26 13:27:20 ** ERROR ** ERROR **
2013-02-26 13:27:20
** ERROR ** on file '/home/cogitoer/public_html/ibmiiste.com/projectorria/db/maintenance.php' at line (238)
2013-02-26 13:27:20
** ERROR ***** cause = set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode

I'm not a php programmer, so I don't know what it want.

I found the Safe Mode in the php.ini and it is off.

Regars,

Olivier.


 
Posted : 26 Feb 2013 15H49
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Your PHP sever is installed in safe mode, so programs are not allowed to change time limit (limit of time to execute a single script) using the set_time_limit command.
As DB update can take few minutes, it is necessary to increase defaut value (30s).
Several other functions also request this update (import, planning calculation, some reports).

You can :
1) comment the set_time_limit command in code and hope 30s will be enought ...
2) comment the set_time_limit command in code and increase time limit value in php.ini
3) disable the safe mode in php.ini (this mode is very controversial..)

Regards.


 
Posted : 26 Feb 2013 16H01
(@babynus)
Posts: 14952
Member Admin
 

Advise : disable the safe_mode (if you can).

This mode is so controversial that it's been deprecated in PHP 5.3, and removed in PHP 5.4.
But some providers continue to use it, as it is an easy way to limit resources on shared servers...


 
Posted : 26 Feb 2013 16H05
(@drubs2010)
Posts: 25
Active Member
Topic starter
 

All right, it runs with putting in comments set_time_limit with hope, 30s is enough for the providers Mavenhosting. Thank you.

Regards,

Olivier.


 
Posted : 26 Feb 2013 16H59
Share:

Scroll to Top