PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 30th, 2005, 04:21 PM   #1 (permalink)
Member
Verified Customer
 
weirdpixels's Avatar
 
Join Date: Aug 2004
Location: England, UK
Posts: 70
error when viewing member profiles

For some reason my gallery has started creating an error when view member profiles on my forum. For an example please see here http://www.weirdpixels.com/forum/member.php?u=1

As you can I get the following error at the top of the page

Warning: 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

Warning: Division by zero in /includes/functions_gallery.php on line 1137


As far as I know I have not changed anything.

Does anyone know what might be causing this?
weirdpixels is offline   Reply With Quote
Old November 30th, 2005, 04:43 PM   #2 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,408
If you're getting that when viewing the member's profiles it sounds like you installed a hack somewhere.... perhaps the hack to show the users gallery info' on their member page?
KW802 is offline   Reply With Quote
Old December 1st, 2005, 12:51 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2005
Location: Germany
Posts: 24
I get those errors too, except of the "division by zero" one.

We upgraded to the latest PHP and MySQL versions and now those errors show up on every page.
Kurisu is offline   Reply With Quote
Old December 1st, 2005, 01:10 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Hello

I would not suggest upgrading to the latest php 5.1+ and mysql as most software is not compatible with those yet or there are known bugs.

Like for example I know in Photopost with php 5.1 and later any instance of the use of localtime() we need to add explicitly $year = $year + 1900 as there is a bug it seems in the new PHP in regards to this function that did not exist in any versions prior.

Now mysql 5 I can guarantee things will not work if your running that. There are way too many changes needed before we could claim on any of our applications to support mysql 5. We support mysql 3.23+ and mysql 4 versions.
__________________
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 December 1st, 2005, 01:14 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
weirdpixels try this in functions_gallery.php add the line in bold but I agree probally because of some hack you have installed. Which hack did you install?

Code:
Content visible to verified customers only.
__________________
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 December 1st, 2005, 03:12 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
Quote:
Originally Posted by Chuck S
weirdpixels try this in functions_gallery.php add the line in bold but I agree probally because of some hack you have installed. Which hack did you install?

Code:
Content visible to verified customers only.
I seen a profile hack out there with a ground up ver of the forumhome hack I have out there. I also seen one w/ the last X amount of gallery submissions in the profile.

There are file edits that need to be made to member.php file if these are in use.
Zachariah is offline   Reply With Quote
Old December 2nd, 2005, 04:26 AM   #7 (permalink)
Member
Verified Customer
 
weirdpixels's Avatar
 
Join Date: Aug 2004
Location: England, UK
Posts: 70
Quote:
Originally Posted by Chuck S
weirdpixels try this in functions_gallery.php add the line in bold but I agree probally because of some hack you have installed. Which hack did you install?

Code:
Content visible to verified customers only.
Thanks Chuck S, I just applied that change and it got rid of 2 of the errors. Now I am just left with Warning: Division by zero in /includes/functions_gallery.php on line 1138

As far as I know I have not installed any hack to do with displaying gallery pics in the members profiles.
weirdpixels is offline   Reply With Quote
Old December 2nd, 2005, 04:53 AM   #8 (permalink)
Member
Verified Customer
 
weirdpixels's Avatar
 
Join Date: Aug 2004
Location: England, UK
Posts: 70
hmm weird, I did not do a thing and the Warning: Division by zero in /includes/functions_gallery.php on line 1138 error has now gone
weirdpixels is offline   Reply With Quote
Old December 2nd, 2005, 06:55 AM   #9 (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
Quote:
Originally Posted by weirdpixels
hmm weird, I did not do a thing and the Warning: Division by zero in /includes/functions_gallery.php on line 1138 error has now gone
I know "Division by zero" In a hack I have done.

[vB 3.5.0] Module CMPS: vBA Gallery
[vB 3.5.0] vBa Gallery - Forum Home

If you upgrade and fail to re-add the file edit this error will happen. On upgrades the plugins that call for the file edits still run but the update killed the file edits.
Zachariah is offline   Reply With Quote
Old December 2nd, 2005, 09:25 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Well member gallery pictures do not appear on a members profile in vb by default so a hack was applied somewhere but glad I could 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
Old December 2nd, 2005, 06:16 PM   #11 (permalink)
Member
Verified Customer
 
weirdpixels's Avatar
 
Join Date: Aug 2004
Location: England, UK
Posts: 70
Quote:
Originally Posted by Zachariah
I know "Division by zero" In a hack I have done.

[vB 3.5.0] Module CMPS: vBA Gallery
[vB 3.5.0] vBa Gallery - Forum Home

If you upgrade and fail to re-add the file edit this error will happen. On upgrades the plugins that call for the file edits still run but the update killed the file edits.
well turns out a hack was causing this problem, I deleted the plugin that I thought was causing it but it turns out for some reason I had installed the same plugin twice.
weirdpixels is offline   Reply With Quote
Old December 2nd, 2005, 07:26 PM   #12 (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
Quote:
Originally Posted by weirdpixels
well turns out a hack was causing this problem, I deleted the plugin that I thought was causing it but it turns out for some reason I had installed the same plugin twice.
- I did that yesterday.
I think to my self, wow I uninstalled it and it still is broke!

Glad you found the problem.
Zachariah is offline   Reply With Quote
Old December 2nd, 2005, 11:54 PM   #13 (permalink)
Banned
 
Join Date: Feb 2005
Posts: 92
I believe I was getting the same error with the display gallery pictures in member profiles plugin. I think it has something to do with quotes being used in descriptions and was never given a fix for that.

-vissa
vissa 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
Photos in Profiles? khigh Before You Buy 27 November 10th, 2006 08:12 PM
vb3 user profiles NotInUse Photopost Pro Installation & Upgrades 10 October 21st, 2004 04:04 PM


All times are GMT -5. The time now is 04:43 PM.

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