+ Reply to Thread
Results 1 to 4 of 4

Thread: wcfg.php error. site problems & redirects to an unrelated site

  1. #1
    lorenf is offline x10Hosting Member lorenf is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    2

    wcfg.php error. site problems & redirects to an unrelated site

    Hi i am new to creating websites, i just recently bought my first hosting account.

    My initial website failed and i went to change one of my addon domains to be my main domain. I made the mistake of messing with my files of the site i was trying to get rid of and now my sites all have errors sourced from my public_html files (i think). Here is my main site which is displaying the error. What exactly does this error mean? I know that if i type anything additional onto the website name such as www.eternalinsight.com/fish or /cat or /anything it redirects to the site www.pirateddl.com, which is related to my script in my original site which i was trying to get rid of. That website is NOT my initial website though, and i have no clue why it is choosing to redirect there.

    All of this information is very new to me & i don't know how to go about fixing it. I figured i could log in through Filezilla to fix it up, but i can't seem to log into my sites via filezilla -_-

    Any bit of help would be greatly appreciated. I really have no idea what to do and it is quite frustrating!

    Thank you,
    Loren

  2. #2
    bidzey75's Avatar
    bidzey75 is offline x10Hosting Member bidzey75 is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    51

    Re: wcfg.php error. site problems & redirects to an unrelated site

    to be specific, those are 3 "warnings" and not "errors" there is a difference. You could turn off warnings in that page and that would go away using error_reporting(); but if that file is needed to run your site that would not be a solution. more info on that here:

    anyways... what is happening here is that inside your "funcs.php" file you have an include function that is looking for the "wcfg.php" file. It's not finding it because the path set to it in the "funcs.php" file is wrong, or the file doesn't exist anymore because it as been deleted. This is the same problem for all 3 warnings.
    Last edited by bidzey75; 04-28-2011 at 06:30 PM.

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: wcfg.php error. site problems & redirects to an unrelated site

    The wcfg.php error is saying that you are missing that file, or it is in the wrong place.

    The redirects to the outside page when you type in a non-existant page is probably due to your .htaccess file. If you post the contents here, we can tell you how to fix it. It will probably relate to a line that starts:
    ErrorDocument 404
    Nothing is always absolutely so.

  4. #4
    lorenf is offline x10Hosting Member lorenf is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    2

    Re: wcfg.php error. site problems & redirects to an unrelated site

    Thanks for the responses guys.

    I feel kind of embarrassed at my ineptitude with this, but i am having trouble figuring how to access my public_html for the site.

    I think i connect to it with a program like Filezilla right? my problem is that out of my 5 sites i can only connect to to one of them in filezilla. i have the right IP, password and i think usernames but only one of them i can log into. I have databases/users set up for my other sites as well but i can't log into them.

    I was able to log into them a week ago, but since then i registered eternalinsight.com and have changed it to my main domain.

    Also is it right that even though i just registered that site; not having added anything to it yet or even creating a database, that it picked up those public_html files from my old main domain?

    I hope what i am saying makes sense, and again thank you for taking the time to help me.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 02-08-2011, 03:04 PM
  2. My site redirects to x10hosting.com
    By brettwhiteman in forum Free Hosting
    Replies: 3
    Last Post: 04-14-2010, 04:32 AM
  3. site redirects to apache server
    By matt12 in forum Free Hosting
    Replies: 5
    Last Post: 07-10-2008, 05:05 PM
  4. If your site redirects to adam01.x10hosting.com
    By Adam01 in forum Free Hosting
    Replies: 0
    Last Post: 03-22-2008, 01:06 PM
  5. My site redirects to another page.
    By girish in forum Free Hosting
    Replies: 0
    Last Post: 01-02-2008, 07:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers