Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Elxis 4.x documentation for users and developers
 
Pages: [1]
  Print  
Author Topic: login recorder  (Read 35513 times)
momo-i
Newbie
*
Offline Offline

Posts: 40



WWW
« on: January 13, 2008, 13:39:58 »

When I performed clean log in login recolder, the load of the server went up.
Then, although I try login to admin area, the load of a server goes up again.

/administrator/index2.php?option=com_admin&task=tools
Logged

日本で普及活動中 Cheesy
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 7595



WWW
« Reply #1 on: January 13, 2008, 15:02:26 »

Check the permissions of the log directory and file.

/administrator/tools/lrecorder/logs/ ---> 777
/administrator/tools/lrecorder/logs/logs.txt ---> 666
Logged

momo-i
Newbie
*
Offline Offline

Posts: 40



WWW
« Reply #2 on: January 13, 2008, 16:50:55 »

logs directry is 777 OK,  but log.txt are :
--w--wx-wT 1 apache apache    0 2008-01-13 20:22 logs.txt*

I correct premission of logs.txt, then it worked! but I clean logs again, that probrlem has occurred.

The following is corrected and this came to work, because the chmod function has recognized the single quotation mark as a character string.

in /administrator/tools/lrecorder/recorder.class.php
Code:
@@ -164,7 +164,7 @@
     function deleteLogs() {
         global $fmanager;
         $file = $fmanager->PathName($this->recBase.'logs/').'logs.txt';
-        $fmanager->spChmod($file, '0666');
+        $fmanager->spChmod($file, 0666);
         if ($fmanager->writeFile($file, '')) {
                return true;
         } else { return false; }
@@ -253,7 +253,7 @@

         $file = $fmanager->PathName($this->recBase.'logs/').'logs.txt';
         if (!is_writable($file)) {
-            $fmanager->spChmod($file, '0666');
+            $fmanager->spChmod($file, 0666);
         }
            if ($fr = @fopen($file, 'r')) {
                    $buffer = @fread($fr, filesize($file));
« Last Edit: January 13, 2008, 16:58:26 by momo-i » Logged

日本で普及活動中 Cheesy
dados
Full Member
***
Offline Offline

Posts: 183



WWW
« Reply #3 on: December 06, 2008, 20:52:44 »

On my hosting I have some problems I did not have this files
/administrator/tools/lrecorder/logs
/administrator/tools/lrecorder/logs/logs.txt

What I must to do?
Logged

xmanhattan
Hero Member
*****
Offline Offline

Posts: 973


If I'm still breathing, I'm doing something!


WWW
« Reply #4 on: December 07, 2008, 10:23:12 »

dados,

You might not see those files if you have not enabled the logins recorder.

go to tools logins recorder and click the disabled to enable.

Then you can check those files to see if they have any problems with permissions.

Logged

Pages: [1]
  Print  
 
Jump to: