TinyPortal
Development => Support => Installation => Topic started by: adnan on September 19, 2006, 09:07:01 PM
Hello ,
I used SMF 1.1rc2 and tp 0.8.6 .
I want to upgrade it !
I extract SMF 1.1 RC3 - update in my host and all files replace the old files ! but I got this error for update :
The upgrader found some old or outdated language files.
Please make certain you uploaded the new versions of all the files included in the package, even the theme and language files for the default theme.
I'm sure that language files and themes files updated !
both of languages ( persian and english )
Also I delete persian files and change default language to english but the problem doesn't solve .
It has this problem beacuse of tiny Portal installed ?
The error is because the language files are not for the version you upgrade to.
Alway when you upgrade, you set the forum to the default values in every way ( default installes)
Then proceed with the upgrades and THEN you put in the things you want, such as languages, mods and so on.
Quote from: Mrs G6 on September 19, 2006, 09:29:35 PM
The error is because the language files are not for the version you upgrade to.
Alway when you upgrade, you set the forum to the default values in every way ( default installes)
Then proceed with the upgrades and THEN you put in the things you want, such as languages, mods and so on.
I uploaded all files which into update package in my host!
all language files have this tilte :
// Version: 1.1 RC3;
trying deleting them, then upload the Rc3 lan files. Then proceed...
Quote from: Xarcell on September 20, 2006, 05:28:04 AM
trying deleting them, then upload the Rc3 lan files. Then proceed...
I did it but The problem doesn't solve !
I look code of upgrade.php and I see it check /Themes/default/languages/index.english.php
$temp = substr(@implode('', @file($boarddir . '/Themes/default/languages/index.' . (isset($_GET['lang']) ? $_GET['lang'] : basename($language, '.lng')) . '.php')), 0, 4096);
preg_match('~(?://|/\*)\s*Version:\s+(.+?);\s*index(?:[\s]{2}|\*/)~i', $temp, $match);
if (empty($match[1]) || $match[1] != SMF_LANG_VERSION)
{
echo '
<div class="error_message">
The upgrader found some old or outdated language files.<br />
<br />
Please make certain you uploaded the new versions of all the files included in the package, even the theme and language files for the default theme.<br />
<br />
<a href="', $_SERVER['PHP_SELF'], '?step=0">Click here to try again.</a>
</div>';
index.english.php updated and I don't know what's problem :( ?