JSON Error

When i try do Upload a picture in the post section i get the error: JSON Error ?

Can anyone tell me why ?

Quote · 20 Nov 2015

Please check if you have all hosting requirements in Admin panel > Tools > Host Tools > Audit ?

Rules → http://www.boonex.com/terms
Quote · 22 Nov 2015

Everything in Admin Panel is green. Error apperas after clicking on the "insert image" button when you write a new post.

 

Her are my PHP Settings

  • PHP: 5.4.45-1~dotdeb+7.1 - OK
    • allow_url_fopen = On - OK
    • allow_url_include = Off - OK
    • magic_quotes_gpc = Off - OK
    • memory_limit = 2147483648 - OK
    • post_max_size = 268435456 - OK
    • upload_max_filesize = 268435456 - OK
    • register_globals = Off - OK
    • safe_mode = Off - OK
    • disable_functions = - OK
    • php module: curl = curl - OK
    • php module: gd = gd - OK
    • php module: mbstring = mbstring - OK
    • php module: xsl = xsl - OK
    • php module: json = json - OK
    • php module: fileinfo = fileinfo - OK
    • php module: openssl = openssl - OK
    • php module: zip = zip - OK
    • php module: ftp = ftp - OK
    • php module: calendar = calendar - OK
    • php module: exif = exif - OK
  • MySQL: 5.6.25-1~dotdeb+7.1-log - OK
json.png · 215.1K · 243 views
Quote · 30 Nov 2015

Try to check if open_basedir restriction is in effect ?

Rules → http://www.boonex.com/terms
Quote · 30 Nov 2015

How can i check this ? I have done a fresh install directly in htdocs. Now the Json Error disappears. Now i get the Error: Path isn't a directory: /Name

Quote · 30 Nov 2015

Try to check if open_basedir has any value in phpinfo:

Admin Panel > Tools > Host Tools > phpinfo

Rules → http://www.boonex.com/terms
Quote · 1 Dec 2015

Open basedit seems to be correct. Her are the values:

 

open_basedir/var/www/web4/htdocs:/var/www/web4/apps:/var/www/web4/priv:/var/www/web4/tmp:/usr/share/pear:/usr/share/php:/tmp:/usr/bin/:usr/local/bin/

 

My php base directory is: /usr/bin/php

in the header.inc and when i make a request over putty whith whereis php.

 

Quote · 1 Dec 2015

Problem still exsist. Is there to config the moxiemanager ? Can we disable it ? Need urgent help we wanto to go live in the next days.

Quote · 2 Dec 2015

i got error:

TypeError: u.get(...) is null
 
...}function n(){function e(){t.disabled(!u.get("file").get("canWrite"))}var t=this...
in the moxman.api.min.js
 
 
moxie.png · 96.2K · 310 views
Quote · 2 Dec 2015

open_basedir must be empty/none to make moxiemanager to work properly.

You can disable moximanager in templates/base/scripts/BxBaseEditorTinyMCE.php file, by commenting out the following line in THREE places:

//moxiemanager: '{bx_url_tinymce}../moxiemanager/plugin.min.js'
Rules → http://www.boonex.com/terms
Quote · 3 Dec 2015

Thanks, i will give it a try. I think for livego we will disable the moxiemanager. On the Moxiemanager Site i saw there is an Update to 2.09 and the describtion describes my problem, but where can i get a copy i can only buy licenses ?

 

  • Fixed bug where url resolvement didn't properly handle client side rootpaths.
  • Fixed bug where uploads from dropbox would produce an file exists error even if the file didn't exist.
 
To the open:_basedir Problem in every configuration on different servers there is always the base /var/www/path in the table row ? Sure that the row must be empty ?
 
Thanks for your Support.
Quote · 3 Dec 2015

 

table row ?


Table row?

What is it your looking at? The open_basedir restriction is a setting found in the servers php.ini configuration file. It's not in a database table.

Dolphin has always had very specific server requirements. And the open_basedir requirement has been there even way before moxiemanager was included in dolphin. There is more that can malfunction in dolphin if the requirements are not met. 

List of hosting requirements is here. https://www.boonex.com/trac/dolphin/wiki/DolTech



https://www.deanbassett.com
Quote · 3 Dec 2015

Sorry for the missunderstanding. I meant the "table row" in the backend under host tools / PHP info.

table.png · 7.2K · 231 views
Quote · 3 Dec 2015

I´ve copied the complete installation to a new Server and disabled open_basdir- Works like charme. Thanks for support, but i recommend to change this because of security reasons.

 

 

Quote · 3 Dec 2015

There is already a ticket for this - https://github.com/boonex/dolphin.pro/issues/115 

I´ve copied the complete installation to a new Server and disabled open_basdir- Works like charme. Thanks for support, but i recommend to change this because of security reasons.

 

Rules → http://www.boonex.com/terms
Quote · 4 Dec 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.