Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Strange error moving store from local

    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

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

    Yes, you're right DrByte. The cause are those .DS_Store files.
    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.

  4. #4
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. Moving from Windows Server to Linux
    By EatStayPlay in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 27 Jul 2011, 01:10 PM
  2. Moving from windows server to linux server - how to restore database ?
    By PatF in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 26 Mar 2011, 02:26 PM
  3. Moving from Windows Server to Linux Server - GoDaddy
    By spetznaz2588 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Feb 2011, 07:20 AM
  4. Moving from a windows server to linux server
    By lwilliams374 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 13 Oct 2009, 04:40 PM
  5. Welcome to Zecart page after moving from Windows server to Linux Server
    By smartmomma in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 21 May 2008, 12:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR