Configuration problem?, ie. // in urls

Author Message

Christoph Schneider

Tuesday 14 January 2003 4:13:25 am

Hi,
I have installed eZ publish 3 with demo data under Win2000, Apache 1.3, PHP 4.1 (cgi), MySQL.

When I try to test the software, after the login screen (at http://localhost/ezpublish/ezpublish/index.php) I get "http://localhost/ezpublish/index.php//" as URL and the demo site (? - it says "Site map" and "My folder" on top of the central area). However, all links look like
"http://localhost/ezpublish/index.php//content/view/full/158" and by clicking on them, the same page gets loaded.
Even when I delete one of the two slashes, nothing changes.

I read the included install info, tried to find a solution here at these forums, but everything I found and tried (Apache/PHP/eZ publish configuration) results in no change to the situation (ie. http://developer.ez.no/forum/message/4625).
I have the feeling that there is not only one reason for my problem.

Please give me a hint as to what I should pay attention to.
I will reply to answers within minutes (in the next 6 hours).

Tony Wood

Tuesday 14 January 2003 5:15:33 am

This appears to be similar to http://developer.ez.no/forum/message/13292/ try seeing if any info there helps.

Tony

> Hi,
> I have installed eZ publish 3 with demo data under Win2000,
> Apache 1.3, PHP 4.1 (cgi), MySQL.
>
> When I try to test the software, after the login screen (at
> http://localhost/ezpublish/ezpublish/index.php) I get
> "http://localhost/ezpublish/index.php//" as URL
> and the demo site (? - it says "Site map" and
> "My folder" on top of the central area). However,
> all links look like
> "http://localhost/ezpublish/index.php//content/view/full/158"
> and by clicking on them, the same page gets loaded.
> Even when I delete one of the two slashes, nothing
> changes.
>
> I read the included install info, tried to find a solution
> here at these forums, but everything I found and tried
> (Apache/PHP/eZ publish configuration) results in no change
> to the situation (ie.
> http://developer.ez.no/forum/message/4625).
> I have the feeling that there is not only one reason for my
> problem.
>
> Please give me a hint as to what I should pay attention
> to.
> I will reply to answers within minutes (in the next 6
> hours).

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Christoph Schneider

Tuesday 14 January 2003 6:09:58 am

> This appears to be similar to
> http://developer.ez.no/forum/message/13292/ try seeing if
> any info there helps.

Thank you Tony, http://developer.ez.no/forum/message/12918/ to where your hint lead me seems to be like my problem but it didn't help me so far. I am still trying...

Christoph Schneider

Tuesday 21 January 2003 5:05:06 am

Thank you for your help.

I finally came to the conclusion that it might be worth to try and re-install PHP as a module for Apache instead of using it as CGI. Voilá, whereas I still have the double slashes after the admin login, the application works properly, now. (Well, most of it.)

Have I missed the information, that eZ publish doesn't work with PHP as CGI? If so, I am sorry, but maybe other people will appreciate the information stated again here...

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 30 2025 19:43:45
Script start
Timing: Jan 30 2025 19:43:45
Module start 'layout'
Timing: Jan 30 2025 19:43:45
Module start 'content'
Timing: Jan 30 2025 19:43:45
Module end 'content'
Timing: Jan 30 2025 19:43:45
Script end

Main resources:

Total runtime0.0255 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2578151.2266
Module start 'layout' 0.00540.0041 739.4844220.7188
Module start 'content' 0.00950.0143 960.20311,001.8359
Module end 'content' 0.02390.0016 1,962.039133.9922
Script end 0.0254  1,996.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.8614140.0002
Check MTime0.00114.2931140.0001
Mysql Total
Database connection0.00041.562310.0004
Mysqli_queries0.002911.563130.0010
Looping result0.00000.055210.0000
Template Total0.00114.310.0011
Template load0.00093.395010.0009
Template processing0.00020.862610.0002
Override
Cache load0.00062.412710.0006
General
dbfile0.00135.065980.0002
String conversion0.00000.038440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs