Ok..........I made it thru "hell weekend". My new client's site is up and (kind of) running........I am waiting on DNS....now my question. In the settings file (both drupal and CiviCRM) I set the baseURL to the IP address (not the domain name).....because I have to wait on DNS. When DNS propogates, do I have to change it (the IP address) to the domain name? Also.........I have read in posts that flushing a table is sometimes necessary.........well, I missed that step but which table is it and can I flush it whenever I make changes to the site (like URL).?
I did notice SOME problems with the site..........page not found or blank pages. But I thought since I got to the site thru the domain name, all was ok (stupid me...I need to wait) so I changed the setting from the IP address to the domain name........ I had to change that back in a hurry!
Any insight anyone can give me will help. My first time using DRUPAL but I used PostNuke and am using DotNetNuke on my portal. I did replace my PostNuke installation with DRUPAL since I couldn't upgrade PostNuke to the most current version..........I do like the availability of some of the features that was missing with PostNuke. Thanks for any help or pointers.
Comments
A few pointers
BaseURL should be set to the domain name, not the IP address.
You don't need to access the site via IP address!
Just edit your local hosts file (c:\windows\system32\drivers\etc\hosts under windows) and put the new IP address in there, along with the domain name of the site.
Then you will be able to access the website by typing the proper DNS name into your webbrowser.
Once "DNS has propogated" (I hate this expression, it isn't how DNS works but anyway) you can then remove the manual entry in your hosts file.
You should check the error logs of the webserver whenever you see page not found or blank pages, blank pages are almost always caused by a PHP fatal error.
You shouldn't need to flush any tables, how did you export and reimport the data?
I imported and exported thru
I imported and exported thru PHPMyAdmin.....and the server is running under linux. I keep getting these blank pages when I click on links - log out and the like.
Shadow
The database table which you
The database table which you should truncate after a change is the 'cache' table. This is either required or just "for good measure", depending on the change.
If your Drupal installations are (a) separate and (b) not in subdirectories, then you can leave the $base_url commented out (with a # in front) and just truncate the cache table.
If your site(s) are in subdirectories (yourdomain.com/drupal or nnn.nnn.nnn.nnn/drupal) then the $base_url is required and must be correct and without a # in front.
If you are running multiple sites from the same Drupal installation, using different directory names under '/sites' instead of 'default', then the names of these directories are really important, much more important than the $base_url.
------
Edit: The blank pages and logouts are a different problem. Is your PHP 5.2?
No - I am running PHP 4.4.
No - I am running PHP 4.4. I keep getting these occasional blank pages or the error saying DRUPAL could not access the database but some of the pages work. This started happenng when I move the site from one server to another. That was why I thought it was "a clearing the cache" problem.
Shadow
Take a look at the
Take a look at the troubleshooting FAQ
http://drupal.org/node/199
If you have occasional blank pages but the /admin/modules page always goes blank, then it is the first one (PHP memory shortage).