I get the following when I try to upload an image:
image upload host does not have the required dependicies (json_encode/decode)
Can someone point me to the way to resolve this
Thank you
I get the following when I try to upload an image:
image upload host does not have the required dependicies (json_encode/decode)
Can someone point me to the way to resolve this
Thank you
Looks like the PHP installation on your server does not have this dependancy for the upload to run. The nicUpload is a part of the nicEdit WYSIWYG editor. Try and see if you can enable this in your PHP.
Thanks for the response however...............
Please explain "Try and see if you can enable this in your PHP."
Is it something I should approach my provider with or is it something within my control?
By the way, very easy to set up and provided I can upload images, it will fit perfectly what I want to do.
Further to my last. I did try editing index.php as mentioned in an earlier item but to no avail.
Please see another post on this forum related to the same topic:
http://hardkap.net/forums/topic/image-upload-not-working
With some hosts, you may be able to add a php.ini on your server root or website directory to enable json. But, some hosts don't allow this and we have to contact the server support in such cases. Which company are you hosting with?
I did look at the post you mention and did try adding lines to index.php but that didn't work.
I'm hosting with 1and1.co.uk.
I can try them if I know what it is I'm asking for!!
As far as I can see, there isn't php.ini file anywhere on my site.
Thanks
You can try adding a php.ini file on to your folder that serves your website. See if this changes anything. Make sure to add the extension json to this. If this does not change anything, check with 1and1.
I contacted my host and they advised adding a .htaccess file so that I used php5 and not php4
Works perfectly!!
Thanks for your help
Good to know that it works now. :)
You must log in to post.