PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 29th, 2009, 08:08 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
usercp error

I get this error when I click on usercp when logged in.

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_gallery.php on line 1037

Here is the line in functions_gallery.php it does not like.

foreach ($categoryopts AS $option => $value)

I am using vBgallery 2.43 with vBulletin 3.8 and vBadvanced 3.1.0 with a custom style called blueburst.

Thank you,
JB
jimb is offline   Reply With Quote
Old January 29th, 2009, 11:24 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Does this error happen with the default style?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 29th, 2009, 11:33 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
I made blueburst the default style. I installed it over the top of the default after I had tested it.

JB
jimb is offline   Reply With Quote
Old January 29th, 2009, 11:39 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
what happens if you turn off under vbgallery admin addons the profile photos thing?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 29th, 2009, 12:19 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
I turned off the gallery and the error went away. I went to the gallery settings and clicked the forum active button to off. Is that what you wanted me to try?

Thank you,

JB
jimb is offline   Reply With Quote
Old January 29th, 2009, 12:24 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
I was referring to the gallery addon settings the profile display turn that off. It is right under the option to show photos on the forumhome in the addon section.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 29th, 2009, 02:00 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
Hi Chuck,

Here is a screen shot of my vBgallery addon section. I don't seem to have a profile display to turn off. I did try disabling the forumhome and the navbar without any improvement.
Attached Images
File Type: jpg vBgallery addons.jpg (95.1 KB, 3 views)
jimb is offline   Reply With Quote
Old January 29th, 2009, 03:19 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Reeftalk Forums - View Profile: Chuck S

Reeftalk Forums

I just installed a standard vbgallery 2.43 on vb 3.80 and am not seeing any issues.

If you did an upgrade from an older version I would suggest making sure you reupload all the files especially the forum includes directory.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 29th, 2009, 03:43 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
My install was not an upgrade it was a fresh install. I just tried 2 other styles with the site and threw the same error. I did not notice this earlier but the first line to error out is this one.

Warning: Invalid argument supplied for foreach() in [path]/modules/vbgallery.php on line 91

Here is line 91 from vbgallery.php

foreach ($gallerypermissionsbit AS $option => $value)

Does this help narrow the problem down?

Thanks for your help,

JB
jimb is offline   Reply With Quote
Old January 29th, 2009, 04:03 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
okay your using a mod that would explain things. We dont have a modules/vbgallery.php file in our downloaded code so there is your issue. I am sure if you remove that mod your site will be fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 29th, 2009, 04:33 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
Yes, I have a mod that shows 4 gallery photos on the homepage of vBadvanced.
I wish I would have seen that error earlier, I could have saved us both a lot of time.

Thanks,
JB
jimb is offline   Reply With Quote
Old January 29th, 2009, 04:35 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
Not a problem once we get the full picture of errors solving things are pretty easy.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 30th, 2009, 04:14 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Posts: 464
very strange.. I also use the cmps and have that gallery module active.. but i get no errors..
Are you sure u are using the latest version of the cmps block for vbgallery? it can be found here in the mod corner.. it works with 3.81
http://www.photopost.com/forum/vb-3-...ery-2-4-a.html

Luc

Last edited by Luciano; January 30th, 2009 at 04:22 AM.
Luciano is offline   Reply With Quote
Old January 30th, 2009, 06:28 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2006
Posts: 7
Luciano,

I decided to re-enable the cmps block but only on my home page and now it works fine. Before I had it enabled on my cmps integration wrapper page and my home page.
Thanks for making me think about it a little more, and thanks to Chuck for his hard work and quick response.
That's why photopost is the only gallery we will use here at the hbc noc.
jimb is offline   Reply With Quote
Old January 30th, 2009, 09:53 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,675
No problem Jimb have a good day we are all here to help out.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
[Bug 2.4.3] UserCP Navigation Missing Kirby Bugs - vBulletin 3.6x 1 May 13th, 2008 06:25 PM
Vb and Photopost usercp as one mark|3 General Discussion 5 March 11th, 2008 10:39 AM
Edit Gallery Link in UserCP? BulletNow How Do I? - vBulletin 3.6x 0 May 9th, 2007 07:36 PM


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

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