Moving D7 to root problems

Hi Guys,

I have just finished moving my sub-directory to the root folder of my site, but when I change the header.inc file I just get a blank page. As soon as I put the sub folder name back into header, it works fine because I still have the sub folder in htdocs...should I be changing any other files at all or doing anything with the database etc?

Thanks in advance for any advice

Cheer

Quote · 11 Feb 2010

Are you changing both lines. The url line and the path line. There are 2 that need to be changed.

https://www.deanbassett.com
Quote · 11 Feb 2010

Hi Deano - yep have changed both, but just keeps coming up with a blank page :(

Quote · 11 Feb 2010

There has to be a error. Error reporting must be turned off in php.ini or logged. Check for a error log file in the root directory. Becuse the site was copied, it's possable all the permissions did not copy over. So all of the permissions normally set during install may need to be checked again.

https://www.deanbassett.com
Quote · 11 Feb 2010

Have you checked your .htaccess ??

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 11 Feb 2010

Hi deano - I turned on error reporting in the php.ini and am getting some garbled message that says:

Fatal error: Uncaught exception 'Exception' with message 'Temp directory htdocs/plugins/phpids/IDS/../../../tmp/default_filter.cache seems not writable' in /htdocs/plugins/phpids/IDS/Caching/File.php:135 Stack trace: #0 /htdocs/plugins/phpids/IDS/Filter/Storage.php(268): IDS_Caching_File->setCache(Array) #1htdocs/plugins/phpids/IDS/Filter/Storage.php(111): IDS_Filter_Storage->getFilterFromXML() #2 /htdocs/plugins/phpids/IDS/Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init)) #3 /htdocs/inc/security.inc.php(51): IDS_Monitor->__construct(Array, Object(IDS_Init)) #4 /htdocs/inc/header.inc.php(172): require_once('/home/default/s...') #5 /htdocs/index.php(40): require_once('/home/default/s...') #6 {main} thrown in /htdocs/plugins/phpids/IDS/Caching/File.php on line 135

lol time to start pulling my hair out again :-(

Quote · 11 Feb 2010

would anything need changing in .htaccess?

Quote · 11 Feb 2010

No. .htaccess file changes.

https://www.deanbassett.com
Quote · 11 Feb 2010

Hi deano - I turned on error reporting in the php.ini and am getting some garbled message that says:

Fatal error: Uncaught exception 'Exception' with message 'Temp directory htdocs/plugins/phpids/IDS/../../../tmp/default_filter.cache seems not writable' in /htdocs/plugins/phpids/IDS/Caching/File.php:135 Stack trace: #0 /htdocs/plugins/phpids/IDS/Filter/Storage.php(268): IDS_Caching_File->setCache(Array) #1htdocs/plugins/phpids/IDS/Filter/Storage.php(111): IDS_Filter_Storage->getFilterFromXML() #2 /htdocs/plugins/phpids/IDS/Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init)) #3 /htdocs/inc/security.inc.php(51): IDS_Monitor->__construct(Array, Object(IDS_Init)) #4 /htdocs/inc/header.inc.php(172): require_once('/home/default/s...') #5 /htdocs/index.php(40): require_once('/home/default/s...') #6 {main} thrown in /htdocs/plugins/phpids/IDS/Caching/File.php on line 135

lol time to start pulling my hair out again :-(

Yup. Permission issues.

DO the following. Empty the cache, cache_public and tmp folder on the server. Leave the .htaccess file that is in the cache folder.

Set the 3 folders to 777 mode permissions and try again.

All of the other site permissions may need to be fixed also, but that should get it running again.

https://www.deanbassett.com
Quote · 11 Feb 2010

thanks so much for your help deano you were perfectly right- I just did a chmod and pasted all the saved permissions and it came straight up...phew!

lol

going to check that everything else works now too...

Thanks again mate - much appreciated!

Cheer

Quote · 11 Feb 2010

thanks so much for your help deano you were perfectly right- I just did a chmod and pasted all the saved permissions and it came straight up...phew!

lol

going to check that everything else works now too...

Thanks again mate - much appreciated!

Cheer

Don't forget to adjust your cron job path.

https://www.deanbassett.com
Quote · 11 Feb 2010

hehe already did that - it all seems to be working fine now :) the hair is saved for tonight lol

thanks again mate :)

Quote · 11 Feb 2010

I moved my site recently to a new server. Had quite a few issues. That was one.

You will want to check everything. Esp avatar, photo, sound and video uploads.

https://www.deanbassett.com
Quote · 11 Feb 2010

the vids seem fine - got to test sounds and so on but one thing that seems to be happening is when I log in, it seems to have the home page loaded up behind my profile page acting kind of weird too... :-(

Quote · 11 Feb 2010

You may need to turn off the caching options in admin, then empty the cache, cache_public and tmp folders and leave the caching off until everything is tested.

https://www.deanbassett.com
Quote · 11 Feb 2010

everything seems to be working with the caching turned off at the moment - will do some testing for an hour or so - it seems to have messed up just a couple of the graphics during the copy process so going to change them now...do I have to turn caching back on or can it be left off?

Quote · 11 Feb 2010

everything seems to be working with the caching turned off at the moment - will do some testing for an hour or so - it seems to have messed up just a couple of the graphics during the copy process so going to change them now...do I have to turn caching back on or can it be left off?

The caching will improve speed, but as your working on the site, it's best to leave it off during that time becuse the caching may interfear with your efforts.

https://www.deanbassett.com
Quote · 11 Feb 2010

thanks mate - will turn it back on later when I have done a bit more testing :)

Quote · 11 Feb 2010

"during a copy process"... isn't it possible that you uploaded the images in ASCII mode? Usually that messes up binary graphic files.

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 12 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.