![]() |
MrZeropage Can you step in please
MrZeropage once again thanks for providing this mod to everyone here (we all luv it)
The biggest issue ATM with the newest vb and the ibproarcade is the holdsession.php stopped working .. you need to have the remember me ticked or you get logged out of the forum when going to play a game.... so , you are playing the game then finish and submit your score your logged out.. or if you click on a game and then try to View High Scores your logged out a fix for this would be greatly appreciated..By everyone that uses this mod Regards Ron |
Hmm just done some playing with this...didn't even know it was an issue since my board has always had the box ticked by default.
Anyway....try changing that "echo" line to this: Code:
echo '<meta http-equiv='refresh' content='$secs; URL=$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid'>'; That seems to be working for me, whereas I was able to replicate the issue before by unticking the box. Certainly the syntax was all wrong before. |
thanks Mark I will test it out ..
as mine has always been ticked by default as well.. but I am looking to improve it for others.. Peek in this forum, I been helping out for some time, I was determined to keep this mod alive.. I will report back.. thanks Hippy --------------- Added [DATE]1314741199[/DATE] at [TIME]1314741199[/TIME] --------------- Just checked my notes I have tried this after tons of research this does work.. but it fills your apache error log file up with this error.. Code:
PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/public_html/forum/holdsession.php on line 37, referer: arcade.php?&act=Arcade&do=play&gameid=4972 |
Quote:
But it seems to work...whereas correcting the syntax like this: Code:
echo "<meta http-equiv='refresh' content='$secs; URL=$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid'>"; --------------- Added [DATE]1314741892[/DATE] at [TIME]1314741892[/TIME] --------------- Well I reversed the syntax as well to this: Code:
echo '<meta http-equiv="refresh" content="$secs; URL=$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid">'; Syntactically (is that a real word?) it's correct so I can't fathom what's making it fail. |
I pulled my hair out on this pal..
I read and got it working and I was happy ! till 500 email came with this apache error LoL I don't know if it's a real word or not lol (sounds good to me tho ;))I'm not an expert so I read and came up with what you posted and it worked but like I said those errors where killing me .. |
I started the v2.7.2+ development and will implement all fixes that have been found, will also check the holdsession.php
First need to install fresh vB4 on my site, this is my task for the weekend :) |
Shouldn't it be:
PHP Code:
|
I had one of my more tech-savvy users look at it, and he fixed it by changing the php in 'holdsession.php' from
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
Quote:
that change does hold the session but now this is the error in the apache error log PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /forum/holdsession.php on line 19, witch is this line now PHP Code:
|
Quote:
PHP Code:
PHP Code:
Driving me bonkers this! |
Same apache error :(
this has become a problem since I believe 4.0.8 I have no idea what changed but thanks for keeping up with this issue |
Quote:
I *think* we have the echo line correct now but there is probably still an issue with this: PHP Code:
|
1 Attachment(s)
Try the attached file.
|
Quote:
thanks for your effort This is getting to me like it did last time.. I am sure it now boggling everyone in the thread --------------- Added [DATE]1314827030[/DATE] at [TIME]1314827030[/TIME] --------------- for shits and giggles I uploaded a blank holdsession.php no errors in the apache logs.. and you don't get logged out ... w t f I don't get this But f it's a long game I'm not sure if you would be logged out .. I only test on a short game I don't have the time to sit ATM and play a longer game.. or if it's like this maybe someone would be able to cheat .. I'm so confused.. maybe all the code you guys posted is good maybe it's how the arcade.php is handling it ?? |
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|