Forums / Setup & design / Siteaccess and wrong default path

Siteaccess and wrong default path

Author Message

David Zaoui

Tuesday 19 June 2007 4:59:45 am

Hi everybody,

I made a copy of my existing ez publish site on a new server. The problem is that all links are wrong : in fact my site url is http://mysite/~mysite/index.php/ but it seems that the default path ( the one which can be obtained via the "|ezurl" operator) is http://mysite/index.php/ .

I do't know how to make http://mysite/~mysite/index.php/ the default path, i checked the site.ini.append settings for the siteaccess of my front site and i've got this line :

SiteURL : http://mysite/~mysite/index.php/

So i dont understand it is not the default path.

What must i do?

Thank you

André R.

Tuesday 19 June 2007 5:01:44 am

Cleared all cache ?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

David Zaoui

Tuesday 19 June 2007 5:17:06 am

Hi André,

I don't know how to clear the cache i can't display the admin site.
When i go to http://mysite/~mysite/index.php/intranet_admin, the user login interface is displayed, but without any image or css style, and when i want to log in, the system redirects me to the following page :http://mysite/index.php/intranet_admin (which is not the good path);

André R.

Tuesday 19 June 2007 5:36:12 am

From the doc:

Step 5: Clearing the caches

Whenever an eZ Publish solution is upgraded, all caches must be cleared in a proper way. This should be done from within a system shell:

1.
Navigate into the eZ Publish 3.9.1 directory.
2.
Run the clear cache script:

bin/shell/clearcache.sh --clear-all

Please make sure that all caches are cleared. Sometimes the script is unable to clear caches because of restrictive file/directory permission settings. Make sure that all caches have been cleared by inspecting the contents of the various cache subdirectories within the "var" directory.

Alternatively you can clear it by 'brute force' by deleting content inside cache folders in var folder.

Default install:
var/cache/
var/'site name'/cache/

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eZ debug

Timing: Jan 18 2025 19:28:01
Script start
Timing: Jan 18 2025 19:28:01
Module start 'content'
Timing: Jan 18 2025 19:28:01
Module end 'content'
Timing: Jan 18 2025 19:28:02
Script end

Main resources:

Total runtime0.1784 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.7344180.8281
Module start 'content' 0.00570.0056 768.562597.8828
Module end 'content' 0.01130.1670 866.4453526.3281
Script end 0.1783  1,392.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.1917200.0002
Check MTime0.00181.0024200.0001
Mysql Total
Database connection0.00070.370510.0007
Mysqli_queries0.129072.30141410.0009
Looping result0.00150.86511390.0000
Template Total0.166593.310.1665
Template load0.00080.463510.0008
Template processing0.165692.850010.1656
Override
Cache load0.00060.321110.0006
Sytem overhead
Fetch class attribute can translate value0.00100.577310.0010
XML
Image XML parsing0.00030.146310.0003
General
dbfile0.00191.0376200.0001
String conversion0.00000.003230.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.0002 secs