This topic is locked
[SOLVED]

 Photo won't add

8/30/2012 10:06:40 PM
PHPRunner General questions
C
cjsaputo author

I have two tables each with their own tab. I have a photo in each table. There are two fields, one called thumb as mediumblob and the other called photo as longblob. I have been adding and editing and viewing the photos successfully in table one but when I try to add a new record with photo in table two I get the following error:
Technical information

Error type 2

Error description imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions

URL www.mibarn.net/MBPN BOY Maintenance/output/pride_of_ownership_add.php?ferror=1&fly=1&

Error file /home/content/s/i/g/signaturells/html/MBPN/MBPN BOY Maintenance/output/include/phpfunctions.php

Error line 277

SQL query

More info
Also, when trying to edit a record that exists without a photo the photo won't upload and says "No file chosen".
The screen settings on all PHP Runner screens are the same. I have also tried to upload one of the photos from tab one to a record in tab two. Even though it uploaded fine in tab one the error pops up on tab two.
Any help would be appreciated.

C
cjsaputo author 9/8/2012

I just tested the original table, which was working in 6.0. It now receives the same error when trying to add a photo. I believe this could be a 6.1 issue. Any one else seeing this?