Hi all,
I am attempting to recreate my site on a development box before updating the production box. I have copied over all of the files and the database. I then modified my sites/default/settings.php to the new database connection.
The site has the custom theme CSS, but is giving me 404 page doesn't exist errors when I try to go anywhere on the site...is there something else I need to do to get the development box up and running?
Thanks, Ethan
First thing to check is to make sure you have an .htaccess file in the Drupal root on the production box (assuming you have clean URLs enabled).
Steve
On Jul 22, 2010, at 5:25 PM, Johns, Ethan wrote:
Hi all,
I am attempting to recreate my site on a development box before updating the production box. I have copied over all of the files and the database. I then modified my sites/default/settings.php to the new database connection.
The site has the custom theme CSS, but is giving me 404 page doesn’t exist errors when I try to go anywhere on the site…is there something else I need to do to get the development box up and running?
Thanks, Ethan -- [ Drupal support list | http://lists.drupal.org/ ]
Also if you have Domain Access installed you'll need to edit the database directly to your new URL's (I just did this yesterday took me a while to figure out why it was still rewriting to my main prod server heh)
-Bob
On Thu, Jul 22, 2010 at 8:36 PM, Steve Edwards killshot91@gmail.com wrote:
First thing to check is to make sure you have an .htaccess file in the Drupal root on the production box (assuming you have clean URLs enabled). Steve On Jul 22, 2010, at 5:25 PM, Johns, Ethan wrote:
Hi all,
I am attempting to recreate my site on a development box before updating the production box. I have copied over all of the files and the database. I then modified my sites/default/settings.php to the new database connection.
The site has the custom theme CSS, but is giving me 404 page doesn’t exist errors when I try to go anywhere on the site…is there something else I need to do to get the development box up and running?
Thanks, Ethan -- [ Drupal support list | http://lists.drupal.org/%C2%A0]
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks for the tips.
I am not admin of the production server, but just of the development box. The production server's admin gave me a dump of all the Drupal directory files, and there was no .htaccess file there...
Is there a way I can create a .htaccess for the development box? Or should I try and have the production server's admin get me one?
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Domenic Santangelo Sent: Friday, July 23, 2010 4:39 AM To: support@drupal.org Subject: Re: [support] Production box to development box
On Jul 22, 2010, at 5:36 PM, Steve Edwards wrote:
First thing to check is to make sure you have an .htaccess file in the Drupal root on the production box
^ this -- make sure .htaccess is in both production and your dev environments.
-D
Just grab a copy from CVS. Here's the 6.17 version:
http://drupalcode.org/viewvc/drupal/drupal/.htaccess?view=log&pathrev=DR...
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/23/2010 9:47 AM, Johns, Ethan wrote:
Thanks for the tips.
I am not admin of the production server, but just of the development box. The production server's admin gave me a dump of all the Drupal directory files, and there was no .htaccess file there...
Is there a way I can create a .htaccess for the development box? Or should I try and have the production server's admin get me one?
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Domenic Santangelo Sent: Friday, July 23, 2010 4:39 AM To: support@drupal.org Subject: Re: [support] Production box to development box
On Jul 22, 2010, at 5:36 PM, Steve Edwards wrote:
First thing to check is to make sure you have an .htaccess file in the Drupal root on the production box
^ this -- make sure .htaccess is in both production and your dev environments.
-D
I am not admin of the production server, but just of the development box. The production server's admin gave me a dump of all the Drupal directory files, and there was no .htaccess file there...
Is there a way I can create a .htaccess for the development box? Or should I try and have the production server's admin get me one?
I always just use the default one that comes with Drupal. Unless you need customizations, that works just fine.
HTH
If you can still access the site, just without any styles or some broken part maybe it could be just the path is not updated yet to your development environment. Drupal store the path to your theme, modules etc in cache so on production server the path could be /var/www/yoursite or something but on development machine the path is /home/yourname/yousite.
If that the case, just login as admin (use /user or q=user to get the login page) and then go the admin/build/modules and admin/build/themes. That would refresh the cache with the new path.