Author |
Message |
pan
Involved


Joined: Jul 25, 2006
Posts: 354
|
Posted:
Wed Oct 01, 2008 5:51 pm |
|
No stats anywhere seem to recognise that there are anonymous users or 'visitors' on the website..
Why would this be?
I have latest ravennuke.
Users will show up as guests when in the forum but the blocks don't show any visitors being present on the site (when i am 100% there are at the time)
PLEASE HELP ME! |
|
|
|
 |
pan

|
Posted:
Wed Oct 01, 2008 7:22 pm |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Thu Oct 02, 2008 5:47 pm |
|
|
|
 |
pan

|
Posted:
Thu Oct 02, 2008 5:57 pm |
|
|
|
 |
Susann

|
Posted:
Thu Oct 02, 2008 6:06 pm |
|
I had a similar issue with the block a time ago because my site was down for several hours and afterthat the block didn´t show the info anymore. Maybe I can find the thread and the steps to solve this immediately.
Btw: Activate error logging- Maybe it shows something. |
|
|
|
 |
pan

|
Posted:
Thu Oct 02, 2008 8:03 pm |
|
Please look at the end of this thread
http://www.ravenphpscripts.com/postp124672.html#124672
Raven so politely locked it - THANKS
I have tried error logging it shows up nothing
through ravennuke AND cpanel and there are no errors.
I am at my last here, i have no idea why visitors do not show up
are there any certain files i can check or something?
I have repaired nuke_sessions too and nothing................ |
|
|
|
 |
slackervaara
Worker


Joined: Aug 26, 2007
Posts: 236
|
Posted:
Thu Oct 02, 2008 10:49 pm |
|
Look in the code of the block to see what info your block is using from the database. |
|
|
|
 |
pan

|
Posted:
Thu Oct 02, 2008 11:26 pm |
|
What am i looking for here?
these blocks dont show up visitors
block-Login
block-User_Info
block-Who_is_Online
Only the forum footer shows guests |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Fri Oct 03, 2008 12:53 am |
|
That was because you double posted, it makes it very difficult for us to help people if there is two conversations going on at once.
pan wrote: | I have tried error logging it shows up nothing |
There are different levels of error logging/reporting. From what I have seen you have looked at you server error logs, but there is also error reporting within the package by turning it on within the config.php file. Additionally there is database logging (SQL logging) which can be turned on in the rnconfig.php file.
Please turn each of these on and report back any errors.
Cheers |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 1:09 am |
|
I did all of that..
Where do I view the log?
Nothing is coming up in Error Log on phpmyadmin and the website shows no logs |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 1:14 am |
|
I'm seeing some weird stuff:
Code:[14-Sep-2008 09:46:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[14-Sep-2008 09:46:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[14-Sep-2008 10:19:40] PHP Warning: file(themes/fisubice/header.html) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /home/**removed**/public_html/themes/fisubice/theme.php on line 168
[14-Sep-2008 10:19:40] PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in /home/**removed**/public_html/themes/fisubice/theme.php on line 168
[15-Sep-2008 09:31:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 251
[15-Sep-2008 09:31:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 252
[15-Sep-2008 09:31:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 498
[15-Sep-2008 09:31:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[15-Sep-2008 09:31:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[15-Sep-2008 09:31:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 251
[15-Sep-2008 09:31:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 252
[15-Sep-2008 09:31:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 498
[15-Sep-2008 09:31:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[15-Sep-2008 09:31:56] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[15-Sep-2008 09:32:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 251
[15-Sep-2008 09:32:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 252
[15-Sep-2008 09:32:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 498
[15-Sep-2008 09:32:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[15-Sep-2008 09:32:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[15-Sep-2008 12:47:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 251
[15-Sep-2008 12:47:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 252
[15-Sep-2008 12:47:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 498
[15-Sep-2008 12:47:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[15-Sep-2008 12:47:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[15-Sep-2008 12:47:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 251
[15-Sep-2008 12:47:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/sessions.php on line 252
[15-Sep-2008 12:47:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 498
[15-Sep-2008 12:47:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 500
[15-Sep-2008 12:47:13] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/**removed**/public_html/header.php:41) in /home/**removed**/public_html/includes/page_header.php on line 501
[26-Sep-2008 11:30:38] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/**removed**/public_html/modules/RWS_WhoIsWhere/index.php on line 1
[26-Sep-2008 11:30:38] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/**removed**/public_html/modules/RWS_WhoIsWhere/index.php on line 1
[26-Sep-2008 11:30:54] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/**removed**/public_html/modules/RWS_WhoIsWhere/index.php on line 1
[26-Sep-2008 11:30:54] PHP Parse error: syntax error, unexpected T_VARIABLE in /home/**removed**/public_html/modules/RWS_WhoIsWhere/index.php on line 1
|
|
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 1:15 am |
|
The instructions are in the rnconfig.php where you turn it on:
Code:/*********************************************************************************
* SQL Logging to Text Log File:
* Calls through db/mysql.php only are logged.
* loglevel = 0 -> no logging (default setting)
* loglevel = 1 -> logs sql errors (with associated IP address) only
* loglevel = 2 -> logs ALL sql query statements and errors and is intended for
* development testing purposes only as the log file can grow
* rather quickly!
* set up a dblog file in your /rnlogs directory with privileges of 666 to use this
*********************************************************************************/
|
|
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 1:21 am |
|
There's more from before that.
Tell me if you need anything else? |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 1:24 am |
|
I opened RWS_WhoIsWhere/index.php and it looks like the entire thing is line 1..
I don't know why that would be?
Do those logs help you work out what's wrong? |
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 1:27 am |
|
Did you download that from your server, or from the archive file?
What are you using to view the file? |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 1:29 am |
|
It was on the server
I'm reading it from error_log
the RWS_WhoIsWhere/index.php file i looked at in programmers notepad 2
i know its all on 1 line, i looked at an originally downloaded version and the one on the serevr is all on 1 line |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 2:02 am |
|
lines 498 500 and 501 of /includes/page_header.php say
Code:
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
|
lines 251 and 252 of /includes/sessions.php says
Code:
setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);
|
|
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 2:04 am |
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 2:06 am |
|
It shouldn't all be on one line. So either the editor is screwing it up, or the archive hasn't downloaded correctly. I use Notepad++ for most of my quick editing and viewing, might be worth trying at a different editor. Also try downloading the archive again. |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 2:09 am |
|
Please see my above post - i have since disabled it as described.
Visitors are STILL not showing up |
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 2:12 am |
|
Looks like there is a problem with sessions, but this is a bit out of my depth, so we will have to see what one of the experts can make of it. |
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 2:13 am |
|
How are you uploading to the server? Are you doing it in binary? |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 2:19 am |
|
I'm just using GlobalSCAPE CuteFTP
How do I check how things are being uploaded?
The whole website including visitors showing up was working when it first started, so something that has happened since then has screwed things up.
I don't know what files to look at or edit or replace to fix it, without messing anything else up  |
|
|
|
 |
jakec

|
Posted:
Fri Oct 03, 2008 2:23 am |
|
Most people here use FileZilla (which is free), because people have had problems with other FTP packages. I don't use CuteFTP so I don't know how to check if it is uploading in binary.
Have you made any changes, new modules, blocks? Any changes to the server? |
|
|
|
 |
pan

|
Posted:
Fri Oct 03, 2008 2:26 am |
|
I don't change anything on the server - i know nothing about it
i've only made minor changes to a few different things. nothing really out of the ordinary.
still using the stock ravennuke with just a few adjustments.
Do you happen to know which files are related to this error so that I can compare them with unedited ravennuke files? |
|
|
|
 |
|