Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

Weird characters in Magento

Aug 14, 2013 by Maria
I have some weird characters appearing in my Magento Connect Manager. I am also getting a message saying “Cannot re declare class”. Can anyone please help me fix this?
Thanks

1 Answer

0 votes
Aug 14, 2013 by TopNet
This could be caused by a duplicate PHP files. The file could be hidden You need to remove any duplicate files to fix this issue. Duplicate files start with ._ . You can locate and remove these files using SSH over FTP.
Use this code to locate the duplicate files
find . -name "._*.php"
Then use this code to delete the files
find . -name "._*.php" -delete