| Author |
Message |
koshy

Joined: Jun 19, 2008
Posts: 18
|
Posted:
Thu Jul 17, 2008 10:49 am |
|
Hey,
I'm getting a page that says "SESSION ERROR" on every single digital shop page i try to access, I haven't changed any of the files... could really use some help on this =/
Thanks,
- Koshy |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 754
|
Posted:
Thu Jul 17, 2008 6:26 pm |
|
Do you have sentinel installed? If so, try turning off the "Flood Blocker" and see if the error goes away. Let me know if it works. |
| |
|
|
 |
koshy

Joined: Jun 19, 2008
Posts: 18
|
Posted:
Fri Jul 18, 2008 4:27 pm |
|
I went to Blocker Settings for Flood and it showed:
Activate: You can not use .ftaccess writting until you have set the ftaccess Path in admin.
Sooo IDK if it is enabled or disabled ... or how too do either tbh =(
Some direction from you would be greatly appreciated...
Thanks,
- Koshy |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 248
|
Posted:
Mon Jul 21, 2008 2:42 am |
|
If you see that message and under it, it says write to ftaccess set to 'No' then Flood Blocker is not turned on.
If this is an error that has suddenly just started appearing, the most likely cause is your host not allowing PHP_SESSION's which is possible if they have updated to a newer version of PHP or rebuilt Apache and forgot to 'allow' that function or the session.save path is set wrong on the server.
Here is a simple test code you can use. Create a new php file called test.php and place this code in it
| Code: |
<?php
session_start();
// If session variable doesnt exist, register it
if ( !isset ( $_SESSION['test'] ) ) {
$_SESSION['test'] = 'Hello World!';
echo $_SESSION['test'], ' is registered.<br />Please refresh page' ;
} else {
// Its registered so display it
echo '$_SESSION[test] = ' , $_SESSION['test'];
}
?> |
When you execute the code (www.yoursite.com/test.php ) you should see the message
| Quote: |
$_SESSION['test'] is registered.
Please refresh page |
if the session was registered properly.
When you refresh the page you should see
| Quote: |
| $_SESSION['test'] = Hello World! |
If tht doesn't work then definitely contact your host and ask them to check the path to session.save_path in their php.ini file |
_________________ Code Authors Nuke Reviews |
|
|
 |
koshy

Joined: Jun 19, 2008
Posts: 18
|
Posted:
Wed Jul 23, 2008 11:16 am |
|
Turns out the host had upgraded to apache 2 without telling me ;P
Thanks for your help,
- Koshy |
| |
|
|
 |
|
|