Error upload image in add new artist was created by sahanefm
Hello all,
i have a problèm with upload any image in section add new artist.
This error message appear:
<br><b>Warning</b>: preg_match(): Compilation failed: invalid range in character class at offset 7 in <b>/home/sahan317/public_html/administrator/components/com_yendifmusicshare/libraries/class.upload.php</b> on line <b>3004</b><br><br><b>Warning</b>: preg_match(): Compilation failed: invalid range in character class at offset 7 in <b>/home/sahan317/public_html/administrator/components/com_yendifmusicshare/libraries/class.upload.php</b> on line <b>3022</b><br>
sahanetv.com/media/yendifmusicshare/artists/Koala.jpg
I tested in joomla version 2.5 and 3.x only this error message appear.
Replied by Administrator on topic Error upload image in add new artist
- Open {root}/administrator/components/com_yendifmusicshare/libraries/class.upload.php
- Search for "[\.-\w]" through whole file
- Replace all by "[\.\-\w]"
- That's it. Save the changes and try again.