Hi everyone, I have a question I think is very quick and simple to answer.
The company I'm working for is switching hosts and I have been re-developing the site on the new host for D7 (it was 6 on the old server). I wanted to have the site running prior to changing the DNS pointers over, so I had been developing at [address]/~[account]/ instead of the domain. This was all working fine except of course I had to change the settings file to use the address/~account as the base_url.
The problem occurred when we swapped the domain pointers over to the new site. I changed base_url back to the default using the domain, but now for some reason the $base_url variable is empty! I cleared caches etc, but this doesn't make a difference.
Anyone know what might be happening here and/or how to fix this?
Comments
addition
I should add that I first tried just returning the base_url line in the settings file to being commented out, but this didn't work either. And also that the base_url() function is not returning anything either - even a slash.
Spiralling
This is spiraling out of control. Suddenly going to /admin is causing:
Fatal error: [] operator not supported for strings in /home/[account]/public_html/includes/common.inc on line 2358
Some pages under /admin work while others cause the same error. Given there's not much on the site, I'm going to scrub it and re-install the DB and settings. I think if anyone knows what's occurring though, still worth posting. I'm not finding much evidence elsewhere on this site or others that this sort of event has been encountered before.