Error 500 at the beginning of installation...

Author Message

Francis Poézévara

Tuesday 14 August 2007 10:32:31 am

Hello world,

I have a problem when installing eZ publish. I uploaded all the files on the server, but when I try to see the index.php, it shows "500 : Internal server error"... I tried to change the rights of the files, but can't get it work.

Do you have any idea plz ?

thx

Greg McAvoy-Jensen

Friday 17 August 2007 5:51:14 pm

I recommend checking your Apache error log, and then reposting your message, along with anything you learn from the error log, on the Installation and Configuration forum rather than this one.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Francis Poézévara

Monday 20 August 2007 11:33:28 am

Here is the log of the discussion with the webhost admin :

Selina Brown: Your script located at <A id=L2352189625865111366 onclick="window.open('http://www.mail-archive.com/php-bugs@lists.php.net/msg33826.html'); return false;" href="javascript:void(0);">http://www.mail-archive.com/php-bugs@lists.php.net/msg33826.html is using more memory.
Selina Brown: Hence, you are getting that error message.
Selina Brown: According to you this the xml file you are using more memory and the size is 2KB.
Selina Brown: Our engineer has increased the maximum memory limit for your account as 32MB.
Selina Brown: Please check your scripts and modify them so that it uses less resources.
Selina Brown: There is only one xml file in your account which is at htdocs/upload/extension/ezpaypal/package.xml.
Selina Brown: To resolve your issue you need to modify your scripts so that it uses less resources.

Some Guy

Wednesday 29 August 2007 5:33:00 pm

32mb may not be enough, i would use a minimum of 64mb for ezpublish, however your shared web host may not like that.
you could try overwriting the memory_limit php value with .htacess, something like
php_value memory_limit 64M
of course your web host may have overrides disabled.

Bruce Morrison

Wednesday 29 August 2007 6:38:15 pm

Interestingly eZ actually sets the memory limit to 42M if it is set to less than this.

From index.php

$memLimit = ini_get( 'memory_limit' );
if ($memLimit != '')
{
    switch ( $memLimit{strlen( $memLimit ) - 1} )
    {
        case 'G':
            $memLimit *= 1024;
        case 'M':
            $memLimit *= 1024;
        case 'K':
            $memLimit *= 1024;
    }
    if ( $memLimit != -1 && $memLimit < 44040192) /* 42*1024*1024 */
    {
        @ini_set( 'memory_limit', '42M' );
    }
}

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.