Topic on Project:Support desk

Moved server: now can't upload files

3
Chris huh (talkcontribs)

I've moved my Mediawiki installation to another server and I'm now unable to upload files. Looking in the error_log I see a single line for each upload attempt:


[07-Dec-2016 13:25:23 UTC] PHP Fatal error: Call to undefined function iconv() in /home/username/public_html/wiki/includes/media/IPTC.php on line 449


Perhaps iconv isn't enabled on this server. How can I turn this on? Would it be through a php.ini file? Is there a way to confirm that iconv isn't enabled?

Thanks

Ciencia Al Poder (talkcontribs)
Chris huh (talkcontribs)

Thanks Ciencia, it turned out the image I was trying to upload was corrupt. I resaved the image and it worked fine.