eZ Community » Forums » Setup & design » Problem with wrong URL route...
expandshrink

Problem with wrong URL route appearing all over

Problem with wrong URL route appearing all over

Wednesday 18 May 2011 8:35:46 pm - 4 replies

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.

Wednesday 18 May 2011 11: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

Thursday 19 May 2011 3:23:36 am

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.

Thursday 19 May 2011 4:55:25 am

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.

Thursday 03 November 2011 6:55:00 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.

To close this and tag it as solved:

 

This last issue was made because we had the main logo image changed in the directory, not in the design tab. After restoring the image this got solved, we the edited again the logo but using the design tab and the problem was finally solved.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from