PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old June 22nd, 2009, 07:48 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Posts: 117
Next, Previous, & Flimstrip

I posted this once before - maybe it got lost since I don't see the BETA forum anymore. But we talked about this issue...

As a regular member.
When I open a gallery, I do not have the film strip displayed and when I click NEXT and PREVIOUS the i= in the link is empty so no image is shown.

I have checked and rechecked permissions, I JUST redownloaded the entire 2.5 package and also updated all templates and the product. Same error.

I had to do this:
In showimage.php I had to comment out lines 140-143:

// if ($userid)
// {
// $wherequery[] = 'images.userid = ' . $userid;
// }

You won't see this error as an administrator, only a regular user browsing another user's gallery.

I don't do a lot of restrictions on my site - pictures are not moderated and I only have three member groups, ADMIN, MOD, and USER... ADMIN and MOD same permissions, USER have just about everything - except ...others posts type permissions.

Any ideas on this one?
cory_booth is offline   Reply With Quote
Old June 22nd, 2009, 11:42 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
I remember this issue... but I remember also i could not reproduce the error..
As i just did a fresh install on my localhost.. (to also test something else)
I just looked into it.. and still could not reproduce...

if i understand you correctly, I tried following..
Fresh install

2 users Admin and Tester

I did not change anything in category configuration so I have:
Main Category --> Main Album

Admin uploads 10 images, Tester uploads 5 images (all to Main Album)

Filmstrip is set to 0 (disabled)

Now I login as tester and start browsing


Quote:
Originally Posted by cory_booth View Post

You won't see this error as an administrator, only a regular user browsing another user's gallery.
As user "Tester" I go to one of Administrator's images and click on: (View all of Administrator's images)
I get the page of his images, click on the first one-
From the browseimage page the link to the image is:
h ttp://localhost/site/gallery/showimage.php?i=13&catid=member&imageuser=1
I then click on the Next link
Link is: h ttp://localhost/site/gallery/showimage.php?i=13&goto=next&c=member&imageuser=1
and so on.. all links are working...

Am I doing something different than you are?
Have you any hacks installed?

Luc

PS: I remember in the betaforum, I could reproduce the error when adding a wrong link manually,... but cant remember what it was..

What I suspect is that some hack is setting the userid to something thus triggering the error...
because the $userid should be empty anyway...

Therefor you can safely remove those lines of code without loosing any functionallity!!!

to test this... add following line of code above
if ($userid)

echo $userid; exit;

now when you click a next link... you should get a blank page...

if not, (you get a white page with number) you would have to search through the plugins which one is adding the userid...
but if I were you, i just stick to the working fix.. by removing those lines..

Other possibility.. you have some error on your browseimage.php... so that the first link when you go to showimage is allready wrong.. having userid instead of imageuser!!! in that case its a completely different problem..
Luc

Last edited by Luciano; June 23rd, 2009 at 12:24 AM.
Luciano is offline   Reply With Quote
Old June 23rd, 2009, 08:36 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Posts: 180
I've had this problem reported to me by several users.

I couldn't reproduce so I kinda blew it off.

Going to try the fix in the first post and see what the reports are, thanks!
Regs is offline   Reply With Quote
Old June 23rd, 2009, 09:25 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I would highly suspect a hack conflict as well. I remember this one as well and no one was able to reproduce the issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 23rd, 2009, 12:32 PM   #5 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Quote:
Originally Posted by Regs View Post
I've had this problem reported to me by several users.

I couldn't reproduce so I kinda blew it off.

Going to try the fix in the first post and see what the reports are, thanks!
Before you apply this.. login as a normal user and try to reproduce it..
It would be interesting to find the reason....
its not only the userid...
as a matter of fact.. i suspect its a hack interfearing with browseimages.php.. and then giving the wrong url to showimage.php.. where the error then shows...
its extremly annoying when you cant reproduce an error...

Luc

Last edited by Luciano; June 26th, 2009 at 01:26 AM.
Luciano is offline   Reply With Quote
Old June 25th, 2009, 07:06 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Posts: 180
A vBgallery hack or a vB modification?
Regs is offline   Reply With Quote
Old June 25th, 2009, 07:27 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
We are both talking vbulletin hacks plugins.

Basically what Luciano and I both have commented is this can not be reproduced on a default install with no hacks/plugins or clean install if you will.

The problem with vbulletin to some degree with all the addons and mods out there is that there are conflicts and unwanted behaviors when you run alot of these things. This addon doesnt play well with this and that one does play well with this other one etc.

The issue as it is being seen here is the userid variable which should be empty under all but a few urls is being used or defined by some plugin/hack thus triggering the problem
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 22nd, 2010, 09:58 AM   #8 (permalink)
m_k
Junior Member
Verified Customer
 
Join Date: May 2004
Posts: 14
Quote:
Originally Posted by cory_booth View Post
I had to do this:
In showimage.php I had to comment out lines 140-143:

// if ($userid)
// {
// $wherequery[] = 'images.userid = ' . $userid;
// }
I have been having a similar problem, and so far haven't tracked down which hack is causing it. Commenting out those lines did the trick however - thanks for that :-)
m_k is offline   Reply With Quote
Old February 22nd, 2010, 10:00 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Not a problem but yeah you have tons of hacks so thats the prevailing idea
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Bug: Flimstrip incorrect on import gatorsfootball Before You Buy 4 May 19th, 2009 11:25 PM
Upload Description Issue & MrDaniel Photopost Pro Bug Reports 6 October 7th, 2008 05:58 PM
& symbol turns into &amp in fields Fortissimo Photopost Pro Installation & Upgrades 16 September 12th, 2006 05:40 PM
Image Title: &(FIXED) NightClubber Photopost Pro Bug Reports 8 October 19th, 2005 12:49 AM
& and " for edit reviews.php/edit(FIXED) Arnie ReviewPost Bug Reports 4 September 8th, 2005 02:04 PM


All times are GMT -5. The time now is 11:41 PM.

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