Bug with "single page" sections which only have upload fields

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 25, 2008   (RSS)

By webdude - February 25, 2008

I think I have found an obscure bug. Try these steps to reproduce:

1. Create a "single page" type of custom section
2. remove all fields except the built-in "num" field
3. add a single field type "upload" (screenshot 1.png)
4. after saving go and try to upload a file and save

... results in popup window with Mysql error (screenshot 3.png)

I have uploaded screenshots.


Cheers,

Webdude.
Attachments:

1.png 21K

3.png 21K

Re: [webdude] Bug with "single page" sections which only have upload fields

By Dave - February 25, 2008

Thanks for the report.

Try taking 'images' out of the search fields. It's not actually a field and not seachable. I think that may be the problem.

Let me know if that help.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Bug with "single page" sections which only have upload fields

By webdude - February 25, 2008

Hi Dave,

Tried you suggestion, still gives me the error when images isn't in the search field.

Webdude

Re: [webdude] Bug with "single page" sections which only have upload fields

By Dave - February 25, 2008

Ok, I can't reproduce this locally and haven't seen it anywhere else before.

The next step would be that I could login and take a look if you like (email ftp details to dave@interactivetools.com - don't post in forum).

Or if you are comfortable with PHP and wanted to try and track down what's going on you could look in /lib/menus/default/uploadForm_functions.php, search for "MySQL Error" and have it print out the MySQL query that's causing the error.

Sorry you've had 2 bugs in a row! That's rare. Thanks for reporting them. We'll get it sorted out ASAP.

Let me know how we can best help.
Dave Edis - Senior Developer
interactivetools.com