Forum Support

Shape 5
March 28, 2024, 10:23:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 'Fatal error: Allowed memory size' - Installing Demo Content  (Read 1008 times)
mtish
Jr. Member
**
Offline Offline

Posts: 26



« on: February 07, 2013, 09:14:26 PM »

I'm getting this error at the last stage of the installation process.  Any suggestions would be appreciated.
Michael
---------------------------------------------------------
word press

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 31457280 bytes) in /home/<my domain>/public_html/wp-admin/s5_sample_data/sampledata.php on line 840
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: February 08, 2013, 11:31:25 AM »

Has this happened multiple times?  It may be possible to break the sample data into smaller segments if your server can't handle dumping that much to the database at one time; but you might be able to just drop the tables in the database and try again.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mtish
Jr. Member
**
Offline Offline

Posts: 26



« Reply #2 on: February 08, 2013, 02:47:35 PM »

How do I do an incremental install?  Will this method install all pages and posts?  And if not how do I get it to look identical to the demo?
Logged
mtish
Jr. Member
**
Offline Offline

Posts: 26



« Reply #3 on: February 08, 2013, 02:49:34 PM »

If it would be easier...  I do have whm and cpanel control of the server, if you happen to know what Apache, or PHP or SQL  setting to change?

Michael
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #4 on: February 08, 2013, 03:09:14 PM »

You could possibly just increase the allowed memory per operation for PHP and see if that fixes it.  If not, I may be able to tweak the code for you to make it break the data injection into smaller segments (all in the background, it would "feel" the same in the browser, the code running on the server would just happen in smaller batches).
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mtish
Jr. Member
**
Offline Offline

Posts: 26



« Reply #5 on: February 08, 2013, 04:15:42 PM »

Yes please.  If you could help  break the data injection into smaller segments that might do the trick.  I did try to increase the memory size but I got the same results in the same place (sampledata.php on line 840).

Please let me know what to do next on my side.

Thank you very much.
Michael
Logged
mtish
Jr. Member
**
Offline Offline

Posts: 26



« Reply #6 on: February 11, 2013, 06:07:32 PM »

Hi Tristan - No need to create a special install package for me for this item.  I appreciate your offer.  I moved servers and the problem 'magically' went away.  So I'm up and running now.

Worth noting for future readers (and for yourself), I think the challenge had to do with machines running mysql-lite versus regular mysql!

Thanks again for your continued support,
Michael
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #7 on: February 11, 2013, 06:16:45 PM »

Thanks for the update, sorry I didn't get back to you sooner; I've been sick the last few days and avoiding the computer screen because it makes my headache worse.

I never would've thought about SQLite, but that makes perfect sense.  I'll have to remember that in the future if anyone else has a similar issue.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.