Community & Support

Restoring From Webserver Problems, Very Very Important

If anyone can help me I would greatly appreciate it. I just fniished my firtst Drupal site and this is last a and a big problem for me (I am sure small once I know the answer)

I can export my site files and database file locally without a problem(using Wamp). I can import and upload those files for the live site witouth a problem. I change the settings.phph to find the proper database without a problem. I tried backing up the site the other day and loading it on the clients machine with wamp. I did the exact same process including changing the sttings.php file. When opening localhost the broswer does not recognize the file and asks the two options to find an application on my computer or on teh web. I do not understand what is going on. I thought it was php problem but my .htaccess file works. The server is running after running (or someone else checked it for me) the netstat –a command.

This morning the client said that his localhost is now showing up but flash files are not showing and when he clicks on a link it goes to the live site and not local. Could it me all the paths change?

Can anyone help me troubh shoot the please. Like I said this is the last problem.

I would really appreciate it. I am looking ot get this done and make some tutorial myself to help out more Newbies like myself, just have one more stumbling block.

Thanks,
Juppster

Comments

When opening localhost the

When opening localhost the broswer does not recognize the file

That means your server is not configured to serve PHP correctly. It's a WAMP or Apache issue.

PHP and .htaccess are different things. To test if PHP is working, you should be running a phpinfo.php page.

If you have problems with flash files, you need more detail, but it's probably just that you haven't entered the paths to the source files in a portable way.

Similarly, if you have links pointing to the full URL on the live site, then your local copy will keep pointing to there. Depends how you created the links.
Links created by Drupal menus and teasers should remain local to the actual site UNLESS you have also hard-coded $base_url in your settings file. Don't do that.

can you explain "running ta phpinfo.php page"

Thank you very much for responding to this. I can't believe I am stuck on this last phase. The setup was all wrong when the pages were coming up with the wrong links, once I saw the file structure I realized there wasn't a problem with not finding files anymore.

I still have the main issue and I ill try running a phpinfo.php page but could you explain more on how to do that and what to look for.

Thanks again I really appreciate it.

Juppster

um...