Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Strange error moving store from local mac to linux server

Strange error moving store from local mac to linux server

Views: 2,400

Results 1 to 6 of 6
20 Jan 2012, 8:29 PM
#1
beppuzzo avatar

beppuzzo

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Strange error moving store from local mac to linux server

Hello guys,
I use zencart since several years but today I have this error:
Mac OS X 2°âATTR;šÉÿâ˜J˜Jcom.apple.quarantine0001;4f0b4ecb;Safari;893E1E38-6305-45FA-994C-CA20047CDB1C|com.apple.SafariThis resource fork intentionally left blank ÿÿ

This is what I done:
I copied my store from web to my local MAMP server (mac), I done some work on it and on db. Before to re-move my store to web, I decided to move it on my local server LAMP (linux) just to be sure that everything is working fine but..... I get that error. What can I do?
About the db, I backup it from MAMP (mac) and import into LAMP (linux).
If I do the opposite way, from LAMP to MAMP, everything is working fine.
Thanks in advance for your kindly help.

20 Jan 2012, 11:18 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Strange error moving store from local mac to linux server

When you copied the files, you included the hidden .DS_Store files that your Mac generated. Those are not friendly to Linux, and will cause you problems.
Delete those .DS_Store files, and your problem should go away.

21 Jan 2012, 3:50 PM
#3
beppuzzo avatar

beppuzzo

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Strange error moving store from local mac to linux server

Yes, you're right DrByte. The cause are those .DS_Store files.:clap:
Removing them manually is a very hard work. I found this terminal command (for osx) that should remove ALL of them from my hd:
sudo find / -name ".DS_Store" -depth -exec rm {} ;

Then, I moved the cleaned store folder on linux server and...now it's working at 50%. Now I can see the main page, items and everything but I still have the same error. I can't log into admin too.
I double checked about .DS_Store files and there is no one.
Really don't know what else could be the cause.:(

21 Jan 2012, 4:23 PM
#4
beppuzzo avatar

beppuzzo

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Strange error moving store from local mac to linux server

--update--
When I done some file overwrite or file editing, OSX Lion saves as hidden file the original one. Now I'm deleting all the hidden files and it seems that my store is working fine.
Is there any simple way to delete hidden files in one click?

21 Jan 2012, 10:55 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Strange error moving store from local mac to linux server

There are many tools available for deleting those files automatically.
However, Finder automatically recreates them whenever you visit those folders again.

If you use a tool to synchronize files from your Mac to your server, you should be able to tell it to ignore certain filenames. Most FTP programs will also let you specify files to ignore.

23 Jan 2012, 3:56 PM
#6
beppuzzo avatar

beppuzzo

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Strange error moving store from local mac to linux server

Actually, I solved the problem but I'm still looking for a nice tool for deleting automatically.
Thank you for your precious help!:clap: