17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 5027 Views |
-
fatal error after install

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 -
Re: fatal error after install

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
-
Re: fatal error after install

19 February 2008 at 2:32pm Last edited: 19 February 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.phpany thoughts?
thanks in advance... -
Re: fatal error after install

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/
-
Re: fatal error after install

20 February 2008 at 12:20am Last edited: 20 February 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.
-
Re: fatal error after install

21 February 2008 at 5:37am Last edited: 21 February 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) -
Re: fatal error after install

21 February 2008 at 11:35am Last edited: 21 February 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.
| 5027 Views | ||
| Go to Top | Next > |

