Share » Forums » Install & configuration » Upgrade 3.8.6 to 4.0 problems with URL-s

Upgrade 3.8.6 to 4.0 problems with URL-s

Upgrade 3.8.6 to 4.0 problems with URL-s

Sunday 17 February 2008 10:50:40 am - 13 replies

Modified on Sunday 17 February 2008 10:52:33 am by Mariusz Bułkowski

Author Message

Łukasz Serwatka

Monday 18 February 2008 6:43:26 am

Cześć,

What charset (check in settings/override/i18n.ini.append.php) do you use?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Mariusz Bułkowski

Monday 18 February 2008 9:25:00 am

Witam,

settings/override/i18n.ini.append.php

<?php /* #?ini charset="iso-8859-1"?

[CharacterSettings]
Charset=utf-8
*/ ?>

Portable Ultrasound http://www.draminski.com

Radek Kuchta

Wednesday 20 February 2008 6:23:06 am

Hi,

I have a question about update from 3.10.0 to 4.0
As we know we should run updeteniceurl script. With preview version of manual (upgrade from 3.9.x to 3.10.0) we can read, that updateniceurl.php scrip should be run only once (if we are using the same database for all siteaccess).
When I'm reading manual for upgrading from 3.10.0 to 4.0 I can't find any information about how many times run that script.
Can you tell me something about this point?

... I have updated my site form 3.10.0 to 4.0 and I have the same problem as Mariusz has:

Error:
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 338, falling back to generated url entries. Run updateniceurls.php to fix the problem.

updateniceurls.php doesn't help me :(

http://ez.no/certification/verify/272582

Mariusz Bułkowski

Thursday 21 February 2008 1:56:41 pm

Strange error :(
I can't find remedy :(

I have in tree:

HOME / Products / <b>Moisture Meters</b> / <blah blah blah names of products >

If i can't open some node in admin siteacces i have error:
The requested page could not be displayed. (20)
But if I open from popup menu :
Advanced -> Manage URL Aliases i see URL:

HOME / Products / <b>Izmeriteli-Vlazhnosti</b> / <blah blah blah names of products >

Izmeriteli-Vlazhnosti = Moisture Meters but in other language

If i deleted all translations of :"Moisture Meters" and i still have <b>Izmeriteli-Vlazhnosti</b>

Very very Strange error :(

Portable Ultrasound http://www.draminski.com

Łukasz Serwatka

Monday 25 February 2008 12:53:18 am

Hi,

This error can triggered when you are trying display $node.url_alias in language that does not exist. Take a look on eZURLAliasML::fetchPathByActionList() which uses eZContentLanguage::prioritizedLanguages(). It might be wrong INI configuration for site.ini.[RegionalSettings].SiteLanguageList[]

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Pål Messenlien

Tuesday 26 February 2008 1:28:45 pm

I have the same errors on a site installed as ezp4. The error happend when i started using short_title in articles. And the strange part is that it happends only on older articles. The site is upgraded with eZ flow database update, and i have gone thru the site settings and cant find anywhere that might cause this. If i edit a older article and add content to short_title i get this printed in debug:

The parent ID 234 of element with ID 258 does not point to the last entry which had ID 244, incorrect path would be calculated, aborting
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 223, falling back to generated url entries. Run updateniceurls.php to fix the problem.

I have tried running updateniceurls on the siteacces without any luck. What i notice is that when i add the short_title im also getting that content as the url.

It dont happend making a new article, so it has to be something thats happend since the update to ez flow maybe?

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

Pål Messenlien

Tuesday 26 February 2008 2:25:49 pm

After some more digging and debugging here i found where the problem comes from. I noticed i got some error on the folder that the article was placed.

The parent ID 234 of element with ID 260 does not point to the last entry which had ID 244, incorrect path would be calculated, aborting.
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 205, falling back to generated url entries. Run updateniceurls.php to fix the problem.

Since updaterulrs didnt fix a thing i just tried to move the article someplace else. Then it worked again. So the problem is the parent node in the firstplace. Try moving the troubled article and see if it fixes anything.

This thing scares me thinking that im about to update a huge site to ezp4.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

Mariusz Bułkowski

Tuesday 26 February 2008 11:23:06 pm

<b>Łukasz</b> - I corected SiteLanguageList and now i don't have errors.

"failed to fetch path of node 190, falling back to generated url entries. Run updateniceurls.php to fix the problem."

"Dziękuję"

But errors " The requested page could not be displayed. (20)" still happen.

I tested metod <b>Pål Messenlien</b>.
After moved node somwhere i don't have error. <b>Thanx</b> <b>Pål Messenlien</b>

 

 

Portable Ultrasound http://www.draminski.com

Pål Messenlien

Tuesday 26 February 2008 11:54:27 pm

Good to hear it worked out for you also. What i am afraid of now is do i have many of these buggy folders in my site. I didnt notice the error before i changed some of the content or added something new. This bug should be adressed to eZ. But im not sure how to adress it since it seems like a random problem.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

Mariusz Bułkowski

Thursday 28 February 2008 2:53:57 am

If you want I can send my php script.
It makes for all nodes :
-remember place
-move somwhere
-move to remember place

Portable Ultrasound http://www.draminski.com

Pål Messenlien

Thursday 28 February 2008 3:20:47 pm

Thanks that would be helpfull. I got 4-5 Ezp 3.8* sites that needs to be upgraded to 4.0 soon. Ive sent you a message now so you get my mail adress.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

infolox GmbH

Tuesday 08 April 2008 5:39:08 am

Probably this is related to issue http://issues.ez.no/IssueView.php?Id=12829. See also topic: http://ez.no/developer/forum/developer/problems_with_the_tree_url_aliases_paths

Ismael Ruiz

Wednesday 16 April 2008 11:45:20 am

Hi,

I want to ungrade from 3.9.0 to 3.10.

I have followed the tutorial and the are several php scripts wich havent'run.

1. php bin/php/updateniceurls.php -s example
--> Using siteacces site_name for nice url update
Total update 0/0

2.php update/common/scripts/3.10/updatemultioption.php -s example
-->Can't initialize database connection

3.php update/common/scripts/3.10/updatetipafriendpolicy.php -s example_admin -l login -p password
-->Fatal error: Call to undefiened function: mysql_escape_string() in var/www/.../lib/ezdb/classes/ezmysqldb.phpon line 817

4.Cearing the cache
--> I can't login on the web site and also not on the admin interface

The messages are like this:
You do not have permission to access this area

Can somebody tell me how to fix the problem?

THX

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

36 542 Users on board!

Forums menu