error when trying to upgrade

Upgrade from 7.0.9 to 7.1

 

I used the cumulative patch

 

After applying upgrade I get following message :

 

Fatal error: Call to a member function isAvatarSearchAllowed() on a non-object in /home/onderweg/public_html/login/inc/classes/BxDolProfileFields.php on line 1183


How to fix this ?

Quote · 4 May 2013

Most probably that 'sys_objects_member_info' table is not exist or empty.

Another reason is that 'sys_member_info_thumb' option from 'sys_options' table is missing or have incorrect value.

It means that update was not applied correctly or was not completed.

Rules → http://www.boonex.com/terms
Quote · 6 May 2013

Hi ALexT,

 

I did it twice and I got the same error twice. Followed the manual step by step, so I don't know where it went wrong.

 

After I got the error message, I imported the 'sys_objects_member_info' table into my database but then I got the fatal error message about the avatars.

Quote · 6 May 2013

Are you running memcache by chance ? or any caching system for that matter ?

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 6 May 2013

Please could you provide error message you've got during upgrade ? 

I did it twice and I got the same error twice.

 

Rules → http://www.boonex.com/terms
Quote · 7 May 2013

Upgrade error :

 

7.1.0.B2-7.1.0 Update can not be applied  
7.0.9-7.1.0.B1 Update can not be applied  
7.1.0.B1-7.1.0.B2

Update can not be applied

 

When I go to my URL www.onderweg.be/login I get error as seen in attachment.

upgrade error.jpg · 66.9K · 226 views
Quote · 7 May 2013

 

Upgrade error :

 

7.1.0.B2-7.1.0 Update can not be applied  
7.0.9-7.1.0.B1 Update can not be applied  
7.1.0.B1-7.1.0.B2

Update can not be applied

 

When I go to my URL www.onderweg.be/login I get error as seen in attachment.

 your missing the member info table again..

CREATE TABLE IF NOT EXISTS `sys_objects_member_info` (

  `id` int(11) NOT NULL AUTO_INCREMENT,

  `object` varchar(32) NOT NULL,

  `title` varchar(255) NOT NULL,

  `type` varchar(32) NOT NULL,

  `override_class_name` varchar(255) NOT NULL,

  `override_class_file` varchar(255) NOT NULL,

  PRIMARY KEY (`id`)

) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

 

INSERT INTO `sys_objects_member_info` (`object`, `title`, `type`, `override_class_name`, `override_class_file`) VALUES

('sys_username', '_sys_member_info_username', 'name', '', ''),

('sys_first_name', '_sys_member_info_first_name', 'name', '', ''),

('sys_first_name_last_name', '_sys_member_info_first_name_last_name', 'name', '', ''),

('sys_last_name_firs_name', '_sys_member_info_last_name_firs_name', 'name', '', ''),

('sys_headline', '_sys_member_info_headline', 'info', '', ''),

('sys_status_message', '_sys_member_info_status_message', 'info', '', ''),

('sys_age_sex', '_sys_member_info_age_sex', 'info', '', ''),

('sys_location', '_sys_member_info_location', 'info', '', ''),

('sys_avatar', '_sys_member_thumb_avatar', 'thumb', '', ''),

('sys_avatar_icon', '_sys_member_thumb_icon_avatar', 'thumb_icon', '', '');

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 7 May 2013

also make sure your permissions for your cache folders permissions are at 777,

looking at your about page shows your cache is messed up.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 7 May 2013

I cleared my cache and tmp before the upgrade. How can it get messed up then 

Quote · 7 May 2013

And yes, the member info table is missing again. Don't know why, because I followed every step of the instructions.

Besides, when I insert this member info table into my database, I get the error I mentioned in my first post. THe fatal error about the avatars.

Quote · 7 May 2013

So I inserted the sys_objects_member_info table in the database and now I get this error :

 

Fatal error: Call to a member function isAvatarSearchAllowed() on a non-object in /home/onderweg/public_html/login/inc/classes/BxDolProfileFields.php on line 1183

Quote · 7 May 2013

Looks like your database is corrupted somehow, now your contact page is showing another database entry is missing,

Table '*****_new.sys_objects_captcha' doesn't exist
                    [host] => localhost
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 7 May 2013

 

I cleared my cache and tmp before the upgrade. How can it get messed up then 

 As stated above too, are you using a cache system? If so turn it off in the database.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 7 May 2013

Newton, cache and cache_public are part of the script, why should I turn them off ?

Quote · 8 May 2013

Since no one seems to know the answer and since my site is offline for 2 days now, just showing a database error, I'm going to do it my way : install a clean 7.0.9 version, import my existing database into it and then try to upgrade again. That way I'm not going to lose any data and maybe I'll have the newest version after that.

 

So frustrating ...

Quote · 8 May 2013

 

Newton, cache and cache_public are part of the script, why should I turn them off ?

 To help determine, and of course they are part of the script, and set for "File" default.

I'm asking you to un tick all the cache options for troubleshooting your site.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 8 May 2013

 

import my existing database into it and then try to upgrade again.

 If your going to do this, remember to backup all the data for avatars, photos, music, etc... in the modules directories them self.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 8 May 2013

lol, I think I have 10 backups in the meantime :-)

Quote · 9 May 2013

 

lol, I think I have 10 backups in the meantime :-)

 I'm sure... just needed to say, just in case. Laughing

Good luck with the restore

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 9 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.