ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

config/stats.php file missing?

October 02, 2012 11:05pm

Subscribe [3]
  • #1 / Oct 02, 2012 11:05pm

    ewn

    100 posts

    We have a client site that suddenly no one can access the EE CP.  We ran it by softlayer and they said these files were missing:

    21:38:27 access(”/home/[redacted]/public_html/[redacted]/expressionengine/config/stats.php”, F_OK) = -1 ENOENT (No such file or directory)

    21:38:27 access(”/home/[redacted]/public_html[redacted]/expressionengine/config/Stats.php”, F_OK) = -1 ENOENT (No such file or directory)

    Not familiar with those files for any other sites stats are enabled for - any help?

  • #2 / Oct 04, 2012 11:26am

    Dan Decker

    7338 posts

    Hi ewn,

    Thanks for posting to the Forums!

    I’m sorry for the trouble you and your client are having.

    We have a client site that suddenly no one can access the EE CP

    Can you tell me a bit more about this? Are there any errors? What’s the experience?

    What version of ExpressionEngine are they using? Have any changes or updates been made recently?

    On my sandbox of EE 2.5.3 I do not have /system/expressionengine/config/stats.php either, and I don’t recall it ever being there.

    Let’s get to the root of the errors your client is having. I look forward to more details!

    Cheers,

  • #3 / Oct 05, 2012 4:50pm

    ewn

    100 posts

    When logging into EE CP, its just blank white screen.

    The config file says 2.13 (213) but I am not certain that is the version because we did upgrade once.  It’s an MSM install so we’d prefer not to have to do an (unpaid) upgrade…

    Client is also noticing:

    “Going to the site without the www preceding it shows a blank page, and if you add ‘www’, clicking any links will break the page again. Like I said in a previous email, we have made no changes to the website frontend or backend besides banning a bunch of robot spam accounts (and deleting their profiles and posts).”

    There was an issue a few weeks back where when they banned some IP’s it resulted in a blank config.php file.  Could I get you access to take a look?

  • #4 / Oct 08, 2012 3:21pm

    Shane Eckert

    7174 posts

    Hi ewn,

    It sounds like an htaccess file might be in play here. Can you show me what that looks like?

    Thank you,

  • #5 / Oct 08, 2012 3:22pm

    Shane Eckert

    7174 posts

    Hey,

    Forgot to mention this article which in general tends to be very helpful!

    Cheers,

  • #6 / Oct 08, 2012 5:24pm

    ewn

    100 posts

    .htaccess file:

    RewriteEngine On
    
    RewriteRule ^CodeGiveaway$ <a href="https://secure.ubi.com/register/Login.aspx?lang=en-US&genomeId=5ab1132f-d3da-4733-9bc7-ada0556f3e7e&NextURL=http://&#91REDACTED&#93.com/">https://secure.ubi.com/register/Login.aspx?lang=en-US&genomeId=5ab1132f-d3da-4733-9bc7-ada0556f3e7e&NextURL=http://[REDACTED].com/</a> [R=301,L]
    
    RewriteRule ^store$ <a href="http://www.merchlackey.com/&#91REDACTED&#93/">http://www.merchlackey.com/[REDACTED]/</a> [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    
    # Set Language and Character Set
    AddDefaultCharset utf-8
    AddLanguage en-gb .en
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
  • #7 / Oct 08, 2012 5:29pm

    Shane Eckert

    7174 posts

    Hey ewn,

    I would make sure first of all that you are being consistent with WWW and not using WWW. Check your config files and the Control Panel everywhere you have a URL set and just make sure it’s always the same.

    There is some stuff on your htaccess file that is not supported, but that does not mean it will not work. But for testing can you remove htaccess all together?

    Thank you,

  • #8 / Oct 15, 2012 1:34pm

    ewn

    100 posts

    Changes to the .htaccess file didn’t help - can I get you guys to take a look to see if you can see what is going on?

  • #9 / Oct 16, 2012 12:00pm

    Robin Sowell

    13255 posts

    Yep- just sent you over an email.  Hopefully a closer look will get this squared away.  Weird on that stats file thing!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases