Weird characters in Magento

asked Aug 14, 2013 in E-commerce by Maria (1,020 points)
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?

1 Answer

0 like 0 dislike
answered Aug 14, 2013 by TopNet (10,360 points)
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