Maximum execution time exceeded with mysqli

11 years 3 weeks ago #64101 by volschin
first congratulation for the release of the 1.2RC.

I tried to install on a small test site and didn't got it working. During the installation I got an timeout error. A script running such a long time would prevent installing it on a lot of hoster sites.

Installation Process:

Fatal error: Maximum execution time of 240 seconds exceeded in D:\xampp\joomla153\administrator\components\com_comprofiler\library\cb\cb.database.php on line 836

Any ideas how to fix this?

Post edited by: volschin, at: 2008/06/01 22:20
11 years 3 weeks ago #64147 by nant
I am pretty sure that the read me file addresses this.

Also, the documentation provides alternate installation means for those with extra problems.

quote from the readme.txt file:

- Maximum Execution time reached:
On very slow servers, IF installation timeouts (not seen yet): you
can fix that as follows: Open file:
- joomla 1.0/mambo: administrator/index2.php
- joomla 1.5: administrator/index.php
and add line
set_time_limit( 240 );
right after the <? line, remove directories components/com_comprofiler
and administrator/components/com_comprofiler and re-install.

- Memory exhausted error (sometimes Error 500):
Joomla 1.5 with legacy ON and FTP layer ON on PHP 4.x may give error
Memory exhausted if memory limit is 8 Megabytes. In that case, simply
switch legacy plugin to OFF just for the CB 1.2 RC installation, then
you can switch it back to ON if needed. Or add line (similarly as above):
ini_set( 'memory_limit', '16M' ); @ini_set( 'memory_limit', '32M' );

11 years 3 weeks ago #64215 by volschin
It's not a problem of slow server, Quadcore for exclusive use should be enough with the Joomla sample data. :evil:

But leggro1, who had the same proble found the workaround. Setting the database type from mysqli to mysql solves the installation problem. :)

So it seems to be a problem between CB and the mysqli database driver.
11 years 3 weeks ago #64227 by beat

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Moderators: beatnantkrileon
Time to create page: 0.409 seconds
Facebook Twitter Google LinkedIn