Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
I am using nuBuilder 2.x for a couple of projects for a couple of years and love it!
Excited about 3.0, I installed it and tried to make it my own. When trying to upload images I encounter a problem.
Upload looks fine but the DB field with the image data is empty. No error is shown and the debug info looks good as well.
I did. To be sure I did it again. It seems like the file is not uploaded to the /tmp folder.
As far is I understand it, It should be in the folder before hitting 'save' right? Permissions for the folder seem ok.
Any ideas?
First of all I have to admit that I'm an idiot. I thought I had 'magic quotes' deactivated through .htaccess but I forgot that with my webhost I have to do it with php.ini.
With magic quotes turned off It works.
Having said that.... Now I can upload the image file. Upon pressing 'save' I get a JSON parse error popup. However, leaving the screen I can see that the image is saved successfully in the DB. So there appears to be some bug there.
Edit: I receive the 'Requested JSON parse failed.' with every submit. I'll create a different topic.
I discovered the source of my issues. First: my webhost defaults to PHP 5.2x which caused issue with escaping quotes. Manually switching to PHP 5.5 fixed the issue.
The JSON parse errors are caused by foreign key constraints in the DB. My create script put them in. Nubuilder 2.x didn't like them and, apparently Pro doesn't either.