Forums / Setup & design / URLs /content/view/full instead of item name after upgrade
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
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:
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.
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)