Page 1 of 1

Windows to Linux and back again...

PostPosted: Wed Jun 04, 2008 6:50 am
by edwardtivrusky
Hi, i'd just like to say thanks for a great framework it has saved me months of work, great stuff!
However i have an issue when i move my xataface site from my Wamp5 windows server to my Apache2 ubuntu server in that the valuelists and fields ini files aren't being parsed. Database access is fine and all the records show correctly but none of my customisations are being used.

SafeMode is off on both servers and so is ShortTags.
The apache account owns all the xataface files, templates_c is writeable but there's nothing in my logs about access to my ini files.

Is there a simple thing that i've missed?

PostPosted: Wed Jun 04, 2008 8:22 am
by edwardtivrusky
Ok, i think i've sorted it so i'll post here in case it helps anyone else.
Basically i had to rerun "makesite" on the linux side and then copy across my customisation files then chmod and chown them afterwards.
I thought that as my databases and webroot locations were identical on both machines i'd be able to just copy my site across from windows to linux but it doesn't seem so.

Hope this helps someone. :)

PostPosted: Wed Jun 04, 2008 9:48 am
by shannah
Everything should be portable from windows to linux. My guess is that this had something to do with file permissions, or line endings on the config files. You should not have had to run the makesite script a second time.

-Steve

PostPosted: Thu Jun 05, 2008 1:28 am
by edwardtivrusky
Thank you for your quick reply, i am planning on experimenting later to see what i did wrong as we thought that the site should just copy across too. I will post my findings if they turn out to be useful and not just down to my stupidity.