Sunday, April 24, 2011

Re: Server trouble

On Sun, Apr 24, 2011 at 3:51 PM, Labe Einhorn <fifogigo@gmail.com> wrote:
> Hi,
> Not sure if i'm in the right place for this but I was hoping someone
> could point me to where I need to look. I have a webhost with a
> standard linux distribution and i'm trying to use some code a
> developer made for me. Problem is their code (based on cakephp) is not
> functioning correctly and I don't know why. What is happening is I go
> to the site in question and it goes to a completely different site on
> the host. None of the logs are showing anything that I can determine
> as an issue, the host is helping me but their not programmers, where
> the programers will not work with me citing "all information is going
> to be one way, from us to you" and I don't know where to look to get
> this issue resolved, any idea where I should look for a solution?
> Labe

Can you visit any URL at all under the domain or is this occurring
with just some paths?

Create a file at app/webroot/foo.txt, contents: "foo". If it happens
when you browse to http://the.domain/foo.txt then the problem is with
either the webserver or DNS and Apache is loading the default site
(eg. first loaded virtual host) instead.

Is the site a subdomain?
Can you ping the domain? From a shell (on your computer), try
"nslookup the.domain"
If you're on Windows, try this:
http://www.windowsnetworking.com/articles_tutorials/Quickly-Test-DNS-Resolution.html

Has the virtual host config been created/enabled?
Has Apache been reloaded/restarted?
Have you checked Apache's error and access logs?

If you DO see foo.txt ...

What version of Cake are you running?
If not all paths are affected, which ones are?
set debug to 2

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate