Cannot redeclare update_whoonline()
Trying to upgrade from 5.21 to 5.5 and I get the following error when I try to upgrade from 5.3 to 5.5
Fatal error: Cannot redeclare update_whoonline() (previously declared in /path/to/album/photo-album/pp-inc.php:4118) in /path/to/album/photo-album/forums/phorum.php on line 479
Album is integrated with phorum (users authentication)
You need to ensure when upgrading you upload all the new required files.
I have uploaded the following files:
1. All *.php in album's root directory exept config-inc.php.NEW, config-int.php.NEW, inc_features.php, and inc_photopost.php
2. nothing for me to upoad in /forums . I use phorum.php wich is not included in zip file (custom integration module)
3. english.php in /languages
4. all *.tmpl that had do be upgraded.
Did I miss something? I have already done that twice.
Thank you for your time
There is your problem. Your using some none standard custom file and you need to alter it.
The following functions need to be removed from your phorum file I think these are the ones
I removed the following functions from phorum.php
and it worked
I did not remove function convert_markups. If I remove it I get an error message.
The problem is that now I get another error
Fatal error: Call to undefined function: get_forum_style() in /path/to/album/photo-album/pp-inc.php on line 562
I had to comment line 562 in pp-inc.php and because I did not get the css loaded I had to add a line in $header in order to load the css file.
Most parts of my album work, but there are many areas that do not work as I get the "get_forum_style()" error in line 3131.
Any ideas on how to fix this problem.
I copied function get_forum_style() from /forums/photopost.php and placed it in /forums/phorum.php and enerything seems to work fine.
I will test the script to make sure that threre are no other problems.
yep new function you needed to add.
|All times are GMT -5. The time now is 09:04 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0