Forums / Setup & design / Error 500 at the beginning of installation...

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

eZ debug

Timing: Jan 18 2025 11:39:02
Script start
Timing: Jan 18 2025 11:39:02
Module start 'content'
Timing: Jan 18 2025 11:39:03
Module end 'content'
Timing: Jan 18 2025 11:39:03
Script end

Main resources:

Total runtime0.9330 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 587.8438180.8125
Module start 'content' 0.00860.7485 768.6563641.9141
Module end 'content' 0.75700.1759 1,410.5703337.0547
Script end 0.9329  1,747.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4508210.0002
Check MTime0.00150.1657210.0001
Mysql Total
Database connection0.00100.107610.0010
Mysqli_queries0.841290.16142040.0041
Looping result0.00310.32752020.0000
Template Total0.890895.520.4454
Template load0.00210.226120.0011
Template processing0.888795.248620.4443
Template load and register function0.00020.022910.0002
states
state_id_array0.00160.171310.0016
state_identifier_array0.00130.141520.0007
Override
Cache load0.00180.1940290.0001
Sytem overhead
Fetch class attribute can translate value0.00160.175250.0003
Fetch class attribute name0.00190.203970.0003
XML
Image XML parsing0.00170.185150.0003
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00610.6514350.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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