Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Not sure what to make of this..

    Possible hacking activity, but also perhaps just an odd occurrence.

    The other day my website (www.cascadefire.com) suddenly began throwing php error's from the main page and the admin portal. I hadn't been editing the site, or really interacting with it in any way - and nor had anyone else to my knowledge. For this reason I wrote it off as a server issue and decided to wait for a few minutes. The main page came back up in that time, but the admin portal was still throwing a few errors that looked like the following:

    Warning: main(includes/auto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/cascade/public_html/Admin/includes/application_top.php on line 127

    I checked the files mentioned, which were intact, but I restored their backed up counterparts anyways. No effect. I finally resolved the issue by restoring the 'config.core.php' file that resided in the Admin directory, not the one in the standard catalog directory. That file simply was no longer there, for some reason or another... :-/

    I didn't find any suspicious activity in the logs, and no-one from another IP had accessed the ftp server. Nevertheless, it's a little disconcerting to have a critical file disappear....

    Any thoughts?

    Also, why didn't the PHP error point to the file in the Admin directory as the source of the problem?

    Thanks!!

    PS - According to my host nothing unusual was happened with my server that day.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Not sure what to make of this..

    Quote Originally Posted by cfe View Post
    Warning: main(includes/auto_loaders/config.core.php) [function.main]: failed to open stream: No such file or directory in /home/cascade/public_html/Admin/includes/application_top.php on line 127

    Also, why didn't the PHP error point to the file in the Admin directory as the source of the problem?
    Actually, it did.
    You were running it "from" the "Admin" folder. As such, the includes/auto_loaders..... reference *meant* the one inside the Admin folder. If it had a preceding slash (/) then it would be an absolute path. But it didn't ... thus it was relative to the current working folder.
    Hence, the second part of the error message which *did* mention the Admin folder gave you the second half of the information you needed to sort out what was happening.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Not sure what to make of this..

    Ah

    For some reason I thought these PHP error's always used absolute paths, my bad.


 

 

Similar Threads

  1. Not quite sure what this is????
    By sabba in forum General Questions
    Replies: 2
    Last Post: 9 Feb 2008, 10:01 AM
  2. Not sure what to call this....but
    By jill8026 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Aug 2007, 02:17 PM
  3. Not sure what this is...
    By ann0314 in forum Setting Up Categories, Products, Attributes
    Replies: 23
    Last Post: 3 Jun 2006, 07:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR