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

lorenf

New Member
Messages
2
Reaction score
0
Points
0
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
 

bidzey75

New Member
Messages
53
Reaction score
0
Points
0
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:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
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
 

lorenf

New Member
Messages
2
Reaction score
0
Points
0
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.
 
Top