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

Comments

recidive’s picture

@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.

noles’s picture

Status: Active » Fixed

Increased 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

user654’s picture

Status: Closed (fixed) » Active

.

bisonbleu’s picture

StatusFileSize
new712.38 KB

I 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

Warning: file_get_contents(sites/all/libraries/autopager/jquery.autopager-1.0.0.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1472 of /Applications/MAMP/htdocs/martplug/includes/locale.inc).

Autopager jquery plugin in not loaded.

I'm not able to log in, that part of the installation process never occured.

bisonbleu’s picture

I 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...

bisonbleu’s picture

The fix for invisible product images after installation is...

You can fix this by going to the dashboard and removing and re-enabling sample content.

As per the following issue: http://drupal.org/node/1320292#comment-5367960

recidive’s picture

Status: Active » Fixed

@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.

bisonbleu’s picture

Hey 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.