View Full Version : Invalid call to script.
May 25th, 2013, 12:16 PM
Read a few other threads about this.
When I attempt to make a comment on a picture this is the message I receive.
Upper Rissington Gallery - Upper Rissington Gallery (http://upperrissington.co.uk/gallery/)
All else is OK.
Any help would be great.
May 25th, 2013, 03:02 PM
I will check it out what version of the gallery are you using? I have made comments in my test sites and everything appears fine so more info is needed.
May 25th, 2013, 07:04 PM
The only way to get invalid call to script is if your calling comment script itself without the photo id which I do not see possible. I need more info here. How about a test login?
if ( empty($photo) )
diewell( $Globals['pp_lang']['invalid'] );
May 25th, 2013, 10:10 PM
It's: PhotoPost 8.31
Test log-in sounds like a good idea.
test - test1
May 25th, 2013, 10:34 PM
In quickcom template find this line at the bottom of that file
<input type="hidden" name="product" value="$product" />
change it to this
<input type="hidden" name="photo" value="$photo" />
May 25th, 2013, 10:42 PM
That's it - I looked at one template and it had the revised script.
Then thought again. Of course there are more and now it works.
Thank you yet again.
May 25th, 2013, 11:27 PM
yep the error was in the vb3enhanced template
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.