Problem after upgrading to 7.1.1 __wap_attached__

Dear all, I have a problem with my site. After I upgraded it from D7.1.0 to D7.1.1 all the user profile photos have started showing "__wap_attached__" line along on top of them. Check the attachment for details. Kindly assist. Thank you.

__wap_attached___.jpg · 23.6K · 307 views
Quote · 14 Mar 2013

You may want to search your Lang file (langs/lang-en.php) for "__wap_attached__" or "_wap_attached_" to see if there was an issue with that entry.

Typically when I see something like that the Lang file is the first thing I check. The problem is almost always there.

Good Luck!

Jessica

Quote · 15 Mar 2013

Do you have The WAP module from esase?

https://www.deanbassett.com
Quote · 15 Mar 2013

Yes I do have that installed. So what should I do?

Quote · 15 Mar 2013

Contact the developer for a fix. Or remove it until you can get it fixed.



https://www.deanbassett.com
Quote · 15 Mar 2013

The file was replaced.. Do your file edit again..

Quote · 15 Mar 2013

 

The file was replaced.. Do your file edit again..

 Which file ??

Quote · 16 Mar 2013

 

Contact the developer for a fix. Or remove it until you can get it fixed.



 Thanks will do that..

Quote · 16 Mar 2013

   3. Open the templates/base/scripts/BxBaseFunctions.php
        a. find this code line:

            'usr_thumb_title0' => $sUserTitle,

          add this code line below:

            'wap_attached' => ( $sType == 'medium' || ($sType == 'small' && $bCouple) ) ? $this -> getWapAttachment($iId) : null,

        b. find this code line:

                function BxBaseFunctions() {

            add these code lines above:

                /**
                 * Function will check latest profile's greetings;
                 *
                 * @param  : $iProfileId (integer);
                 * @return : (text) html presentation data;
                 */
                function getWapAttachment($iProfileId)
                {
                    bx_import('BxDolInstallerUtils');

                    // check greetings module;
                    if( BxDolInstallerUtils::isModuleInstalled('wap') ) {
                        return BxDolService::call('wap', 'get_thumbnail_attachment', array($iProfileId));
                    }

                    return;
                }

 

That is what I did and all fixed.. Anytime you update.. Watch what files got updated when you get mods with file edits in them..

Quote · 16 Mar 2013

Thanks a lot for a wonderful help . Will try that out.

Quote · 16 Mar 2013

 

Thanks a lot for a wonderful help . Will try that out.

 Un the upgrade that file was replaced.. So you will have to re-edit it and then upload to the server.. Then you problem will be solved..

Quote · 16 Mar 2013

 

 Un the upgrade that file was replaced.. So you will have to re-edit it and then upload to the server.. Then you problem will be solved..

 Sure will keep that in mind.. Now everything is fine, thanks..

Quote · 18 Mar 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.