Forums / Install & configuration / Cannot access http://localhost/ezpublish/index.php/whatever. "No input file specified"

Cannot access http://localhost/ezpublish/index.php/whatever. "No input file specified"

Author Message

John Hollister

Thursday 12 February 2004 4:53:38 pm

1. my environment: Winbook Z1, Windows 2000, Apache 1.3, PHP 4.3.4 CGI, eZpublish 3.3-3.

2. The eZpublish setup wizard tells me to set "AcceptPathInfo On" in httpd.conf. However, (1)AcceptPathInfo is used in Apache 2, not 1.3, and (2)The installation manual states "Currently, only the Apache web server is supported; the latest version of the 1.3 branch should be used. Version 2.0 works, but it has not been fully tested."

3. PATH_INFO is enabled by default in Apache 1.3, however, PHP 4.3.4 does not report it properly. Refer to the following tests:

test script - foo.php:
<?
echo "<br/><br/>PATH_INFO: " . $_ENV['PATH_INFO'];
?>

test URL - http://localhost/foo.php :
got: PATH_INFO: /foo.php
expected: <empty>

test URL - http://localhost/foo.php/bar :
got: No input file specified.
expected: /bar

4. After installing eZpublish using the setup wizard, electing to ignore the AcceptPathInfo test (can't use it for Apache 1.3), and following the directions in the building.pdf document to install a Plain site, I find that I can't access either the User site (http://localhost/ezpublish/index.php/plain) or the Admin site (http://localhost/ezpublish/index.php/plain_admin). My browser displays "No input file specified" in both cases.

5. I've searched the php bug site and can't find anything covering PHP, Apache 1.3, and PATH_INFO problems.

Does anyone know how to get eZpublish working in this environment?

Thanks in advance.

John Hollister

Vidar Langseid

Friday 13 February 2004 4:12:44 am

eZ publish dosen't support PHP running as CGI at the moment

Best regards,
Vidar

ashok ashok

Wednesday 14 April 2004 1:54:58 am

i have download and installed ezpublish-3[2].3-4.zip.I installed it on my
local machine. After installing ezpublish had showed two links i.e user
site(http://localhost/ezpublish/index.php/corporate) and admin site
(http://localhost/ezpublish/index.php/corporate_admin). But When i clicked
to these url it shows me "page cannot be displayed".Did i missed something
to install or should i have not make changes in some configure file.What
should i do to make these links runnable.
I am using
1)Apache 2.0 (installed on c:\apache\)
2)Php4.3.5 (Installed on c:\php\)
3)mysql 4.0.18 (Installed on c:\mysql\)

I have also set the Acceptpathinfo on in my httpd.conf file Here is the
code

 
<Files ~ "^\.ht"> 
    Order allow,deny 
    Deny from all 
AcceptPathInfo On 
</Files> 
<Directory "C:/apache/Apache2/manual"> 
    Options Indexes 
    AllowOverride None 
    Order allow,deny 
    Allow from all 

    <Files *.html> 
        SetHandler type-map 
        AcceptPathInfo On 
    </Files> 

    <Files ~ "\.php$"> 
    AcceptPathInfo On 
    </Files> 
     

    SetEnvIf Request_URI ^/manual/de/ prefer-language=de 
    SetEnvIf Request_URI ^/manual/en/ prefer-language=en 
    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr 
    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja 
    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko 
    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru 
    RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ 
/manual/$1$2 
</Directory> 


But still It links are not working. Please tell me where i have done
mistake.Please give me comments/soultion as soon as possible .It is very Urgent

Thanks
Ashok

eZ debug

Timing: Jan 19 2025 04:43:58
Script start
Timing: Jan 19 2025 04:43:58
Module start 'content'
Timing: Jan 19 2025 04:43:59
Module end 'content'
Timing: Jan 19 2025 04:43:59
Script end

Main resources:

Total runtime0.6682 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.0073 589.5625180.7734
Module start 'content' 0.00730.5552 770.3359521.8906
Module end 'content' 0.56250.1057 1,292.2266337.4297
Script end 0.6682  1,629.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.6112210.0002
Check MTime0.00140.2162210.0001
Mysql Total
Database connection0.00110.163410.0011
Mysqli_queries0.602890.20681960.0031
Looping result0.00170.24711940.0000
Template Total0.640995.920.3204
Template load0.00190.284620.0010
Template processing0.639095.616020.3195
Template load and register function0.00010.015110.0001
states
state_id_array0.00100.143510.0010
state_identifier_array0.00070.102420.0003
Override
Cache load0.00160.2455450.0000
Sytem overhead
Fetch class attribute can translate value0.00140.210440.0004
Fetch class attribute name0.00110.164830.0004
XML
Image XML parsing0.00060.084440.0001
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00180.2765210.0001
String conversion0.00000.001230.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
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/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: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs