[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: Missing 'statsupdate.txt'


  • From: Gunnar Hjalmarsson  
  • Date: Thu, 11 Jan 2007 05:11:20 +0100

WebRing wrote:
Iv reset the stats but system only part working for example the random, list, next links show error code

eg: Permission denied at lib/rlmain.pm line 1389

Iv changed every thing to 777,

Everything? That's a bad idea. I suggest that you set these variables in rlconfig.pm as follows:

$rlmain::dirmode = 0755;
$rlmain::filemode = 0644;

any idea what could of happened

One guess would be that your web host has reconfigured the web server in such a way that your CGI scripts are now running as a different user, and without letting you know. :( You may want to try these steps to fix it:

1. Log in to admin.cgi and backup the ring data.

2. Rename the data directory to e.g. olddata.

3. Create a new data directory (with the same name and location as
   before) and move the backup file there.

4. Run the "Restore data" routine from admin.cgi.

5. Run the "Reset stats" routine again.

It's possible that you need to change the permissions of the newly created data directory to 0777 before step 4, but I suggest that you first try without doing so.

If and when it's working again, you may want to ask your web host to remove the "olddata" directory.

/ Gunnar


References to:
WebRing
Gunnar Hjalmarsson
WebRing

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]