Whats __1 in url?

Author Message

Nicklas Lundgren

Wednesday 07 June 2006 1:17:57 am

Hi,

Has anyone of you heard of this problem before:

We have several sites in the same database. Every site is placed in a folder. The folders are named like "site1", "site2", "site3" and so on. All of these folders reside directly under the system root folder, with node id 2.

Now, one would expect that the URL:s to the sites would be:
www.domain.se/site1/
www.domain.se/site2/
and so on.

This is the case for all but one of the sites. This singel site is named:
www.domain.se/__1/

What is this __1? Where does it come from? How can we get the right siteaccess name back into the url?

System:
Version: 3.8.0 (3.8.0)
SVN Version: 15859

All feedback is appreciated!

Kind regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Marc Boon

Wednesday 07 June 2006 12:41:37 pm

__1 and __2 etc are normally appended to urls when different nodes in the same directory have the same name, and thus would have the same url alias (nice url).

Tony Wood

Wednesday 07 June 2006 12:46:05 pm

Anybody know of a way short of modifying the DB to change remove these when you remove the original name class.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Benjamin Lemoine

Tuesday 20 June 2006 7:53:09 am

Is there somebody who found a solution ???

because I have this problem on the main node and i can't remove it...

Thanks

J-A Eberhard

Tuesday 20 June 2006 12:47:56 pm

Have you tried the update/common/scripts/updateniceurls.php scripts?

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Benjamin Lemoine

Wednesday 21 June 2006 1:36:38 am

No results with the script :(

Using siteaccess xxx for nice url update
   Starting updates for MAIN NODE, 45 nodes
   .............................................
   Updated 0/45 for MAIN NODE

need help please :'(

J-A Eberhard

Wednesday 21 June 2006 1:49:53 am

I would try the followings:
- Rename this node to something else
- Delete the archived version of this node having the previous name (as well as anything that had this name at anytime in this location - like a node having now a new name but that still have an archived version having the old name)
- Once I'm sure that the desired name has no match under this location, rename the node to the desired name.
Cheers..

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Benjamin Lemoine

Wednesday 21 June 2006 3:46:31 am

I've tryed the followings :

- renaming the main node (with the problem)
- deleting archived versions of all the nodes in the content tree
- verifying that all nodes name hasn't match
- clearing the cache
- renaming the main node again

Without results :( The __1 is still present.

I think the solution would be reinstalling eZ but I can't.
I will have to continue with...

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 31 2025 00:37:45
Script start
Timing: Jan 31 2025 00:37:45
Module start 'layout'
Timing: Jan 31 2025 00:37:45
Module start 'content'
Timing: Jan 31 2025 00:37:45
Module end 'content'
Timing: Jan 31 2025 00:37:45
Script end

Main resources:

Total runtime0.0233 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0156151.1953
Module start 'layout' 0.00510.0034 739.2109220.6563
Module start 'content' 0.00850.0135 959.86721,005.8984
Module end 'content' 0.02200.0013 1,965.765637.9922
Script end 0.0233  2,003.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3674140.0002
Check MTime0.00114.5870140.0001
Mysql Total
Database connection0.00062.740210.0006
Mysqli_queries0.00229.486830.0007
Looping result0.00000.038810.0000
Template Total0.00104.310.0010
Template load0.00073.163310.0007
Template processing0.00031.092610.0003
Override
Cache load0.00052.186210.0005
General
dbfile0.003013.045780.0004
String conversion0.00000.030740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs