# Error when uploading

**URL:** <https://community.xibo.org.uk/t/error-when-uploading/11270>\
**Category:** Get Help\
**Created:** [August 29, 2017, 5:59am UTC](https://community.xibo.org.uk/t/error-when-uploading/11270 "2017-08-29T05:59:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjohansen](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@tjohansen](https://community.xibo.org.uk/u/tjohansen)\
**Post date:** [August 29, 2017, 5:59am UTC](https://community.xibo.org.uk/t/error-when-uploading/11270/1 "2017-08-29T05:59:40Z")

</div>

Hi im getting follow error when uploading a wmv file at 20mb to media.

> “Application Message  
> There was an error uploading this file [Code -1]”

I have searched around and did not find any info on this.

I have changed php.ini file upload size to 300m.

anyone have an idea of what could be wrong?

---

<div class="post-metadata">

**Author:** ![tjohansen](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@tjohansen](https://community.xibo.org.uk/u/tjohansen)\
**Post date:** [August 29, 2017, 7:21am UTC](https://community.xibo.org.uk/t/error-when-uploading/11270/2 "2017-08-29T07:21:39Z")

</div>

tried to create a new media video and it gave me this error:

> SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

---

<div class="post-metadata">

**Author:** ![tjohansen](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@tjohansen](https://community.xibo.org.uk/u/tjohansen)\
**Post date:** [August 29, 2017, 9:37am UTC](https://community.xibo.org.uk/t/error-when-uploading/11270/3 "2017-08-29T09:37:13Z")

</div>

thnik its is solved.

this helped:

> [@How do I upload files bigger than 2MB / How can I increase the upload file size limit?](https://community.xibo.org.uk/t/how-do-i-upload-files-bigger-than-2mb-how-can-i-increase-the-upload-file-size-limit/27):
>
> Other symptoms include an error when uploading files: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data or simply the message true Xibo does not limit file upload size - but PHP does. You need to edit your php.ini file for your system to support large file uploads. By default, the php.ini file is in the following locations: Ubuntu (with Apache): /etc/php5/apache2/php.ini Ubuntu (with php-fpm - for example with nginx or lighttpd): /etc/php5/fpm/php.ini Wind…

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [March 4, 2020, 5:08pm UTC](https://community.xibo.org.uk/t/error-when-uploading/11270/4 "2020-03-04T17:08:35Z")

</div>

Closed on March 4, 2020, 5:08pm UTC


