error message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data piwigo
I am using Centos7
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.6.26 - MySQL Community Server (GPL)
Protocol version: 10
User: root@localhost
Server charset: UTF-8 Unicode (utf8)
Apache
Database client version: libmysql - 5.6.26
PHP extension: mysqli Documentation
PHP version: 5.6.29
Thanks
error message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data piwigo
I am using Centos7
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.6.26 - MySQL Community Server (GPL)
Protocol version: 10
User: root@localhost
Server charset: UTF-8 Unicode (utf8)
Apache
Database client version: libmysql - 5.6.26
PHP extension: mysqli Documentation
PHP version: 5.6.29
Thanks
<!-- github-sync-id:275588644 -->
I also see this problem. Any progress? Any work-around?
On create of album, one is confronted with the error (as above).
To some extent, the album seems to be created (it is listed in the list of albums)
but one is unable to do anything with it.
from the dashboard, one can choose an album.
I appear to be able to choose the 'edit album' option.
But from here, clicking the 'add photos' option takes me to the 'web form' tab where I could 'Start Upload' .... but I am prompted to now create an album... as there are again suddenly none to choose from.
I also see this problem. Any progress? Any work-around?
On create of album, one is confronted with the error (as above).
To some extent, the album seems to be created (it is listed in the list of albums)
but one is unable to do anything with it.
from the dashboard, one can choose an album.
I appear to be able to choose the 'edit album' option.
But from here, clicking the 'add photos' option takes me to the 'web form' tab where I could 'Start Upload' .... but I am prompted to now create an album... as there are again suddenly none to choose from.
<!-- github-comment-id:403841637 -->
I got this problem, can't upload via webform. It just gives me a bar which doesn't progress. Getting this error in de firefox debug screen:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
jquery.min.js:5:15991
TypeError: uploadCategory is null
Running the latest version as of today.
I got this problem, can't upload via webform. It just gives me a bar which doesn't progress. Getting this error in de firefox debug screen:
```
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
jquery.min.js:5:15991
TypeError: uploadCategory is null
```
Running the latest version as of today.
<!-- github-comment-id:447641304 -->
yes it is ; you will easily be assured on our forums where you can have answers provided by the doc, old messages or the community
yes it is ; you will easily be assured on our forums where you can have answers provided by the doc, old messages or the community
<!-- github-comment-id:452909642 -->
I fixed it ! I was also having the same problem as #1134 and I was just ignoring it, but it turns out that it was the cause : php was outputing the warning also to the json output, causing the parse to fail. I fixed it by making sure the display_errors was set to false in my php.ini, and by editing include/common.inc.php:88 which was setting display_errors to true.
I fixed it ! I was also having the same problem as #1134 and I was just ignoring it, but it turns out that it was the cause : php was outputing the warning also to the json output, causing the parse to fail. I fixed it by making sure the `display_errors` was set to false in my `php.ini`, and by editing `include/common.inc.php:88` which was setting `display_errors` to true.
<!-- github-comment-id:570136917 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
error message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data piwigo
I am using Centos7
Thanks
I also see this problem. Any progress? Any work-around?
On create of album, one is confronted with the error (as above).
To some extent, the album seems to be created (it is listed in the list of albums)
but one is unable to do anything with it.
from the dashboard, one can choose an album.
I appear to be able to choose the 'edit album' option.
But from here, clicking the 'add photos' option takes me to the 'web form' tab where I could 'Start Upload' .... but I am prompted to now create an album... as there are again suddenly none to choose from.
I got this problem, can't upload via webform. It just gives me a bar which doesn't progress. Getting this error in de firefox debug screen:
Running the latest version as of today.
Same here - I have had multiple issues with the Piwigo installation. Is this still being actively supported?
yes it is ; you will easily be assured on our forums where you can have answers provided by the doc, old messages or the community
I have the same problem (nothing shows on firefox console). Has there been any progress on that issue ?
I fixed it ! I was also having the same problem as #1134 and I was just ignoring it, but it turns out that it was the cause : php was outputing the warning also to the json output, causing the parse to fail. I fixed it by making sure the
display_errorswas set to false in myphp.ini, and by editinginclude/common.inc.php:88which was settingdisplay_errorsto true.