Re: [support] Problems after move to new host
A couple basic things that have caught me out before: 1. the base url in settings.php - try either changing it or commenting it out 2. if you're using clean urls, they often won't work on the temporary url given by a new host (i.e. ~username), so things could be messed up until you've transferred the domain if you've not already done that. Nat -- Confidentiality: This email and its attachments are intended for the addressee only and may be confidential or the subject of legal privilege. If this email and its attachments have come to you in error you must take no action based on them, nor must you copy them, distribute them or show them to anyone. Please contact the sender to notify them of the error. Security: Security Warning: Please note that this e-mail has been created in the knowledge that e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: This email and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. Please note that electronic mail may be monitored in accordance with the Telecommunications (Lawful Business Practices) (Interception of Communications) Regulations 2000. Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of B6 Sixth Form unless explicitly stated otherwise ----------------------------------------------------------------------- This message has been inspected by DynaComm i:mail -----------------------------------------------------------------------
Nat, Thanks for the information . I have been wondering if this was related to clean URLs. I may go to back my production host, turn off clean urls, export the database, import it onto the new server and try again. Will let you know how it goes. _____ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Nathaniel Catchpole Sent: Monday, December 04, 2006 11:17 AM To: support@drupal.org Subject: Re: [support] Problems after move to new host A couple basic things that have caught me out before: 1. the base url in settings.php - try either changing it or commenting it out 2. if you're using clean urls, they often won't work on the temporary url given by a new host (i.e. ~username), so things could be messed up until you've transferred the domain if you've not already done that. Nat
It is generally recommended to clear the cache and disable clean URLs before moving a site. If you're running 4.6, then the $base_url is *required*, and should be the web path to the directory where your Drupal's index.php file resides. ($base_url became optional in Drupal 4.7.) Drupal also works fine in a subdirectory that has a ~. I do it all the time on my home test system. On Monday 04 December 2006 12:57, Larry Hedrick wrote:
Nat,
Thanks for the information . I have been wondering if this was related to clean URLs. I may go to back my production host, turn off clean urls, export the database, import it onto the new server and try again.
Will let you know how it goes.
-- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
participants (3)
-
Larry Garfield -
Larry Hedrick -
Nathaniel Catchpole