![]() |
How do I fix this error message?
Everytime I log in (and I'm assuming everyone else who visits my site) I get the following error message (mind you, vbulletin doesn't even boot):
Unable to add cookies, header already sent. File: /homepages/45/d250243461/htdocs/LaBarncia/index.php(1) : eval()'d code Line: 7 I'm curious to know what causes this and how would I go about fixing it? EDIT: This doesn't happen when you visit the site from a phone...atleast it hasn't on my phone. |
Usually when I have seen this it's due to added characters in the php file due to using a editor such as plain notepad for editing the file.
Did this only recently start happening? Can you provide a link for checking out the page source code? |
What does your index.php look like? The error seems to be saying that the problem is with code eval()'d on line 1, which is odd.
|
Quote:
|
Yeah, that's a good thought - I posted before reading your repsonse.
|
The site has been up for nearly a year now and it has just now started happening. I'm away from my FTP accessible computer at the moment, but when I get home, I'll post that first section of the index.
|
Quote:
Editing php files with plain notepad messes them up, puts in extra characters you cannot see. |
Quote:
|
Quote:
|
What would you guys like to see, lines what through what? Mind you if it does contain any site specific data, I'll remove it.
EDIT: To answer the question about notepad and wordpad, I use an HTML editor for PHP, XML, and HTML files. |
That's hard to say - based on the error message I'd only need to see the first line, but if that looks OK I'd probably want to see more. I understand you might not want to post it all.
|
I checked the links in your signature and saw the errors both on your WordPress installation and your vBulletin. However, you're also loading a worm on people's browsers, so now I am suspecting a hacker.
|
Great...ill have my host do a sweep of the server. This is getting old.
--------------- Added [DATE]1327972754[/DATE] at [TIME]1327972754[/TIME] --------------- Anyone know how to go about resolving this issue? I sent an email to my hosts support center and I'm hoping that they can take care of it. If they can't, how would I fix this? |
I'm guessing you've got eval(base64 code somewhere in your php files, it usually happens from a poorly secured mod that you've uploaded or already infected php files, you need to search your files on your server for that, usually at the top or the bottom of the file, you need to remove that line on EVERY file thats infected and find the file thats either pre-infected or has the code for replicating it.
Think hard what you did recently or uploaded to your server recently. --------------- Added [DATE]1328124470[/DATE] at [TIME]1328124470[/TIME] --------------- Of course you could just have some white space at the beginning of your last edited php file :) Google says both your sites are safe! |
reupload the php files, and repair database.
if this still happen then i think this have something with apache and php version. |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|