Forums / Install & configuration / Problems upgrading to 3.5

Problems upgrading to 3.5

Author Message

Tim Dickinson

Friday 08 April 2005 9:14:59 am

Hi,

I wanted to upgrade my installation from ezpublish 3.4.1 to 3.5.1, but also am moving hosts, so I upgraded the database to 3.5.1 (that worked fine), and then made a fresh install of ezpublish 3.5.1 on my new hosting account.

I then pointed this fresh installation at my newly updated database.

I have also run the update scripts.

Now, I know the fresh installation recognises my updated database, as I can see all the folders/articles/downloads in both the news and admin interfaces. I can also edit all of these items in the admin interface.

However, the problem is that non of the subitems of folders show up at all in the news siteaccess/design, and when just viewing, although they show up in the admin siteaccess/design - they appear to be empty.

I thought this would be to do with the new is_container in 3.5 - so have run the updateiscontainer.php file for each siteaccess - which seemed to work fine.

Please help...

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Xavier Dutoit

Friday 08 April 2005 9:18:00 am

Have you changed the language ? Having something different than english when doing several things have lead to various things not unlike what you describe.

X+

http://www.sydesy.com

Tim Dickinson

Friday 08 April 2005 9:36:57 am

Thanks for your quick reply,

But, no - I've not not changed the language

UK English the whole time :(

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Lazaro Ferreira

Friday 08 April 2005 4:14:06 pm

Hi,

I would repit the upgrade, following ezp recomendations, that mean updating to 3.4.4 first both the site and the db, then upgrading both to ezp 3.5

We think it is a good ideia to check your upgrade at the end of every subversion, i.e you could check if your 3.4.4 is all ok, before upgrading to 3.5

In order to check it, you should clear all caches, then compile template code in case you need it

Lazaro
http://www.mzbusiness.com

Ekkehard Dörre

Saturday 09 April 2005 3:30:47 am

and you can test your update with:

<i>Before upgrading eZ publish to a newer version, it is important to check that the current installation is ready for upgrading.

Remember to make a backup of the eZ publish directory and the database before you upgrade.
</i>

<b>File consistency check</b>

<i>
The file consistency tool checks if you have altered any of the files that came with the current installation. Altered files may be replaced by new versions which contain bugfixes, new features, etc. Make sure that you backup and then merge in your custom changes into the new versions of the files.
</i>

<b>Database consistency check</b>

<i>
The database consistency tool checks if the current database is consistent with the database schema that came with the eZ publish distribution. If there are any inconsistencies, the tool will suggest the necessary SQL statements that should be ran in order to bring the database into a consistent state. Please run the suggested SQL statements before upgrading.

The upgrade checking tools require a lot of resources and it may take some time to run them.

</i>
Login in your administration,
Setup->Upgrade Check->File consistency check
and
Setup->Upgrade Check->Database consistency check
there you will find the text above.

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Tim Dickinson

Saturday 09 April 2005 6:43:22 am

Thanks for all your replies guys, although things still aren't quite working.

Basically, as I'm moving servers for my site, from somewhere that had php as a CGI to somewhere where PHP is an Apache module, I really do need to do a fresh install of ezpublish, and then point it to my database from before.

After all the replies, I decided to do this in much smaller steps, so I installed ezpublish 3.4.1 on my new server (which is the version my site currently uses). I checked the database consistencies, and they were fine, so I thought this would work.

Anyway, the new installation went fine, I then changed the all the siteaccess settings to point to the database of my old site which I have uploaded to my new server. I then obviously cleared all the caches.

It very nearly works fine. The problem seems to lie in the templates somewhere, as my site works properly in the admin interface, but in the news sitedesign/access folders do not show their sub items. Nevertheless, the left menu does show these folders subitems. I'm a bit confused about that :(

Also, links don't show up properly, in both interfaces, the title and description shows up fine, but the actual link doesn't appear.

Any ideas?

Cheers

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Tim Dickinson

Saturday 09 April 2005 7:05:52 am

OK - I've switched on debug to see if that gives any clues. Here are the errors I get:

<b>Warning: PHP</b>

Undefined variable:  navigationPartIdentifier in /home/primitiv/public_html/kernel/classes/eznodeviewfunctions.php on line 69

Undefined variable:  navigationPartIdentifier in /home/primitiv/public_html/kernel/classes/eznodeviewfunctions.php on line 112

Undefined variable:  navigationPartIdentifier in /home/primitiv/public_html/kernel/classes/eznodeviewfunctions.php on line 120

<b>Warning: eZTemplete</b>

No template could be loaded for "design/news/templates/node/view/listitem.tpl" using resource ""

No template could be loaded for "design/news/templates/node/view/listitem.tpl" using resource ""

No template could be loaded for "design/news/templates/node/view/listitem.tpl" using resource ""

No template could be loaded for "design/news/templates/node/view/listitem.tpl" using resource ""

No template could be loaded for "design/news/templates/node/view/listitem.tpl" using resource ""

listitem.tpl doesn't appear to exist under any of the available designs - so why is it being called?

Any help would be appreciated

Thanks

Tim

<edit>
The PHP error about an undefined variable seems to be a bug that was fixed in ezpublish 3.4.2
http://ez.no/community/bugs/with_debug_enabled_i_am_getting_the_following_error

Also, listitem.tpl is infact a missing template again fixed in 3.4.2
http://ez.no/community/bugs/missing_template_file
</edit>

So I still don't know what the problem is :(

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Ekkehard Dörre

Saturday 09 April 2005 9:23:13 am

all templates have right rights?

These might help:

http://www.ez.no/ez_publish/documentation/configuration/backup_restore/move_to_new_provider
http://www.ez.no/ez_publish/documentation/configuration/backup_restore/overview
http://www.ez.no/ez_publish/documentation/installation/upgrading/upgrading_ez_publish_from_3_a_b_to_3_x_y

http://www.ez.no/ez_publish/documentation/installation/manual_installation/manual_installation_on_a_linux_unix_based_system
http://www.ez.no/ez_publish/documentation/installation/manual_installation/manual_configuration_of_ez_publish

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Tim Dickinson

Saturday 09 April 2005 10:34:49 am

Thanks for your reply again Ekke,

Due to all the missing files etc in 3.4.1, I decided to update to 3.4.2

So almost all the errors are gone in the debug. However, the problem persists. I wasn't planning on moving my old site design across, but I'm going to try that now, and see if I can get the content to show up.

The admin interface shows everything perfectly though - which is the odd part.

Here's the URL if anyone is interested:
http://67.15.145.24/~primitiv/

and just to show that everything does work, but just not showing up. Here is the sitemap - all works ok:
http://67.15.145.24/~primitiv/index.php/plain/content/view/sitemap/2

If anyone has any other ideas, they would be much appreciated.

Thanks,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Ekkehard Dörre

Saturday 09 April 2005 2:58:47 pm

Something wrong with folder, article works:
http://67.15.145.24/~primitiv/index.php/plain/news/steinberg_announces_groove_agent_2

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Tim Dickinson

Sunday 10 April 2005 4:54:52 am

OK - I've narrowed the problem down to a single template file. - templates/full/folder.tpl

This is the default full folder view with a fresh ezp 3.4.2 installation, and it does not show any of my subitems (whether folders/articles/ or custom classes).

By removing thhe override to this file in my siteaccess override.ini.php at least I can now see the subitems - allbeit in the basic (admin) layout.

Cheers

Tim

<edit>
I have now finished customising that full_folder tenplate, and everything is finally working :)
</edit>

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Thomas Thiel

Sunday 29 May 2005 1:40:51 pm

hi,
there is a new checkbox in the classes-forms (setup/classes/content)called container. check this and subitems are allowed again.

greetz