Forums / Developer / Whats __1 in url?

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...

eZ debug

Timing: Jan 30 2025 21:32:47
Script start
Timing: Jan 30 2025 21:32:47
Module start 'content'
Timing: Jan 30 2025 21:32:47
Module end 'content'
Timing: Jan 30 2025 21:32:48
Script end

Main resources:

Total runtime0.3191 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.8125370.3047
Module start 'content' 0.00790.0155 958.11721,009.6094
Module end 'content' 0.02340.2956 1,967.72663,898.8984
Script end 0.3190  5,866.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00461.4423200.0002
Check MTime0.00130.4060200.0001
Mysql Total
Database connection0.00070.216610.0007
Mysqli_queries0.224770.40931410.0016
Looping result0.00130.40431390.0000
Template Total0.295092.510.2950
Template load0.00080.260110.0008
Template processing0.294292.194710.2942
Override
Cache load0.00060.173910.0006
Sytem overhead
Fetch class attribute can translate value0.00180.573110.0018
XML
Image XML parsing0.00030.087110.0003
General
dbfile0.00932.9238200.0005
String conversion0.00000.001930.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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