index.php returns blank page

Permalink
I just inherited support for our corporate site hosted on Concrete5 because it is not functioning at all.

If I browse to the index.php page, there is no content returned (verified using View Source)

If I try to go to index.php/login (to log into the dashboard), I also get no content back.

In the searches here, I verified permissions haven't changed and that config/site.php is present. I verified the database login and password do connect to a valid MySQL instance and show me 100+ tables of information. The account has read/write privileges.

I can't seem to find any log files that might indicate what my problem is. Where do I go next?

View Replies: View Best Answer
madeforspace replied on at Permalink Reply
madeforspace
Have you triedwww.www.yoursite.com/index.php/dashboard...
Can you post a URL to the site so we (community members) can have a look?
techwolf359 replied on at Permalink Reply
Tried index.php/dashboard and was able to get a login box.

Attempting the "Forgot My Password" option gets me to:
/index.php/login/-/forgot_password/

Which also returns a blank page (internal server error)

Attempting a username and password sends me to:
/index.php/login/-/do_login/
which once again returns a blank page.
nteaviation replied on at Permalink Reply
nteaviation
Check to see if your index.php file has trash in it. All it should have in it is:

<?php
require('concrete/dispatcher.php');

We got hacked a while back and that is what they hit.

Also, anything interesting in your server logs?
techwolf359 replied on at Permalink Reply
index.php contents:

<?php
require('concrete/dispatcher.php');


error_log shows nothing when you attempt to access the page.
access_log shows the expected, a request with a 500 status code.
madeforspace replied on at Permalink Reply
madeforspace
What is the domain?
techwolf359 replied on at Permalink Reply
I'll PM the domain to those that inquire, but to not cast a negative view on our company in a publicly viewable web forum, I'll refrain from posting here.
LucasAnderson replied on at Permalink Reply
LucasAnderson
What's the contents of your .htaccess file? (This should be in your root directory.)
techwolf359 replied on at Permalink Reply
Contents of .htaccess:

DirectoryIndex index.html index.php
AddHandler php5-script .php
   <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php/$1 [L]
   </IfModule>


DirectoryIndex was updated when the site was found to be nonfunctional to allow for a static page to be served instead of empty content.
nteaviation replied on at Permalink Reply
nteaviation
Assuming no changes were made to the Concrete5 core, you could try reloading just the /concrete directory. If that doen't work, then running the upgrade script:
http://www.yoursite.com/index.php/tools/required/upgrade... (Note: if this does not work, tryhttp://www.yoursite.com/index.php/tools/required/upgrade.php)...

Backup your database first.
techwolf359 replied on at Permalink Reply
Reloading the core would require I get the original source for this version. Where can I find what version of concrete5 I am running?
LucasAnderson replied on at Permalink Reply
LucasAnderson
/concrete/config/version.php
techwolf359 replied on at Permalink Best Answer Reply
Found it. PageStatistics was corrupted and marked as crashed. Doing the database backup revealed that.

Is there a place where I can open a ticket for the developers to try to trap this problem so it doesn't result in a site unreachable problem?
Pritam replied on at Permalink Reply
Pritam
I am having a similar issue with a client sitehttp://www.creamcentre.com All I get is just a blank page, as mentioned earlier in the post I am able to access the dashboardhttp://www.creamcentre.com/dashboard,... but get a blank page after signing-in.

I also tried deleting the files/cache folder and recreated again, as one of the trouble-shooting steps.

.htaccess files reads this
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule ^(.*)$ index.php/$1 [L]
   </IfModule>


Attempting the "Forgot My Password" gets me to a blank page too.

index.php has

/index.php/login/-/do_login

The debug level was set to production , and the site has been live since a year now, have also been doing regular updates, without any issues this is the first time i got a blank page which is a shocker .

Also, I downloaded the copy of site and set it up on my localhost, and i get the same blank page here too.

I am able to get to this page toohttp://www.creamcentre.com/index.php/tools/required/upgrade... as someone mentioned in one of the posts relating to blank page.

lastly, i did not get any kind of error when backing up the database.

Hope someone can share other trouble-shooting steps or way to analyze the cause.