TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 18, 2024, 08:43:00 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 112
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

Upgrade SMF 1.1rc2 and TP 0.8.6

Started by adnan, September 19, 2006, 09:07:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adnan

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 ?

G6Cad

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.

adnan

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;


Xarcell

trying deleting them, then upload the Rc3 lan files. Then proceed...

adnan

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 :( ?