site stop works, blank page

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
uloloi
Forum Members
Forum Members
Posts: 88
Joined: Thu Dec 16, 2010 8:50 pm

site stop works, blank page

Post by uloloi »

Do you know what does it mean?:

Warning: Cannot modify header information - headers already sent by (output started at ......\config.php:1) in ......\include.php on line 94 Warning: Cannot modify header information - headers already sent by (output started at ......\config.php:1) in ......\include.php on line 97 Warning: Cannot modify header information - headers already sent by (output started at ......\config.php:1) in ......\include.php on line 100 Warning: Cannot modify header information - headers already sent by (output started at ......\include.php on line 107

Before that, the site had a stranger line of code, or tag in the source code. Something like a script, p.e.
[script type="text/javascript" src="http://foreverXXXXXn.nXXXXi.net/fkVWiAz ... d=81635277" ... ] and several like that

this is my site with the problem
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: site stop works, blank page

Post by Jo Morg »

Apparently your site has been hacked. How much damage and how to fix it depend on a few things. Best way (hopefully you have a recent backup):
- Restore from backup;
- change db credentials;
- change site backend users credentials;
- backup;
- update to the latest core and modules;
- backup;

Eventually check if there are other open doors to re-hack the site (other scripts with weaknesses, etc).

HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
uloloi
Forum Members
Forum Members
Posts: 88
Joined: Thu Dec 16, 2010 8:50 pm

Re: site stop works, blank page

Post by uloloi »

Done. All your recommendation. Thanks. Is there a way to know or at least been watching if someone spy or introduce malicious coding to the site? Imagine, to be making all of that everytime that happen this mortal >:D attack!

I read that several CMSs have many vulnerabilities and holes which can be back doors to malicious agents like this. Is it true?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: site stop works, blank page

Post by Rolf »

uloloi wrote:I read that several CMSs have many vulnerabilities and holes which can be back doors to malicious agents like this. Is it true?
No, not for (the latest release of) CMSMS. At least we are not aware of any... If so we would have fixed it immediately and released a new core version. Using an older core version, everything is possible... for *all* CMS's. Upgrading isn't optional.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
zaidcrowe
Forum Members
Forum Members
Posts: 109
Joined: Wed Jun 10, 2009 3:43 pm

Re: site stop works, blank page

Post by zaidcrowe »

just to chip in - security is a massive priority for the dev team, they jump on the and verify that they are "real" if identified and prioritise fixes, they really are top notch at this!

worth mentioning that while the core system is secure - there are plenty of ways that your server setup, or the way you build sites can expose "vulnerabilities"
uloloi
Forum Members
Forum Members
Posts: 88
Joined: Thu Dec 16, 2010 8:50 pm

Re: site stop works, blank page

Post by uloloi »

Very hacked. Impossible to repair, unfortunately.

If I recommend to costumers to move to another dns domain pointing, would be useful?, transfer the domain to another servers? I find that currently hosting server works under windows platform, maybe this should have incompatibilities with the CMS. The support team help to me, they cleared all files and reinstall, install latest CMS version, permissions (ftp, user, db), etc, more than three times changed, and nothing fix this damage

What the hell! I never have this problem before. Sorry, I need more suggestions, and thanks again to everyone
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: site stop works, blank page

Post by calguy1000 »

If you have re-installed CMSMS from scratch and a virgin installation of CMSMS is still getting hacked then I would tend to think that it's a problem with the host... or vulnerabilities in other software (if any) that you are using on the same account.

i.e: if you have W***Press installed beside CMSMS in the same account, your install of that other software may have a vulnerability that allows hackers to pollute CMSMS files.

Either way. Before you move hosts, etc. You need to isolate and identify the problem or it could just be a waste of time. You need to analyse server logs, check the installs see what is being modified, when, and by what script.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: site stop works, blank page

Post by Rolf »

uloloi wrote:Very hacked. Impossible to repair, unfortunately.
If the database is untouched, the website is definitely fixable! I have done several...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: site stop works, blank page

Post by fearmydesign »

...man... I have the same errors, but this is a fresh install of CMSMS, and it all started happening when I was trying to add Pretty URLs - Does this also mean my copy got hacked? I didn't notice anything strange or anything ???

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/223455/html/config.php:16) in /home/content/32/223455/html/index.php on line 155

Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/223455/html/config.php:16) in /home/content/32/223455/html/index.php on line 156

Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/223455/html/config.php:16) in /home/content/32/223455/html/index.php on line 157

Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/223455/html/config.php:16) in /home/content/32/223455/html/index.php on line 158

Warning: Cannot modify header information - headers already sent by (output started at /home/content/32/223455/html/config.php:16) in /home/content/32/223455/html/index.php on line 159
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: site stop works, blank page

Post by calguy1000 »

That error message is very clear and very obvious.

You have an error in your config.php file.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: site stop works, blank page

Post by fearmydesign »

calguy1000 wrote:That error message is very clear and very obvious.

You have an error in your config.php file.
Originally that's what I thought... but there's nothing wrong that I can see with my config file (below). That's why I started searching the forum for similar errors :-[

Code: Select all

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'removed';
$config['db_username'] = 'removed';
$config['db_password'] = 'removed';
$config['db_name'] = 'removed';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/New_York';
?>
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: site stop works, blank page

Post by Dr.CSS »

How did you enable pretty URLs and did you use the htaccess.txt file from the doc folder..?
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: site stop works, blank page

Post by fearmydesign »

Dr.CSS wrote:How did you enable pretty URLs and did you use the htaccess.txt file from the doc folder..?
Hi Dr., yes I did use the htaccess file from the doc folder.

I did however fix this error. I don't really know what caused the error... all I did was delete everything including the database file. Then I uploaded everything again, and it worked fine.

Maybe a glitch while uploading the 1st time through FTP, not sure.

Thx
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Locked

Return to “The Lounge”