This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

New stories and topics problem


avatar
Philarmon 0
From: -
New stories and topics problem

Hi !

Unfortunately, i have another strange problem:

Once i log in, i am always getting ALL stories and forum topics as new stories in the user header - it seems that the system don't remember my last login time or something. Any idea what could the problem be ?

Thank you !

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: New stories and topics problem
avatar
Administrator
1342
From: Austria
New stories and topics problem

Did it work?
1 Re: New stories and topics problem
avatar
Administrator
1342
From: Austria
New stories and topics problem

The user cache files should usual update hourly.

Here a test script:
<?php                                                                                                                                              


require ("core.php");

$directory = GetDir("cache/pm");

for ($file = 1 ; $file < count($directory) ; $file++)
{
if (preg_match("/user/i",$directory[$file]))
{
echo "Removing ... ".$directory[$file];
if (unlink("cache/pm/".$directory[$file]))
{
echo " ok<br />";
}
else
{
echo " fail!<br />";
}
}
}

?>

This script will try to remove all user cache files from the directory. Let me know if this work. You need to copy it to your Storyteller root directory.
1 Re: New stories and topics problem
avatar
OP 0
From: -
New stories and topics problem

No, all permissions are set correct. I have the files for each user in the pm directory (user-* and userlast-*) but they are not being updated when i login, so i always have the date/time of the first login there.
1 Re: New stories and topics problem
avatar
Administrator
1342
From: Austria
New stories and topics problem

Look like a permission problem. Please try to chmod the /cache/pm directory and the files inside to 777.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.