Hi
it's been a while since I've upgraded my gallery (was 1.4.x) so I decided to do the update.
done everything as usual. but for some reason I kept getting errors after the installation was completed and I couldnt open any page.
I couldn't open the admin page getting this error:
Fatal error: Class 'Zenpage' not found in /zp-core/zp-extensions/zenpage/zenpage-admin-functions.php on line 10
and as a visitor:
Fatal error: Call to undefined function printRSSHeaderLink() in /home/alriya2/public_html/photography/themes/zpgalleriffic_v1.4/header.php on line 68
I know this is an unsupported theme but just a pointer would help.
or should I just restore my site from my backup?
thanks
Comments
`printRSSHeaderLink()` is part of the rss plugin. So enabling that should fix it. The theme apparently does not check that.
Everything is in fact in place since I simply deleted all old files and uploaded the new ones.
what would be the correct permission number and on what folders?
http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/
Also please review your server logs. You also might have a compatibility issue with PHP.
Otherwise I can only suggest to re-upload the whole install again in case anything screwed via ftp.
in all cases, wither the pages load or not, I get many warning messages on the page. these are a few messages:
Warning: Invalid argument supplied for foreach() in ***/zp-core/lib-auth.php on line 560
Warning: Cannot modify header information - headers already sent by (output started at ***/zp-core/lib-auth.php:560) in ***/index.php on line 150
Warning: preg_match() expects parameter 2 to be string, array given in ***/zp-core/functions-i18n.php on line 479
Warning: strip_tags() expects parameter 1 to be string, array given in ***/zp-core/template-functions.php on line 32
any thoughts?
Also if you use any third party plugins please remove them and try then.
You said you upgraded from 1.4.x. What version was it exactly? You shouldn't have had any problem with 1.4.7 or newer (note that version umbering changed afterwards a bit). But if you had an earlier version I have to suggest step by step upgrades.
I did the step by step upgrade but I faced those issues mentioned.
I've also tried to change the theme from the crippled admin center to a default theme but same warning messages and unloaded pages.
I also dont recall adding any 3rd party plugins but I cannot load the plugins page anyways.