Welcome Guest, Not a member yet? Register   Sign In
iupload language issue
#1

[eluser]Maglok[/eluser]
I am developing a bi-lingual application at the moment.

I have a working iupload field that is not required. The strange thing is, in the english version it is no problem it just works. In the dutch version I get a '- upload_no_file_selected' error and cannot proceed with the upload.

This happened when I got the application to use two languages. I determine the base language in the config file. I have a sneaking suspicion it has to do with the fact I don't have a dutch translation of the iupload error messages.

I do not comprehend why this happens. I do not have a huge amount of experience in the language class, so any help is appreciated.
#2

[eluser]Maglok[/eluser]
Fixed: Interestingly enough if you don't have a upload_lang.php it will error, if you have one but it is empty it will just go on usually. But now I don't know why, it really wanted it so it threw a message at me instead of a PHP error.

The fix was to just grab the dutch file of it and it works. Though it's a bit odd that the application would crash/error over a language file it couldn't find.




Theme © iAndrew 2016 - Forum software by © MyBB