URLs /content/view/full instead of item name after upgrade

Author Message

paul bolger

Wednesday 11 August 2010 3:33:01 pm

I've upgraded a client's site to 4.3 (from 4.2) and now all the internal links have changed to /content/view/full etc. A side effect of this is that ez can't find any images.

Any help would be much appreciated.

Paul Bolger

Jérôme Vieilledent

Saturday 14 August 2010 1:48:11 am

Hi Paul

Did you try to run the updateniceurls.php script ?

php bin/php/updateniceurls.php

paul bolger

Saturday 14 August 2010 2:14:46 am

Hi Jérôme,

Thanks. I tried that and it seemed to fix that problem - although I had to edit and re-publish some of the items to get the urls to update.

There seems to be an underlying issue though: embedded images in content don't seem to work.

I'm getting this error:

Warning: XML output handler: embed Aug 14 2010 17:39:22
Can't fetch object #102

in debug for every embedded image.

I've tried fixing the var directory permissions, substituted a new version of the database and tinkered with the site.ini.append.php files, but with no luck so far.

I've also lost 'link' and 'feedback_form' in my left menu (in the front end, but not in admin) - even though they are enabled in both siteaccesses in contentstructuremenu.ini.append.php.

The thing I don't get is what's changed. Everything was working fine until a few days ago. The only change I've really made was adding an extension called adminaid, which threw a couple of autoload errors when I activated it. But my problems didn't go away when I got rid of it.

I'm on the verge of giving up and doing the upgrade again from scratch. But I don't like leaving problems like this unresolved.

Paul Bolger

Jérôme Vieilledent

Saturday 14 August 2010 3:19:54 am

About the image problem, I guess that they're located in the media section. You might have a permission problem with this section. Take a look at security policies for anonymous user.

About the left menu icons, maybe you have an INI override of contentstructuremenu.ini. You can check this in Setup/INI Settings.

Then, try to purge all the cache (with --purge option)

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 18 2025 11:09:05
Script start
Timing: Jan 18 2025 11:09:05
Module start 'layout'
Timing: Jan 18 2025 11:09:05
Module start 'content'
Warning: PHP: E_DEPRECATED Jan 18 2025 11:09:06
trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/ze/public_html/share.se7enx.com/var/community/cache/template/compiled/table-02cf899a6d707917c58210ed54ffe2ff.php on line 147
Timing: Jan 18 2025 11:09:06
Module end 'content'
Timing: Jan 18 2025 11:09:06
Script end

Main resources:

Total runtime0.8677 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1719152.6563
Module start 'layout' 0.00550.0034 740.828139.5078
Module start 'content' 0.00890.8574 780.3359565.6250
Module end 'content' 0.86620.0014 1,345.960912.3047
Script end 0.8676  1,358.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3758160.0002
Check MTime0.00130.1476160.0001
Mysql Total
Database connection0.00100.116010.0010
Mysqli_queries0.798291.9901600.0133
Looping result0.00070.0761580.0000
Template Total0.835096.220.4175
Template load0.00200.231220.0010
Template processing0.833096.004720.4165
Template load and register function0.00010.013110.0001
states
state_id_array0.00090.098510.0009
state_identifier_array0.00100.119520.0005
Override
Cache load0.00180.2046350.0001
Sytem overhead
Fetch class attribute can translate value0.00070.076720.0003
Fetch class attribute name0.00100.114560.0002
XML
Image XML parsing0.00110.124620.0005
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00100.1100230.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezxmltags/td.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/td.tplEdit templateOverride template
2content/datatype/view/ezxmltags/tr.tpl<No override>extension/community/design/community/templates/content/datatype/view/ezxmltags/tr.tplEdit templateOverride template
1content/datatype/view/ezxmltags/table.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/table.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 10

Time used to render debug report: 0.0001 secs