Error in adding language key during Upgrade

I got this error when I use the upgrade script from Dolphin-Patch-v.6.1.5

Quote · 8 May 2009

I also receive this erro...  Please help ASAP!!!!  My site is completely down and I need to get this fixed immediately!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Quote · 8 May 2009

Check your database LocalizationKeys table for the following entries under key (Will probably be near the end):

_Dolphin Smart Community Builder
_BoonEx Community Software Experts
_software for online dating sites, communities and social network

Then if those exist, look in the LocalizationStrings table for the following entries under string (Will probably be near the end):

Dolphin Smart Community Builder
BoonEx Community Software Experts
software for online dating sites, communities and social network

If those are there, then edit the upgrade.php file from this:

foreach ($aLangKeys as $sKey => $sValue) {
if (!addStringToLanguage($sKey, $sValue, -1, 1)) {
echo "Error in adding language key";
exit;
}
}

to this:

/* foreach ($aLangKeys as $sKey => $sValue) {
if (!addStringToLanguage($sKey, $sValue, -1, 1)) {
echo "Error in adding language key";
exit;
}
} */

...and run the script again.

This seems to occur if the keys already exist in the database.

If you get a SQL upgrade error, change the line that looks like this:

execSqlFile(BX_DIRECTORY_PATH_ROOT . 'sql/upgrade.sql');

to this:

// execSqlFile(BX_DIRECTORY_PATH_ROOT . 'sql/upgrade.sql');

...and run again.

These errors seem to occur if the upgrade was partially successful, but not fully.

If you have the SQL error, it would be a good idea to examine the upgrade.sql file, and make sure that all of the changes in it were made. (Or have someone do it for you)

Quote · 9 May 2009

Ok, I did as instructed and now I receive the following browser error:

Fatal error: Call to undefined function getwmode() in /home/gsmithjr/public_html/ray/modules/global/inc/content.inc.php on line 107

Quote · 9 May 2009

Ooops forgot to add in the email:

Database error in GoZoKo
Query:
INSERT INTO `GlParams` VALUES('t_Share_Media_subject', 'Someone from GoZoKo shared media with you', 4, '', 'text', '', '', NULL);

Mysql error:
Duplicate entry 't_Share_Media_subject' for key 1

Found error in file /home/gsmithjr/public_html/inc/utils.inc.php
at line 685. Called db_res function
with erroneous argument #0

Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/gsmithjr/public_html/inc/utils.inc.php
[line] => 685
[function] => db_res
[args] => Array
(
[0] => INSERT INTO `GlParams` VALUES('t_Share_Media_subject', 'Someone from GoZoKo shared media with you', 4, '', 'text', '', '', NULL);
)

)

[2] => Array
(
[file] => /home/gsmithjr/public_html/upgrade.php
[line] => 27
[function] => execSqlFile
[args] => Array
(
[0] => /home/gsmithjr/public_html/sql/upgrade.sql
)

)

)


Called script: /upgrade.php

Request parameters:
Array
(
[ZP_CAL] => \'fdow\':null,\'history\':\"2009/05/11/15/11\",\'sortOrder\':\"asc\",\'hsize\':9
[__utma] => 58368060.582498855427578100.1241727045.1241835615.1241881999.11
[__utmc] => 58368060
[__utmz] => 58368060.1241806956.6.2.utmcsr=oneview.com|utmccn=(referral)|utmcmd=referral|utmcct=/tags/index.jsf;jsessionid=0fe2d95b2118ae0311c6f3f28011e552
[_csuid] => 49f9e81a4b735325
[memberID] => 2
[memberPassword] => 1f92cc4314f273c5a3b29e15e0ea75d7
[adminID] => admin
[adminPassword] => 1f92cc4314f273c5a3b29e15e0ea75d7
[__utmb] => 58368060.2.10.1241881999
)


--
Auto-report system

Quote · 9 May 2009

I also have this problem.

Quote · 10 May 2009

If you have underlinks in the footer like;

_Dolphin Smart Community Builder
_BoonEx Community Software Experts
_software for online dating sites, communities and social network

 

...then simply go to admin, settings, language and next to english flag ckick on "compile"

Nurke

Quote · 10 May 2009

No, I don't have it.

Quote · 14 May 2009

@Sonnarinternet  Thank you VERY much, your clear instructions fixed this error for me.

Quote · 28 May 2009
 
 
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.