PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old April 16th, 2007, 02:53 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 57
Problems after vB upgrade

we went up to vB 3.6.5 tonight and now we get the following error when trying to access our gallery

Quote:
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/zx-10r.net/httpdocs/gallery/gallery_global.php on line 209


I'm sure there's something that we need to do after a vB update but for the life of me I can't find anything on here, maybe I'm just too stressed/tired.

any help is appreciated.
YSR50 is offline   Reply With Quote
Old April 16th, 2007, 08:45 AM   #2 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
There should not be a problem on upgrade, but looking at the area of the problem it looks as if the permissions were not retained.

There may be a total permission loss or only a few usergroups.

Try this:

AdminCP => vBGallery => Usergroup Permissions
- Choose the usergroup you are having problems with.

If there is a problem with that usergroup you may see all values set to No.
- Reset to your custom needs and save.

Repeat if needed on the rest of the usergroups.
Zachariah is offline   Reply With Quote
Old April 16th, 2007, 10:23 AM   #3 (permalink)
Member
 
Join Date: Jun 2004
Posts: 164
Did you use vBulletin 3.5.x previously?

If so, you must update table datastore to have unserialize=0 for the vBGallery items.
(IIRC the vBgallery 2.1 update script does that automatically)
Kirby is offline   Reply With Quote
Old April 16th, 2007, 12:56 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 57
we were using 3.5.x, not sure what version of PhotoPost. last info I can find says PhotoPost 1.0.2. is there any way to find out what version we have loaded?

Last edited by YSR50; April 16th, 2007 at 01:03 PM.
YSR50 is offline   Reply With Quote
Old April 16th, 2007, 01:02 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 57
Quote:
Originally Posted by Zachariah View Post
There should not be a problem on upgrade, but looking at the area of the problem it looks as if the permissions were not retained.

There may be a total permission loss or only a few usergroups.

Try this:

AdminCP => vBGallery => Usergroup Permissions
- Choose the usergroup you are having problems with.

If there is a problem with that usergroup you may see all values set to No.
- Reset to your custom needs and save.

Repeat if needed on the rest of the usergroups.
just set the Admin user group to all yes and now I'm getting more errors

Quote:
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/zx-10r.net/httpdocs/gallery/gallery_global.php on line 209

Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions_gallery.php on line 430

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 430
Database error
The Kawasaki ZX-10R.net database has encountered a problem.
YSR50 is offline   Reply With Quote
Old April 16th, 2007, 01:20 PM   #6 (permalink)
Registered User
Verified Customer
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,243
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Update the category cache.

AdminCP => vBGallery => Edit Categories
[save]
Zachariah is offline   Reply With Quote
Old April 16th, 2007, 01:36 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 57
Quote:
Originally Posted by Zachariah View Post
Update the category cache.

AdminCP => vBGallery => Edit Categories
[save]
I just get a database error, admincp doesn't show for edit categories and a few others
YSR50 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
several problems on upgrade theonlybug Photopost Pro Installation & Upgrades 11 February 11th, 2007 01:23 PM
Upgrade Problems larryd Photopost Pro Installation & Upgrades 19 January 23rd, 2007 05:19 PM
upgrade problems webmaster8868 Photopost Pro Installation & Upgrades 3 August 8th, 2005 05:25 PM
upgrade problems 4.6 up to 4.81 please help xenz Photopost Pro Installation & Upgrades 12 November 24th, 2004 10:59 AM
Problems after upgrade.... sammyman Photopost Pro Installation & Upgrades 5 June 24th, 2004 09:07 PM


All times are GMT -5. The time now is 07:27 PM.

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