Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

fatal error after install


Go to End


9 Posts   6087 Views

Avatar
livvving

Community Member, 9 Posts

19 February 2008 at 12:17pm

can you tell me what I need to do to get this error gone?

url:
http://MYSITE.com/skyht/home/successfullyinstalled?flush=1

(there is no "home" directory!)

message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4980736 bytes) in /tmp/silverstripe-cache-home-MYUSERNAME-public_html-skyht/cache.php on line 4

Avatar
(deleted)

Community Member, 473 Posts

19 February 2008 at 1:04pm

Increase your PHP memory limit.

This can be done by adding ini_set('memory_limit', '64M'); to sapphire/main.php

Avatar
livvving

Community Member, 9 Posts

19 February 2008 at 2:32pm

Edited: 19/02/2008 2:44pm

thanks - whereabouts in the main.php file do I add this?

I did have php_value memory_limit 32M
in the .htaccess file, so I increased it to 64mb.

I then got this error:

Installing SilverStripe...

I am now running through the installation steps (this should take about 30 seconds)

If you receive a fatal error, refresh this page to continue the installation

Creating 'mysite/_config.php'...
Creating '.htaccess' file...
Building database schema...

Warning: fopen(/tmp/silverstripe-cache-home-USERNAME-public_html-skylt/manifest_home_USERNAME_public_html_skylt_sapphire_main.php) [function.fopen]: failed to open stream: Permission denied in /home/USERNAME/public_html/skylt/sapphire/core/ManifestBuilder.php on line 188
Cannot write manifest file! Check permissions of /tmp/silverstripe-cache-home-USERNAME-public_html-sklt/manifest_home_USERNAME_public_html_skylt_sapphire_main.php

any thoughts?
thanks in advance...

Avatar
(deleted)

Community Member, 473 Posts

19 February 2008 at 5:00pm

If you increase it elsewhere, you don't need the line in main.php

To fix your error, trying removing all the files (or even the folder) in /tmp/silverstripe-cache-home-USERNAME-public_html-skylt/

Avatar
livvving

Community Member, 9 Posts

20 February 2008 at 12:20am

Edited: 20/02/2008 2:11am

re:
/tmp/silverstripe-cache-home-USERNAME-public_html-skylt/

this url is confusing - there is no tmp folder except outside of the www folder, and there's nothing in there that has silverstripe in the name.

I'd have thought the url should be /tmp/silverstripe/cache/home/USERNAME/public_html/skylt/ but even that makes no sense....unless its outside of the folder I have access to. Thinking about it, I think I have access only from /home/USERNAME/public_html/skylt/ up, although that doesn't explain the use of "-" instead of "/"

I have access via FTP and CPanel only, and am on a shared server.

I really want to get this going as I have a potential client who would love it.

Avatar
livvving

Community Member, 9 Posts

21 February 2008 at 5:37am

Edited: 21/02/2008 5:40am

my webhost increased the memory limit to 64mb for me using a php.ini file

but I still get this error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4980736 bytes) in /tmp/silverstripe-cache-home-MYSITE-public_html-skylt/cache.php on line 4

when I go to the site's home folder in my browser.

I can't check the cache.php file as there isn't one! I've checked via ftp and there is no cache.php file! Odd.
(checked www/skylt/ folder)

Avatar
livvving

Community Member, 9 Posts

21 February 2008 at 6:18am

weird! It's up now!

Avatar
clem75

Community Member, 1 Post

21 February 2008 at 11:35am

Edited: 21/02/2008 11:58am

hi

i've tried installing silverstripe myself and am getting similar error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 232 bytes) in /home/australo/public_html/ppaccueil/sapphire/forms/LookupField.php on line 44

i've tried increasing the memory size in _config.php to 64mb to no avail.

thanks for any assistance

-----

GOT IT WORKING SOMEHOW. CHEERS.

Go to Top