Forums / Install & configuration / Error 500 Internal server error, and the URLs in EZP

Error 500 Internal server error, and the URLs in EZP

Author Message

jose rubio

Sunday 21 September 2003 2:01:06 pm

I get this error trying to access de user or admin sites, not during installation.

In my system: CGI php 4.3.3 with apache 1.3.27, I have dicovered that the cause is the way the url are formed.
Any url with the form

www.site.com/script.php/something.

causes error 500, so EZP causes error 500 on all the links. If i use script.pgp?/something (note the ?) I do not get error 500

The cause behind this is unknown for me. (Maybe something related with CGI?) With Apache module it goes OK, but in my remote server with Ensim I cannot use module

On other site hosted in modwest.com (mtbcomprador.com) the server not causes error 500 but all the links are broken. Try
http://www.mtbcomprador.com/index.php/ghg

Any idea about the cause?

Bård Farstad

Monday 02 February 2004 11:59:28 pm

The reson for this is that eZ publish does not support PHP running in CGI mode. There are some patches available in this forum, but we do not guarantee that it will work.

--bård

Documentation: http://ez.no/doc

Gustave Stresen-Reuter

Monday 12 July 2004 9:25:07 am

Thanks for the info that CGI is not supported. Could you go into any detail as to why it is not supported? My guess is that eZ Publish needs some sort of unrestricted access to the file system or Apache and in CGI mode, PHP runs as it's own user (usually quite separate from the rest of the system) while running as a module, it shares Apache's user.

Finding a resolution would be very helpful as many hosting providers will only run PHP as a module in safe mode (useless, I think, or can eZ Publish run fine in safe mode?).

Ted Stresen-Reuter

eZ debug

Timing: Jan 18 2025 21:03:36
Script start
Timing: Jan 18 2025 21:03:36
Module start 'content'
Timing: Jan 18 2025 21:03:37
Module end 'content'
Timing: Jan 18 2025 21:03:37
Script end

Main resources:

Total runtime1.1365 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9609180.8047
Module start 'content' 0.00520.9849 768.7656571.7109
Module end 'content' 0.99010.1464 1,340.4766332.7500
Script end 1.1365  1,673.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4000210.0002
Check MTime0.00170.1526210.0001
Mysql Total
Database connection0.00060.055910.0006
Mysqli_queries1.061393.38081960.0054
Looping result0.00210.18071940.0000
Template Total1.107797.520.5539
Template load0.00200.172420.0010
Template processing1.105797.288920.5529
Template load and register function0.00010.011010.0001
states
state_id_array0.00170.153710.0017
state_identifier_array0.00100.092320.0005
Override
Cache load0.00160.1408200.0001
Sytem overhead
Fetch class attribute can translate value0.00150.133740.0004
Fetch class attribute name0.00100.092340.0003
XML
Image XML parsing0.00120.105240.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00780.6890280.0003
String conversion0.00000.000430.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs