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.

eZ debug

Timing: Jan 18 2025 16:18:15
Script start
Timing: Jan 18 2025 16:18:15
Module start 'layout'
Timing: Jan 18 2025 16:18:15
Module start 'content'
Timing: Jan 18 2025 16:18:16
Module end 'content'
Timing: Jan 18 2025 16:18:16
Script end

Main resources:

Total runtime1.2297 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 591.6797152.6406
Module start 'layout' 0.00470.0050 744.320339.4766
Module start 'content' 0.00971.2185 783.7969636.8203
Module end 'content' 1.22810.0015 1,420.617216.1250
Script end 1.2296  1,436.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2607160.0002
Check MTime0.00140.1110160.0001
Mysql Total
Database connection0.00060.046310.0006
Mysqli_queries1.175695.5982670.0175
Looping result0.00060.0498650.0000
Template Total1.191596.920.5957
Template load0.00180.149720.0009
Template processing1.189696.743220.5948
Template load and register function0.00020.013510.0002
states
state_id_array0.00110.090110.0011
state_identifier_array0.00100.079820.0005
Override
Cache load0.00150.1251290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.051140.0002
Fetch class attribute name0.00110.092570.0002
XML
Image XML parsing0.00120.101440.0003
class_abstraction
Instantiating content class attribute0.00000.001170.0000
General
dbfile0.00080.0662240.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs