[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
I have also been getting an error when going back with the browser in Game Courier. I thought it was something I had done in the header, but as I commented out everything in the header that might be responsible, even going so far as to use an empty header, I kept getting the error. After signing in, though, I didn't get the error. It may be related to the code that sets the cvpuser cookie at the very top of play.php. I'll look into this more later.
The problem seems to have been caused by including session_start() in the header part of the file (not to be confused with the HTML file called header.php). Instead of taking that code out, I have enclosed it in a conditional that checks whether the cookie is set and runs the code only if the cookie is not set. Anytime you go back to the page with the back button, the cookie should already be set, and it won't need to use session_start() to get the value the cookie should be set to.
Yes, now it works fine, thanks. But the Upload File function doesn't seem to work. I only get a blank page with "File Upload Results" when I try to upload a little gif-file. /Mats
4 comments displayed
Permalink to the exact comments currently displayed.