17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 15022 Views |
-
Fatal error while installing SilverStripe

13 January 2008 at 12:25pm
The following problem appears if I try to install silverstripe on my webserver (external hosted):
- DB check says: "These database details look all good!"
- The other requirmenets are shown green (good) as wellBut after some seconds the following message appears:
-----
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...Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19 bytes) in /home/mydomain/public_html/silverstripe/sapphire/core/Object.php on line 251
-----
If I try do refresh the page as the program says to me, the following message appears:
-----
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...Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 43790 bytes) in /home/mydomain/public_html/silverstripe/sapphire/profiler/Profiler.php on line 81
-----
If I try to refresh once more, the message doesn't change anymore. Keeps saying this.
I've never had problems installing other CMS system on this server; so what could the problem be like?
Thanks for help!
-
Re: Fatal error while installing SilverStripe

13 January 2008 at 12:32pm
You're memory limit is not high enough.
Put this in your .htaccess file:
php_value memory_limit 64M
-
Re: Fatal error while installing SilverStripe

14 January 2008 at 1:12am
Thanks, but 64M doesn't seems do be enough.
It installed it but after the installation I recevied the following error:
-----
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7864320 bytes) in /var/tmp/silverstripe-cache-home-mydomain-public_html-silverstripe/cache.php on line 4
-----Maybe it works better with 128M ;)
-
Re: Fatal error while installing SilverStripe

14 January 2008 at 1:15am
That would be quite a lot... Should tell the developers to keep it down before it grows outta hand.
-
Re: Fatal error while installing SilverStripe

14 January 2008 at 1:25am
Jah, 128M would be a lot, but it really seems at it already could need 78M or more as you can see in my error log.
-
Re: Fatal error while installing SilverStripe

14 January 2008 at 2:21am
Jeeeezus! That's a lot! There must be something wrong with your configuration / database / or the silverstripe itself...
-
Re: Fatal error while installing SilverStripe

13 May 2008 at 12:04am Last edited: 13 May 2008 12:13am
Hi!
I have exactly the same problem:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in C:\xampp\xampp\htdocs\silverstripe\sapphire\misc\Browscap.php on line 339
and also no idea what to do. The interesting thing is that the excess is only 35 - 40 bytes. I´using WIN 2003, Apache 2 with PHP 5 / mySQL 5. It is not a browser issue; I tried it in FF and IE.
The install.php sets up the database correctly with all tables but does not enter any table content.
MOST interesting thing is that it seems to work anyway! I just entered http://localhost/silverstripe and got the login screen. Login works, I´m in.
I´ll keep you updated!
-
Re: Fatal error while installing SilverStripe

13 May 2008 at 5:45am
Hi,
I also had this problem when installing on http://www.fullgospel.org.nz/, but anyway after installation and above memory error occured I just typed in the home page url and haven't had any problems since.
Increased Memory size in PHP.ini on the server, but this won't do anything even after restarting apache.
cheers,
| 15022 Views | ||
| Go to Top | Next > |




