Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion
Author Message
pan
Involved
Involved



Joined: Jul 25, 2006
Posts: 354

PostPosted: Wed Oct 01, 2008 5:51 pm Reply with quote

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!
 
View user's profile Send private message
pan







PostPosted: Wed Oct 01, 2008 7:22 pm Reply with quote

Anyone know?
 
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Oct 02, 2008 5:47 pm Reply with quote

Should be very simple to fix through the database.
Take also a look here:

http://www.ravenphpscripts.com/postxf13601-0-25.html
 
View user's profile Send private message
pan







PostPosted: Thu Oct 02, 2008 5:57 pm Reply with quote

http://www.ravenphpscripts.com/postp124667.html

not so easy
 
Susann







PostPosted: Thu Oct 02, 2008 6:06 pm Reply with quote

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







PostPosted: Thu Oct 02, 2008 8:03 pm Reply with quote

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
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Thu Oct 02, 2008 10:49 pm Reply with quote

Look in the code of the block to see what info your block is using from the database.
 
View user's profile Send private message
pan







PostPosted: Thu Oct 02, 2008 11:26 pm Reply with quote

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

PostPosted: Fri Oct 03, 2008 12:53 am Reply with quote

pan wrote:
Please look at the end of this thread

http://www.ravenphpscripts.com/postp124672.html#124672


Raven so politely locked it - THANKS


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
 
View user's profile Send private message
pan







PostPosted: Fri Oct 03, 2008 1:09 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 1:14 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 1:15 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 1:21 am Reply with quote

There's more from before that.


Tell me if you need anything else?
 
pan







PostPosted: Fri Oct 03, 2008 1:24 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 1:27 am Reply with quote

Did you download that from your server, or from the archive file?

What are you using to view the file?
 
pan







PostPosted: Fri Oct 03, 2008 1:29 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 2:02 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 2:04 am Reply with quote

The issue with RWS_WhoIsWhere/index.php is solved here so I have done as suggested.

http://www.ravenphpscripts.com/posts15336-highlight-rwswhoiswhere.html


My issue with visitors not showing up is still happening though
 
jakec







PostPosted: Fri Oct 03, 2008 2:06 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 2:09 am Reply with quote

Please see my above post - i have since disabled it as described.


Visitors are STILL not showing up
 
jakec







PostPosted: Fri Oct 03, 2008 2:12 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 2:13 am Reply with quote

How are you uploading to the server? Are you doing it in binary?
 
pan







PostPosted: Fri Oct 03, 2008 2:19 am Reply with quote

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 Sad
 
jakec







PostPosted: Fri Oct 03, 2008 2:23 am Reply with quote

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







PostPosted: Fri Oct 03, 2008 2:26 am Reply with quote

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?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©