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

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 01:01:44
Script start
Timing: Jan 18 2025 01:01:44
Module start 'layout'
Timing: Jan 18 2025 01:01:44
Module start 'content'
Timing: Jan 18 2025 01:01:45
Module end 'content'
Timing: Jan 18 2025 01:01:45
Script end

Main resources:

Total runtime0.7579 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.0075 588.0469152.6406
Module start 'layout' 0.00750.0045 740.687539.5000
Module start 'content' 0.01200.7445 780.1875559.1563
Module end 'content' 0.75650.0013 1,339.343816.4375
Script end 0.7578  1,355.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4815160.0002
Check MTime0.00160.2118160.0001
Mysql Total
Database connection0.00100.133910.0010
Mysqli_queries0.694291.6064600.0116
Looping result0.00050.0665580.0000
Template Total0.718194.820.3590
Template load0.00250.335820.0013
Template processing0.715594.412520.3578
Template load and register function0.00010.013610.0001
states
state_id_array0.00130.167610.0013
state_identifier_array0.00110.143220.0005
Override
Cache load0.00230.3026380.0001
Sytem overhead
Fetch class attribute can translate value0.00060.073420.0003
Fetch class attribute name0.00130.167860.0002
XML
Image XML parsing0.00100.137120.0005
class_abstraction
Instantiating content class attribute0.00000.002580.0000
General
dbfile0.00170.2199230.0001
String conversion0.00000.001040.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/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs