Page 1 of 1

server move issue

Posted: Mon Aug 14, 2006 9:23 am
by lennon
Hi I've a site setup using 0.13.

All was well until the hosting company moved the site. The problem I'm getting is when I go to log in.

I get this:

Warning: Unknown(): open(/tmp/php_sessions/sess_9a76046c15ae6d946cc11804879408b3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/php_sessions) in Unknown on line 0

I'm totally lost here. Can anyone please help?

When I go to tmp/ there is no php_sessions folder there?

Any help would really be appreciated

Thank you.

Re: server move issue

Posted: Mon Aug 14, 2006 1:05 pm
by lennon
Yeah I tried that but it deletes all content. I was wondering whether its the admin log? Does anyone have any ideas?

thanks rhug

Re: server move issue

Posted: Mon Aug 14, 2006 10:22 pm
by Dr.CSS
Have you checked to make sure your chmod/permissions on those files/folders are still the same as before?

Re: server move issue

Posted: Tue Aug 15, 2006 7:16 am
by Russ
I think it is the cache thingy. It has to be deleted and cleared out. You might well get blank pages but that maybe to do with the paths in your congfig file changing or the stuff for your database. (Is the dataabse still the same? Can you see the database in something like PHP Admin - or whatever your host lets you use for database management.

Hope this helps.
Russ

Re: server move issue

Posted: Tue Aug 15, 2006 12:28 pm
by Darwin Web Design
What a pain, I'd be onto my web hosting provider and get them to fix the setting their end so it works again!  :o

Re: server move issue

Posted: Tue Aug 15, 2006 4:32 pm
by lennon
Russ wrote: I think it is the cache thingy. It has to be deleted and cleared out. You might well get blank pages but that maybe to do with the paths in your congfig file changing or the stuff for your database. (Is the dataabse still the same? Can you see the database in something like PHP Admin - or whatever your host lets you use for database management.
I tried getting rid of the contentcache.php altogther and everything went blank. I checked the config and all seems well. Im actaully looking at it via the IP address at the moment as Im waiting for DNS propegation and the site to go live.

So the config is pointing to the IP rather than a www.dsfdsfasdfsdafa.blah I don't think this is the issue...?

There were also two other files:

LogUpload.txt and LogBrowser.txt I changed these values to the IP address too.

I'm really up S**T creek with this one.

If I install the template folder again and delete all thats there will I lose any data? I.E Is the template info all in that folder and not in the database.

Re: server move issue

Posted: Wed Aug 16, 2006 2:30 pm
by Dr.CSS
If you are talikng about Templates like the default ones they are stored in the DB.

I too would be talking to my host provider as you had a working site till they moved it and any good provider should not mess with your web site w/o expecting to fix these kinds of problems.

Re: server move issue

Posted: Wed Aug 16, 2006 3:09 pm
by lennon
Cheers guys.

Thanks for all the help. I know what my hosting company would say - they plead ignorance.

Was a complete nightmare the site name was in loads of press releases for today. I had to save all the html, strip the code of errors and put us as a static!