Need help with install

This mod will register when the user last logged in, allong with the info about how meny users have visited the board

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Need help with install

Postby Nightstalker on Wed 02. Nov, 2005 12:09

has anyone found a fix yet for the following error I get whaen I go to install with EM on 2.0.17

FIND FAILED: In file [includes/sessions.php] could not find:

if (
{// (
$last_visit = (
$sql = "UPDATE " . USERS_TABLE . "
SET

MOD script line #509 :: FAQ :: Report
Nightstalker
Poster
Poster
 
Posts: 18
Joined: Sun 09. Oct, 2005 05:00

Postby ErnadoO on Wed 02. Nov, 2005 12:20

Yes, now, this part is
Code: Select all
   if ( $user_id != ANONYMOUS )
   {
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;

      if (!$admin)
      {
         $sql = "UPDATE " . USERS_TABLE . "
            SET

what becomes with the mod:
Code: Select all
   //if ( $user_id != ANONYMOUS )
   //{
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;

      if (!$admin)
      {
         $sql = "UPDATE " . USERS_TABLE . "
            SET

:wink: :wink:
ErnadoO
Poster
Poster
 
Posts: 14
Joined: Wed 13. Apr, 2005 22:52
Location: France

Postby Nightstalker on Wed 02. Nov, 2005 15:46

Now Im getting this.....

Critical Error

IN-LINE FIND FAILED: In file [templates/subSilver/index_body.tpl] could not find:

rowspan="2"

MOD script line #766 :: FAQ :: Report
Nightstalker
Poster
Poster
 
Posts: 18
Joined: Sun 09. Oct, 2005 05:00

Postby Nightstalker on Wed 02. Nov, 2005 15:54

Just to make sure that I didnt add in the wrong line.Is this the part you mean ?
Couldnt find a exact match for "what becomes with the mod: "

Found this which is closest I could find.

#-----[ FIND ]------------------------------------------------
#
if (
{// (
$last_visit = (

$sql = "UPDATE " . USERS_TABLE . "
SET

#
#-----[ IN-LINE FIND ]----------------------------------------
Nightstalker
Poster
Poster
 
Posts: 18
Joined: Sun 09. Oct, 2005 05:00

Postby ErnadoO on Wed 02. Nov, 2005 16:56

Sorry, i'm french lol

Well, since 2.0.18, this part:
Code: Select all
   if ( $user_id != ANONYMOUS )
   {
   // ( $userdata['user_session_time'] > $expiry_time && $auto_create ) ? $userdata['user_lastvisit'] : (
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;

      $sql = "UPDATE " . USERS_TABLE . "
         SET
(what we must find) is become
Code: Select all
if ( $user_id != ANONYMOUS )
   {
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;

      if (!$admin)
      {
         $sql = "UPDATE " . USERS_TABLE . "
            SET

that gives after the install:
Code: Select all
   //if ( $user_id != ANONYMOUS )
   //{
      $last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;

      if (!$admin)
      {
         $sql = "UPDATE " . USERS_TABLE . "
            SET

It's ok?
Image
ErnadoO
Poster
Poster
 
Posts: 14
Joined: Wed 13. Apr, 2005 22:52
Location: France

Postby Peter77s on Wed 02. Nov, 2005 17:04

Nightstalker: you might as well upgrade to 2.0.18 .... if you notice everyone is talking about the major changes. he is giving you help from the recent 2.0.18 fix. your board is old.
Peter77s
Poster
Poster
 
Posts: 34
Joined: Sat 26. Mar, 2005 19:46

Postby Nightstalker on Wed 02. Nov, 2005 17:20

Id like to upgrade though I have quite a few mods installed and Im not to sure if the upgrade would go clean.Also Im not sure if my webhost has the upgrade yet,will have to have a look in a minute.
Nightstalker
Poster
Poster
 
Posts: 18
Joined: Sun 09. Oct, 2005 05:00

Postby Nightstalker on Wed 02. Nov, 2005 17:25

Just checked my webhost and they arent offering the upgrade as of yet,so Im stuck with 2.0.17 till then.
Nightstalker
Poster
Poster
 
Posts: 18
Joined: Sun 09. Oct, 2005 05:00

Next

Return to Last visit [2.0.10/EM]

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron