Forums Drupal

My 'live' site not working correctly

Subscribe to My 'live' site not working correctly 7 post(s), 2 voice(s)

 
Avatar mjudd 13 post(s)

Hi there

I have downloading the Drupal stack, installed it and am using it no problem – just great. However, the problem comes when I have finished the config of the local site and I want to upload it.

I upload it, change the setting.php file for the new database connection (user name, password etc)

I then visit the new site and the front page of the new uploaded Drupal site appears fine – again no probs. HOWEVER, when I go to say log in (or any other link that takes you away from the front page) I just get a 404 error

---
The requested URL /drupal/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
---

Why is this and how do I resolve the situation so that the site I have developed locally can be successfully uploaded – do yo or Conrad have the answer – what I am doing wrong ???

Realy appreciate your help on this one.

 
Avatar antonio Administrator 487 post(s)

Hi mjudd,

Can you post the contents of the Apache error log?

Cheers

 
Avatar mjudd 13 post(s)

HI there

Do you mean the error logs on my live server? If so, I am unble to access them? Is there something basic I am missing when I upload a site to the production environment? I notice the 404 error calls for /drupal/index.php rather than /index.php (which I think it should be).

Is it something to do with how the root of the site is referenced?

Thanks once again (I am a newbie at this)

 
Avatar antonio Administrator 487 post(s)

Mmmm, can you explain in detail the steps you followed to upload Drupal to your server? Have you modified the Apache configuration file and dumped the old database into the new server?

 
Avatar mjudd 13 post(s)

Well

Here is the example site http://www.nerhos.org.uk/10/

As you can see the front page looks fine however when ever you log in/ go to admin (or whatever) it just gives a 404 error.

How did I do it?

1. Created the Drupal stack (6.4)
2. Uploaded this localhost files using FTP (as a test) to the live server
3. Created a sql database
4. Imported the tables from the localhost MYSql database to the live database
5. Modified the setiings php files with the correct MySql info (eg. user id etc)

... and that is all. The front page appears to work!!

But you can see the problem

THanks for helping me so far.

 
Avatar antonio Administrator 487 post(s)

I think I got it :)

The rewrite urls option is enabled by default on a BitNami installation. You will need to modify the file ’.htaccess’ which is located in the Drupal directory and change

RewriteBase /drupal

to

Rewrite /10

Let us know if that works!

Cheers

 
Avatar mjudd 13 post(s)

Yippee

That’s it cracked – thanks for all your help

Forums Drupal