Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
storebuilder
PHP-Portal Project



Joined: Mar 09, 2004
Posts: 169
Location: Telford UK

PostPosted: Thu Aug 05, 2004 1:48 pm Reply with quote

Well it was there one minute and the next I looked it had gone!

I figured out that it was hardcoded in mainfile.php and so I replaced mainfile.php with the one from the 6.9 patched distribution, but no joy.

Can you suggest where I might look next?

Thanks
 
View user's profile Send private message Visit poster's website MSN Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Aug 05, 2004 2:00 pm Reply with quote

Check your php error log or your server error log for a hint as to what might be happening.
 
View user's profile Send private message
storebuilder







PostPosted: Thu Aug 05, 2004 2:55 pm Reply with quote

I make a poor mans holmes Laughing

In the server error log there are a lot of entries

Code:
Thu Aug  5 15:36:14 2004] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/storebu/public_html/header.php:21) in /home/storebu/public_html/modules/Forums/posting.php on line 399

[Thu Aug  5 15:36:14 2004] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/storebu/public_html/header.php:21) in /home/storebu/public_html/includes/sessions.php on line 251
[Thu Aug  5 15:36:14 2004] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/storebu/public_html/header.php:21) in /home/storebu/public_html/includes/sessions.php on line 250
[Thu Aug  5 15:34:58 2004] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/storebu/public_html/header.php:21) in /home/storebu/public_html/includes/sessions.php on line 251
[Thu Aug  5 15:34:58 2004] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/storebu/public_html/header.php:21) in /home/storebu/public_html/includes/sessions.php on line 250


And the offending lines in session.php

Code:


    setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
   setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);


The posting error is a non authorised user trying to post - but should that appear in the error log?

And what's this!!

Code:
[Thu Aug  5 15:51:09 2004] [error] [client 203.203.82.241] File does not exist: /home/storebu/public_html/emailsforyou.php

[Thu Aug  5 15:51:09 2004] [error] [client 203.203.82.241] File does not exist: /home/storebu/public_html/emailsforyou.php


Jeez Raven - there is all sorts of stuff in my error logs that I need to sort out/look into - missing favicon, old pages missing, people trying for files Shocked

Anyhow - this seems to be a cookie thing - am I on the right track?
 
Raven







PostPosted: Thu Aug 05, 2004 3:16 pm Reply with quote

If it was working and then stopped, that almost always indicates that you or your host made a change. What have you added/modified/deleted since it last worked?
 
storebuilder







PostPosted: Thu Aug 05, 2004 3:36 pm Reply with quote

The last change I made was to reapply the 6.9 patches. Everything is working fine and it has cured a few of the other smaller problems that I had - it is only this admin panel thing that is not working.

This might be a good point at which to move server.

Talk tomorrow.

Thanks
Tony
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

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 ©