After running install.php, everything goes fine for MartPlug install until the very last module (104).
I'm seeing the following error message in /var/log/apache2/error.log:
[Mon Dec 12 15:45:50 2011] [error] [client 10.0.0.8] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/profiles/martplug/modules/features/martplug_sample_content/martplug_sample_content.features.content.inc on line 10415, referer: http://10.0.0.9/install.php?profile=martplug&locale=en&op=start&id=1
Although I don't think this is a DB issue, I'm using this command to grant mysql privileges:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON martdb5.* TO 'drupaluser'@'localhost' IDENTIFIED BY 'drupalpass';
note I have changed my memory limit in /etc/php5/apache2/php.ini to 160M, I've also attached a screenshot of what I see when it fails.
thanks for any help!
Noles
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | martplug_installation.pdf | 712.38 KB | bisonbleu |
| Screen shot 2011-12-12 at 3.24.05 PM.png | 156.09 KB | noles |
Comments
Comment #1
recidive commented@noles, your server seems to be running a bit slow. Can you increase max_execution_time on your php.ini?
http://www.php.net/manual/pt_BR/info.configuration.php#ini.max-execution...
The way we create sample content is being memory and process intensive, it looks like images and text are being all loaded into memory when being created. This doesn't affect runtime. So you can move these settings back to their original values after installing.
Thanks.
Comment #2
noles commentedIncreased max_execution to 580, and no luck, Then I increased the variable to 1580 in which case the martPlug profile was able to install. Thanks for the help here recidive team!
Comment #5
user654 commented.
Comment #6
bisonbleu commentedI also kinda got stuck at 104 but decided to wait... Eventually, the installation made it to 105 and then 106 (100%). But then I ended up on a white page. Reloading didn't change anything. I was able to load the home page but the images don't show. See attachment.
Moving around the website, I got the following errors
I'm not able to log in, that part of the installation process never occured.
Comment #7
bisonbleu commentedI was able to complete the installation after changing php.ini settings as follows:
FROM
max_execution_time = 30
max_input_time = 60
memory_limit = 96M
TO
max_execution_time = 360
max_input_time = 60
memory_limit = 128M
The only apparent problem: the product images are not displayed...
Comment #8
bisonbleu commentedThe fix for invisible product images after installation is...
As per the following issue: http://drupal.org/node/1320292#comment-5367960
Comment #9
recidive commented@bisonbleu, great to hear you got this installed. Sorry about the hassle.
We are working to fix those install issues, and lowering memory consumption during install.
For working around the images issue, go to the dashboard click "Remove sample content" and then re-add them using the "Enable sample content" link.
Marking this one fixed as the problems described here are already filed as separate issues.
Comment #10
bisonbleu commentedHey recidive. As far as I'm concerned, no hassles whatsoever. Experimentation is an integral part of learning. What really needs to said here is thanks for a great project! And thank you for sharing it!