undefined index error after update from 1.1.4 to 1.1.5

undefined index error after update from 1.1.4 to 1.1.5

Postby iggi » Mon Apr 02, 2012 4:56 pm

Gallery Version: 1.1.5
phpBB Version: 3.0.10
Gallery-Link: http://tischtennis-klecken.de/gallery/index.php

PHP Version: 5.3.3-7
Database Version: 5.1.61


Error message:
    Code: Select all
    [phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 147: Undefined index: user_id
    [phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/gallery.php on line 151: Undefined index: user_perm_from

Error description and message
I just did an updade from phpbb gallery 1.1.4 to 1.1.5 by following the instructions of the xml file which was included to contrib\update_1_1_4_to_1_1_5 folder for manual updates. Since then I'm getting these errors on any page of my forum/portal but not on my gallery.

Help would be much appreciated.
iggi
Posts < 10
Posts < 10
 
Posts: 2
Topics: 1
Joined: Mon Apr 02, 2012 4:48 pm

Re: undefined index error after update from 1.1.4 to 1.1.5

Postby nickvergessen » Thu Apr 12, 2012 5:38 pm

This looks like a fail on the edits, or like caused by another mod.

Can you all post a list of MODs you use?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: undefined index error after update from 1.1.4 to 1.1.5

Postby iggi » Thu Apr 12, 2012 8:45 pm

Hm, I already double checked the changes I had to do by hand.

Mods:
Board3 Portal 2.0.0b1
NV advanced last topic titles v1.3.3
[RC] Buttons menu Mod (2.3.0)
[ABD] Attendance Mod (1.0.3)
iggi
Posts < 10
Posts < 10
 
Posts: 2
Topics: 1
Joined: Mon Apr 02, 2012 4:48 pm

Re: undefined index error after update from 1.1.4 to 1.1.5

Postby aresoto » Fri Apr 13, 2012 10:52 am

Hello, I have the same problem.
mod installed:
Buttons menu Mod
phpseo

seem to have some common mod
Last edited by aresoto on Fri Apr 13, 2012 11:08 am, edited 1 time in total.
aresoto
Posts < 10
Posts < 10
 
Posts: 2
Topics: 1
Joined: Wed Apr 11, 2012 10:44 am

Re: undefined index error after update from 1.1.4 to 1.1.5

Postby nickvergessen » Fri Apr 13, 2012 11:06 am

I had a look at the MOD and it does not look like it can cause that error.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: undefined index error after update from 1.1.4 to 1.1.5

Postby nickvergessen » Fri Apr 13, 2012 2:13 pm

This seems to be caused by editing the includes/functions_display.php wrong:

it SHOULD look like this: (right)
Code: Select all
   $db->sql_freeresult($result);

   if (class_exists('phpbb_gallery_integration'))
   {
      phpbb_gallery_integration::posting_display_popup();
   }
}

/**
* Display reasons
*/

But it looks like this: (wrong)
Code: Select all
   $db->sql_freeresult($result);
}

if (class_exists('phpbb_gallery_integration'))
   {
      phpbb_gallery_integration::posting_display_popup();
   }

/**
* Display reasons
*/


Thanks iggi for letting me on your server to check it back. Fixed the failure on your board.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen


Return to Installation & Update

Who is online

Users browsing this forum: No registered users and 1 guest