Forums / Install & configuration / Problem with path

Problem with path

Author Message

Salvatore Guarino

Thursday 29 September 2005 12:03:21 am

I've installed eZ publish on two server using the wizard installation.

in the first case paths are like this:

http://www.mysite.org/index.php/en/weblog

in the second case paths are like this:

http://www.mysite.org/index.php?/en/weblog

The only difference is the question mark: "?".

In which ini file of eZ publish can I modify to force the use of question mark?("?")

Łukasz Serwatka

Thursday 29 September 2005 12:32:14 am

Slavatore, eZ publish detected PHP in CGI mode, so add automatically to your path question mark (?). Reason behind this is that CGI doesn't understand accept-path-info (index/php/en/weblog). I suggest to install PHP as Apache module (mod_php). This will give you also better performance.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Salvatore Guarino

Thursday 29 September 2005 1:31:19 am

Hi Luke,

the problem is that I have installed eZpublish on a server where I cannot edit configuration... On this server doesn't work without question mark and I want to force eZpublish to use it...

Łukasz Serwatka

Thursday 29 September 2005 1:43:26 am

Clear all cache, that should help. Clear var/cache and var/(site)/cache dirs (do not remove storage dir).

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

George Michaelides

Thursday 29 September 2005 1:50:58 am

I have this extact same problem and I believe it breaks the OE when trying to browse for an object.

I don't think the cache deletion will cure this (tried it already) as the ? appears when you run the installer for the first time.

www.jegodesigns.com
www.jegodesigns.eu

Łukasz Serwatka

Thursday 29 September 2005 1:59:02 am

George, Salvatore wants to force eZpublish to use (?) in URL. After all cache clear eZ publish should add ? to all URLS. That will fix his problem.

http://ez.no/community/forum/install_configuration/kernel_20_and_no_access_to_subpages_or_administration_module

http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Salvatore Guarino

Thursday 29 September 2005 2:06:52 am

Thank you Luke!
You are the best! Now the site works!

Thank you very much!

Łukasz Serwatka

Thursday 29 September 2005 2:08:35 am

Perfect! Good to see ;) You are welcome ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

George Michaelides

Thursday 29 September 2005 2:09:17 am

apologies guys - doing too many things at once

my problem is the opposite - want the ? removed.

I'll search the forums.

www.jegodesigns.com
www.jegodesigns.eu

Łukasz Serwatka

Thursday 29 September 2005 2:11:51 am

George, than you will have to change API of your PHP, install it as Apache module (mod_php), more you can find in PHP documentation or try one of hosting partners:
http://ez.no/partner/worldwide_ez_publish_partners/(profile)/hosting

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Thursday 29 September 2005 2:31:37 am

Note: After PHP installation as Apache module (mod_php), just clear all cache, and ? in your URL should gone.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

George Michaelides

Thursday 29 September 2005 3:21:17 am

Lukasz

thanks for this - I'll check with my hosting provider whether it's installed as mod_php or not.

To be honest, the ? doesn't bother me. If it's normal behaviour under the installed PHP type then that's fine; I just thought that something went wrong with the install.

www.jegodesigns.com
www.jegodesigns.eu

eZ debug

Timing: Jan 31 2025 01:17:31
Script start
Timing: Jan 31 2025 01:17:31
Module start 'content'
Timing: Jan 31 2025 01:17:31
Module end 'content'
Timing: Jan 31 2025 01:17:31
Script end

Main resources:

Total runtime0.2071 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9297370.2969
Module start 'content' 0.00630.0148 958.22661,017.6563
Module end 'content' 0.02110.1859 1,975.88283,905.9141
Script end 0.2070  5,881.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00472.2630200.0002
Check MTime0.00140.6559200.0001
Mysql Total
Database connection0.00060.287410.0006
Mysqli_queries0.105550.92811410.0007
Looping result0.00150.74451390.0000
Template Total0.185589.610.1855
Template load0.00070.318210.0007
Template processing0.184889.239310.1848
Override
Cache load0.00040.213010.0004
Sytem overhead
Fetch class attribute can translate value0.00211.030610.0021
XML
Image XML parsing0.00030.132810.0003
General
dbfile0.00552.6653200.0003
String conversion0.00000.002330.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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