I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
Have you cleared the cache? If you can't log in to the admin section you can use Drush or Truncate the cache* tables in the database.
Many of the paths and menu routers get cached.
Regards, Todd
On 5 Jun 2012, at 15:59, Anthony wrote:
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
-- Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
How do I clear the caches if I can't login? In PHP-MyAdmin?
On Tue, Jun 5, 2012 at 4:20 PM, Todd Bloom todd.bloom@me.com wrote:
Have you cleared the cache? If you can't log in to the admin section you can use Drush or Truncate the cache* tables in the database.
Many of the paths and menu routers get cached.
Regards, Todd
On 5 Jun 2012, at 15:59, Anthony wrote:
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
--
*Anthony Stefan Maciejowski*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Correct.
You can either using drush with the command "drush cc all" from Drupal root or log in to PHPMyAdmin and truncate each table beginning with "cache" (I believe in some versions of PMA it's called 'empty').
Regards, Todd
On 5 Jun 2012, at 19:25, Anthony wrote:
How do I clear the caches if I can't login? In PHP-MyAdmin?
On Tue, Jun 5, 2012 at 4:20 PM, Todd Bloom todd.bloom@me.com wrote: Have you cleared the cache? If you can't log in to the admin section you can use Drush or Truncate the cache* tables in the database.
Many of the paths and menu routers get cached.
Regards, Todd
On 5 Jun 2012, at 15:59, Anthony wrote:
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
-- Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Anthony Stefan Maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
On Tue, Jun 5, 2012 at 7:25 PM, Anthony tony@tony-mac.com wrote:
How do I clear the caches if I can't login? In PHP-MyAdmin?
You go to the admin/config/performance (D7) or admin/settings/performance (D6) page and click the Clear cache button (D7 it is at the top of the page, D6 is at the bottom of the page).
You will need to be able to log into the DB to fix the issue. I do not think that clearing the cache will help.
Need more info. You should be able to inspect your server logs to find out what the exact error is. It's possible that you have some duplicate files left over from the copy and that you're getting functions defined twice, but need to see the specific error message from the server logs to troubleshoot further.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Todd Bloom Sent: Tuesday, June 05, 2012 4:21 PM To: support@drupal.org Subject: Re: [support] Changing root dir probs
Have you cleared the cache? If you can't log in to the admin section you can use Drush or Truncate the cache* tables in the database.
Many of the paths and menu routers get cached.
Regards,
Todd
On 5 Jun 2012, at 15:59, Anthony wrote:
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
thanks earnie, todd and dave. yet again i was so foolish as to listen to what Bluehost tells me. I could have done a simple redirect instead of moving the files themselves. Now I have a spaghetti monster of stuff. Will have to upload from local install. Having probs with putty and local wamp though as well. Some weeks.... And then I asked some young smart ass programmer .... you know the type: knows everything and never made a mistake. Well he did and did on putty and then declared "it works now" and walked away. No change as far as I could see. ;>) Can only laugh. Before I cry. LOL Tony
On Wed, Jun 6, 2012 at 8:31 AM, Metzler, David metzlerd@evergreen.eduwrote:
**
Need more info. You should be able to inspect your server logs to find out what the exact error is. It’s possible that you have some duplicate files left over from the copy and that you’re getting functions defined twice, but need to see the specific error message from the server logs to troubleshoot further. ****
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Todd Bloom *Sent:* Tuesday, June 05, 2012 4:21 PM *To:* **support@drupal.org** *Subject:* Re: [support] Changing root dir probs****
Have you cleared the cache? If you can't log in to the admin section you can use Drush or Truncate the cache* tables in the database. ****
Many of the paths and menu routers get cached.****
Regards,****
Todd****
On 5 Jun 2012, at 15:59, Anthony wrote:****
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
-- ****
*Anthony Stefan Maciejowski*****
-- [ Drupal support list | http://lists.drupal.org/ ]****
-- [ Drupal support list | http://lists.drupal.org/ ]
On Tue, Jun 5, 2012 at 3:59 PM, Anthony tony@tony-mac.com wrote:
I moved my Drupal install from http://foo/bar to http://foo/ and can see the pages but am missing the images in the site/default/files folder even though they were moved. (background was that I was going to go live and change the name settings and Bluehost advised to move the site this way).
I also get an internal server error when I try to login at /foo/user. I have looked in the htaccess and settings.php and have changed one path to the temp dir but other than that what should I have done?
An unfortunate thing. Images have an absolute path when stored. If you move the path you need to modify the database. I forget where in the DB it is but will try to look and give you a hint.