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.

Archive

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

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

Fatal error: Allowed memory size (What happen? )


Reply

14 Posts   8973 Views

Avatar
lenwood

27 January 2008 at 12:31pm Community Member, 18 Posts

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

27 January 2008 at 12:50pm Community Member, 32 Posts

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

27 January 2008 at 5:17pm Community Member, 18 Posts

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

27 January 2008 at 5:51pm Community Member, 18 Posts

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

27 January 2008 at 10:59pm Community Member, 32 Posts

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

28 January 2008 at 8:51am Community Member, 18 Posts

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.