This topic is locked

Anyone having problems with Photo fields?

2/23/2009 8:05:44 PM
PHPRunner General questions
H
horsey_kim author

I been trying to have photos upload. I created a database with photo field of varchar (50) and set the field up to resize to 450 pxl wide. I have done about 4 different projects trying to figure out why I have so many problems with it.

  1. I used templates that I modified and the first time I used them inlineadd worked and inline edit would not show any fields open to edit below the photo field. I moved the photo field to be the last field (vertical layout) and then it worked. But the inline add did not work - it would show the green check and cancel sign but no fields open for adding. I have double and triple checked all my settings and it should work.
  2. Then I decide maybe I did something when I changed a template. So I changed the theme layout and style so that I used only phprunner ones provided. I still had the same problem.
  3. I then open a new project and tried again using only the templates provided. Now I have inline add but no inline edit. I thought it might be the fact I was using the vertical layout. so I switch to hortizonal layout and still had the same problem.
  4. Tried again and now the inline edit don't work and the inline add does.
  5. I even tried to include add and edit pages along with the inline add and inline edit and still the same problems.
    I am wondering if anyone else has had these problems and if you came up with a solution. I have an ticket in for support and I think they are trying to figure out what is going on too. I am going to keep experiementing. I think my next round of testing will be I use 4.2 and see if I get the same problems.
    Unfortunately I am on a big project that was suppose to be done 3 days ago and now I am back at square one, so if anyone has any ideas I appreciate any suggestions to try out. I know that support works really hard and I appreciate all that they do too.
    Have a great day,
    Kim

H
horsey_kim author 2/24/2009

Support to the rescue! Thanks
Turns out that I just needed a couple of "" around a default value in the field settings.
I feel silly. Sometimes it just takes another set of eyes to find what is obvious. I still wasn't sure until I was told the "" was missing. duhhh.
Thanks again Support.