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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Fatal error: Allowed memory size (What happen? )


Go to End


14 Posts   10949 Views

Avatar
lenwood

Community Member, 18 Posts

27 January 2008 at 12:31pm

I did create the database. When I plug all of the appropriate info into the install page SS gives the note "These database details look all good!" in the MySQL Database section.

When I hit http://www.site.com/db/build?flush=1 I get a 404.

Error 404 Not Found (File does not exist: /home/htdocs/db/build)

I'm not sure if this is related or not, but I do get a warning that SS can't tell if .htaccess, /mysite/, /tutorial/ and /assets/ are writeable. I've set the folder permissions to 777, but I don't have access to the .htaccess since this is a shared server.

Thanks,
Chris

Avatar
quicked

Community Member, 32 Posts

27 January 2008 at 12:50pm

if there is not a file called .htaccess on your web root then create one.

verify you have php5 (upload a file with <?php phpinfo(); ?>)

Try reinstall (check the box that says OK to rewrite....)

Avatar
lenwood

Community Member, 18 Posts

27 January 2008 at 5:17pm

There is an .htaccess in the root folder, with 777 permissions. That's not the one that the installer is talking about though. The installer is saying that it can't determine whether or not it has permissions for /htdocs/.htaccess.

The server is running PHP 5.2.

I've tried reinstall a number of times, each with the same result.

I'm going to try installing SS on another shared account that I have to determine if this is something specific to NearlyFreeSpeech.

Thanks very much for your help quicked.

Avatar
lenwood

Community Member, 18 Posts

27 January 2008 at 5:51pm

Well that's two strikes for me, my second attempt on another shared host (site5) halted because that server is running PHP 4.4.7. Dang.

I just took a second look at my first install attempt (on NearlyFreeSpeech.net) and noticed that the server passes the 'memory allocation' check. Why would it pass that check and then fail with a memory size error?

Thanks,
Chris

Avatar
quicked

Community Member, 32 Posts

27 January 2008 at 10:59pm

htdocs is your web root

When i got the memory error I found it had installed anyway.

If not, other threads talk about how to increase your memory limit.

Have you tried to install it locally?

Avatar
lenwood

Community Member, 18 Posts

28 January 2008 at 8:51am

I've created an account over at Dreamhost. Here's hoping that once my domain name resolves I'll have SilverStripe up and running within minutes.

Go to Top