Forum Moderators: phranque

Message Too Old, No Replies

Not sure what kind of problem I'm looking at

         

Rhymer

12:09 am on Aug 13, 2007 (gmt 0)

10+ Year Member



Not sure where to put this as I don't know what kind of problem I'm looking at. Hence my post.

On my original site, I put up a directory: www.example.com/directory. Everything looks/works just fine.

I purchased a domain name to match the directory name and had it pointed at the directory.

If one goes to the directory using the new domain name, all one sees is php errors.

What is missing from the puzzle? Why does the directory work fine when approached from the original site, but not from the new domain?

Any enlightenment would be appreciated.(Am I going to feel like an idiot because there is an obvious answer I'm missing here? *grin*)

rocknbil

6:51 am on Aug 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would guess the problem lies in your php scripts, probably hard coded references referring to the original domain(?) Did you try just putting an index.html file in this directory?

Rhymer

2:45 pm on Aug 13, 2007 (gmt 0)

10+ Year Member



Yes, an index.html document loads fine, so it does seem to make sense that it could be something hard-coded in the script. I'll look into it.

Thanks for the help!