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

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 18 2025 18:22:57
Script start
Timing: Jan 18 2025 18:22:57
Module start 'layout'
Timing: Jan 18 2025 18:22:57
Module start 'content'
Timing: Jan 18 2025 18:22:58
Module end 'content'
Timing: Jan 18 2025 18:22:58
Script end

Main resources:

Total runtime0.9495 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9375152.6250
Module start 'layout' 0.00540.0026 740.562539.4453
Module start 'content' 0.00800.9399 780.0078550.7578
Module end 'content' 0.94790.0015 1,330.765612.1563
Script end 0.9494  1,342.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3241160.0002
Check MTime0.00120.1315160.0001
Mysql Total
Database connection0.00080.080510.0008
Mysqli_queries0.891393.8778600.0149
Looping result0.00060.0626580.0000
Template Total0.915396.420.4577
Template load0.00190.201920.0010
Template processing0.913496.202220.4567
Template load and register function0.00030.033210.0003
states
state_id_array0.00080.086210.0008
state_identifier_array0.00230.245220.0012
Override
Cache load0.00160.1721320.0001
Sytem overhead
Fetch class attribute can translate value0.00070.072520.0003
Fetch class attribute name0.00130.132450.0003
XML
Image XML parsing0.00060.065520.0003
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00070.0789170.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs