Page 1 of 1

Login Sessions Aren't Saving

Posted: Tue Mar 12, 2013 12:50 am
by vgsmart
Script URL: http://www.frivme.com/count/
Version of script: 1.2
Hosting company: 1&1
URL of phpinfo.php: http://www.frivme.com/phpinfo.php
URL of session_test.php: http://www.frivme.com/session_test.php
What terms did you try when SEARCHING for a solution:
"You are not authorized to view this page! ccount"

Write your message below:

I've seen similar problems posted, but this one I couldn't find. I have very limited PHP experience, so talk like I am a moron :)

Basically out of nowhere I can tell (Maybe an automated update?) Ccount has begun ending the session after I log in. Or basically I log in, can see the first page, but if I attempt to do anything (backup, edit links, ect) it says "You are not authorized to view this page!" and I have to log in again, placing me back at square one. Everything else appears to be working (Tracking is still functioning).

The only PHP.ini I can find is basically blank (a few lines having to do with Wordpress that I added and didn't fix a problem)...

Anyway, fact is I am clueless and hopefully someone knows what to do and can spell it out in step by step fashion.

-Joe

Re: Login Sessions Aren't Saving

Posted: Tue Mar 12, 2013 8:03 am
by Klemen
You didn't edit any of the PHP files, did you?

If not, then the most likely reason is that PHP sessions are not working on your server.

I can't open your phpinfo or session_test files to verify. If you open session_test.php in your browser and click the link to continue, what does the second page say?

Re: Login Sessions Aren't Saving

Posted: Tue Mar 12, 2013 9:17 am
by vgsmart
No PHP files were edited by me.

The whole site runs on PHP though, doesn't it?

Second page says: $_SESSION['test'] is set to: FALSE

-Joe

Re: Login Sessions Aren't Saving

Posted: Tue Mar 12, 2013 1:51 pm
by Klemen
As I thought, your PHP sessions aren't working. You will need to contact the hosting company and ask them why PHP sessions aren't working for your account (you can show them the session_test.php file).