PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old July 22nd, 2010, 08:10 PM   #21 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 24
Gallery error: functions_gallery.php on line 1071

Quote:
Originally Posted by Chuck S View Post
what version of the gallery are you running?
I am running 2.5.

I see there is an upgrade to 2.51. I downloaded it and the readme.html file in the archive states release notes from 2.4.3 ??
packetattack is offline   Reply With Quote
Old July 23rd, 2010, 02:25 PM   #22 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
There was a similar error people were getting in 3.0 beta...
2 possible fixes..
1. Theoretically, the error should go away if you add a moderator.. (strange that not everybody gets it)

2. the fix that worked in 3.0 (no idea if it will in 2.x, but its worth a try)
open functions_gallery.php
around line 1064 there is a function :

Code:
Content visible to verified customers only.
to be able to undo changes, rename this function to

Code:
Content visible to verified customers only.
and above add:
Code:
Content visible to verified customers only.
the alternative fix seems to be to add a moderator to any category as this rebuilds the moderator cache that probably is not set. (I do not know if removing the moderator makes the error reappear.)

Luc

PS: renaming the original function has the only purpose in being able to undo the fix quickly in case it doesnt work.
The error cannot occur in vbg3, as at the moment of install, an empty array() is inserted in datastore vs NULL in 2.5

Last edited by Luciano; July 27th, 2010 at 10:49 PM. Reason: added datastore info
Luciano is offline   Reply With Quote
Old July 23rd, 2010, 02:33 PM   #23 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 24
Wow, thanks for the detailed response Luciano, I will definitely try this tonight.
packetattack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gallery_global.php on line 85 error Delw Installs and Upgrade - vBulletin 3.6x 3 March 9th, 2008 07:23 PM
Fatal error: functions_gallery.php on line 1085 WhatChaMissin Installs and Upgrade - vBulletin 3.5.X 0 April 3rd, 2006 02:25 PM
Error: pp-inc.php on line 129 fpoole ReviewPost Installation & Upgrades 14 September 8th, 2005 11:15 AM
Error in functions_gallery.php after vba 1.0.1 upgrade detalhe Installs and Upgrade - vBulletin 3.0.X 1 February 26th, 2005 09:24 AM
Upgrade init.php conflicting with functions_gallery.php golfrewind Installs and Upgrade - vBulletin 3.0.X 2 January 12th, 2005 03:17 AM


All times are GMT -5. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0