Page 1 of 2 12 LastLast
Results 1 to 10 of 20

HELP - Website crashing

This is a discussion on HELP - Website crashing within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Not sure what has happened but all of a sudden the website front end and the admin site has just ...

      
  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default HELP - Website crashing

    Not sure what has happened but all of a sudden the website front end and the admin site has just crashed. My client has probably been on the admin site doing stuff but can't tell me anything of note - all I am getting is errors las below

    Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /home/anim/public_html/includes/application_top.php on line 315

    the website has been working perfectly until today when this happened so what can make this happen - no-one has made any amendments to pages



  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: HELP - Website crashing

    File name is missing!

    You client borked something and deleted something very important.

    Possibly changed/deleted the languages.....???
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    What could they have done do you think? They have no access to FTP so can't change actual files on the server directly? Could they do something in the Admin section that would cause this?

  4. #4
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    This is the other line of the error messages on screen


    Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anim/public_html/includes/application_top.php on line 315

  5. #5
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    This is the code on the above line

    require(DIR_WS_LANGUAGES . $language . '.php');

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,427
    Rep Power
    47


    Default Re: HELP - Website crashing

    Have you checked your configure.php files in includes and admin/includes.

    It looks like you have lost your pathway definitions.

    Just checking but I assume you have disabled the Admin --> Tools --> File Manager?

    and Admin --> Languages --> is set correctly ... (You can check this one via phpMyAdmin in the configuration table ... use
    Code:
    SELECT * FROM `configuration` WHERE `configuration_key` like '%LANGUAGE%'
    to check it. If it is English it should be set to en)

    Regards,
    Last edited by pgmarshall; 07-14-2009 at 04:36 AM.
    pgmarshall
    _______________________________

  7. #7
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    This is not good - there are no records left in the database - not one table has anything in it - what could have gone wrong here. I am the only one with any FTP or direct file/database access and have not been to the site in a few weeks.

    the only other person who uses the site is the owner who gets into the admin. Is there anything they could have done in the admin site itself that could kill all the data in the database???

    I am not switched anything off in the admin site - what should be turned off, etc to stop anything from happening? How to do this?

    To go back to the client and say all their data has gone down is going to go down very very badly

    Aaarrgghgh - help

  8. #8
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    Ok - I guess all I can do now is to run some sort of script on the database to add some data or something so that the website will actually show and I can access the admin site. Where do I look for this - don't want to touch any of the files on the front end as so many changes have been made - and with the database - all the tables are actually still there - there is just no data in anything.

    Client doesn't seem to think they did anything differently when adding products and info in the admin site so I am guessing that there must have been a security hole somewhere. Hopefully someone can shed some light on this.

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: HELP - Website crashing

    So are there any tables in the database? Just no records?

    You could run the osCMax.sql file on the database to rebuild the osCMax structure, but it will wipe any data that is left. I suggest taking a mysqldump of the existing database to backup the existing db for later examination.

    Next, yes you could have been hacked, but it would not be at the http level that allowed access to your database (unless you are running a really old version of the software). A compromised admin/ftp/control panel password would allow access to the database login/pw info that would definitely allow a db deletion.

    The best thing would be to change all passwords on the site, wipe all the files, restore from a clean backup of both files and database. Then make sure all the permissions are set properly.

    One other thing : You should never leave any directory at 777 permissions as you will get hacked - it is only a matter of time.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    3


    Default Re: HELP - Website crashing

    Thanks - all the tables are there - but NO data at all. How do I run the .sql file exactly - do I import it - don't know exactly but I would figure it out eventually.

    It was the latest version of oscmax with updates - there are no 777 permissions - and I can't see how the password could be compromised given that there are only 2 of us using it (me hardly ever using it) and the password being very strong.

    If I run the script will it actually delete tables and reinstate them or just update them - I have installed a few mods as well so hopefully they won't be affected.

    Cheers

Page 1 of 2 12 LastLast

Similar Threads

  1. POP UP pop up in your website, not different page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-22-2008, 12:28 PM
  2. POP UP pop up in your website, not different page
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-21-2008, 11:16 PM
  3. Store on the Website
    By VictoriaTG in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 02-15-2008, 05:28 PM
  4. which add-on under this website?
    By laonux in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 08-26-2003, 09:34 PM
  5. Apache SSL server crashing
    By troyt in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 12-27-2002, 12:58 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
  •