[SOLVED]Update from 2.0.17

Support for IntegraMOD 140

Moderator: Integra Moderator

[SOLVED]Update from 2.0.17

PostAuthor: storm_eagle22 » Sat Apr 29, 2006 8:02 pm

Hello...

I downloaded Im portal 1.40 from the downloads page and installed it. It gave me phpbb version 2.0.17. I tried updating the version first by uploading install/update_to_latest.php, and ran it. It worked fine. However when i replaced the files with the premodded files i could no longer say logged in. My cookies are enabled and it works without using premodded files and just the database changes. When i try to install using easymod i get:

Code: Select all
Critical Error  FIND FAILED] could not find:  $current_time = time(); $expiry_time = $current_time - $board_config['session_length']; // // Try and pull the last time stored in a cookie, if it exists // $sql = "SELECT * FROM " . USERS_TABLE . " WHERE user_id = $user_id"; if ( !($result = $db->sql_query($sql)) ) { message_die(CRITICAL_ERROR, 'Could not obtain lastvisit data from user table', '', __LINE__, __FILE__, $sql); } $userdata = $db->sql_fetchrow($result); if ( $user_id != ANONYMOUS ) { $auto_login_key = $userdata['user_password']; if ( $auto_create ) { if ( isset($sessiondata['autologinid']) && $userdata['user_active'] ) { // We have to login automagically if( $sessiondata['autologinid'] === $auto_login_key ) { // autologinid matches password $login = 1; $enable_autologin = 1; } else { // No match; don't login, set as anonymous user $login = 0; $enable_autologin = 0; $user_id = $userdata['user_id'] = ANONYMOUS; $sql = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . ANONYMOUS; $result = $db->sql_query($sql); $userdata = $db->sql_fetchrow($result); $db->sql_freeresult($result); } } else { // Autologin is not set. Don't login, set as anonymous user $login = 0; $enable_autologin = 0; $user_id = $userdata['user_id'] = ANONYMOUS;                                                $sql = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . ANONYMOUS; $result = $db->sql_query($sql); $userdata = $db->sql_fetchrow($result); $db->sql_freeresult($result); } } else { $login = 1; } } else { $login = 0; $enable_autologin = 0; }  MOD script line #1776 :: FAQ :: Report


I downloaded 2.0.17 to 2.0.19 and thats what i get installing 2.0.17 to 2.0.18. I havent even tried 2.0.18 to 2.0.19...

EDIT* I solved it myself, just manually do the parts that get errors...
Last edited by storm_eagle22 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://wicked.intraero.com/forums/album_mod/upload/2a47f66552acb6426eb746aeb5e25ca6.jpg[/img]
http://www.wicked.intraero.com/forums/portal.php
User avatar
storm_eagle22
Members
Members
 
Posts: 43
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 29, 2006 7:57 pm
Cash on hand: 0.00

Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot], Unspecified Bot