Forums / Setup & design / Problem with wrong URL route appearing all over

Problem with wrong URL route appearing all over

Author Message

Luis Delgado

Wednesday 18 May 2011 11:35:46 am

Hi.

We are having a pretty strange issue here and need advice.

When we first installed EZ Publish /Ez Flow we did it in a subdirectory /sub/

We then move it live so we made Rewrite Rules to dissapear /sub/ on URL and changed all settings under site.ini to remove /sub/ etcetera etcetera

Everything went almost fine.

But now after MONTHS from that we are having some problems as EZ will scramble caches and is looking for /sub/  all the time while trying to look for javascripts and some other personalized modules, so they wont load.

I have some theory:

1. We began using APC and Fast CGI.

2. We have a new designer and I think he is missing the /sub/ in the route to the files.

3. We are having cache problems (this is for sure) as sometimes the site wont show the last content. Somehow he is taking this subdomain from somewhere. All SITE.INI files have correct URL not showing the subdirectory at all (with no /sub/) as we dont want this subdirectory to show on the site.

4. Additionaly we are unable to modify the Design Appereance  (in Admin /Design/Appeareance) when we click on Send for Publishing we will have a 500 error server error.

So things are getting somehow complicated for us right now... we need some help to know where to look at.

Help. Thank you.

Cheers

GOOD 4 ALL

André R.

Wednesday 18 May 2011 2:52:45 pm

Might be enough to edit your site settings and fix path there*, or you might have to have a look in the ezcontentobject_attribute table and use a like query to see if there are any data with the sub path in it.
Then either way clear all cache using the purge option on ezcache.php 

* /content/edit/54/f/eng-GB

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

Luis Delgado

Wednesday 18 May 2011 6:23:36 pm

André,

Thanks for youyr help. All paths in site.ini are without /sub/... Im thinking about rewrites?? maybe??

Entering in the frontend with ezflow will open the admin URL as example.com/sub/ this has happened always... 

If you close it it will send you to principal.

But for java scripts and images included in custom codes for banners for example I will have to place the /sub/ so that it is recognized.

I used the included .htaccess and added rewrites to / so to dont show the /sub/... maybe Im missing something there.

Either way I will try deleting the whole /cache directory in var and ez_flow (as I had already cleared cache via EZ Admin interface with no luck) and recompile template to see results and I'll post it back here tomorrow.

Thank you.

Cheers

GOOD 4 ALL

Luis Delgado

Wednesday 18 May 2011 7:55:25 pm

Well... seems part of it has been solved clearing the whole cache directory under ez flow...(forcing to recompile template)...

The part I cant solve is the Design Tab / Appearance edit, Im unable to save it (and repair some footer javascript)... looks like the cursor will spin until it is timed out. Watching CPU it will get it to 98% so whole site will freeze while this is trying to be saved.

No error in the log files... at least not for this issue.

Cheers

GOOD 4 ALL

eZ debug

Timing: Jan 17 2025 22:38:07
Script start
Timing: Jan 17 2025 22:38:07
Module start 'content'
Timing: Jan 17 2025 22:38:08
Module end 'content'
Timing: Jan 17 2025 22:38:08
Script end

Main resources:

Total runtime0.9056 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.9922180.8203
Module start 'content' 0.00700.7679 769.8125564.2500
Module end 'content' 0.77490.1306 1,334.0625337.0547
Script end 0.9055  1,671.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4410210.0002
Check MTime0.00150.1689210.0001
Mysql Total
Database connection0.00110.118610.0011
Mysqli_queries0.824190.99601970.0042
Looping result0.00200.21561950.0000
Template Total0.871496.220.4357
Template load0.00220.247120.0011
Template processing0.869195.969720.4346
Template load and register function0.00020.017710.0002
states
state_id_array0.00160.173810.0016
state_identifier_array0.00080.093620.0004
Override
Cache load0.00190.2043380.0000
Sytem overhead
Fetch class attribute can translate value0.00210.234630.0007
Fetch class attribute name0.00120.134660.0002
XML
Image XML parsing0.00280.314330.0009
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00550.6068340.0002
String conversion0.00000.000930.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs