[#11581] File upload and dblookup property types do not work
Summary File upload and dblookup property types do not work
Queue Sesha
Queue Version Git develop
Type Bug
State Assigned
Priority 2. Medium
Owners lang@b1-systems.de
Requester chowdhury_uttiya@yahoo.com
Created 2012-10-27 (3152 days ago)
Updated 2013-02-11 (3045 days ago)
Assigned 2013-02-11 (3045 days ago)
Patch No

chowdhury_uttiya@yahoo.com 2012-10-27 05:07:51
* Horde git 5.0.0 as of Oct 27
* Sesha git 1.0.0 as of Oct 27
* Driver mysql
Under manage properties, I choose file upload or image upload. Then I 
add stock and upload a file. Seemingly upload fails and under list 
stock, it shows no image/file.
Also, under manage properties, dblookup property type doesn't work.

* I have a table with one varchar column only
* For DSN field, I have tried leaving it blank (hoping horde default 
will be used, or also phptype://uc:pa$$word@localhost/ces_net (uc is 
username, pa$$word is password, mysql server is on same machine as 
webserver, database name is ces_net)
* But when I go to add new item, I get error:
Fatal error: Call to a member function selectValues() on a non-object 
in /mnt/ce/main/htdocs/horde/libs/Horde/Form/Type.php on line 3662
* For query, I am using:
select column from table;

Table is there, there is data in the table, and I have logged in to 
mysql using same username and checked that I can select from the table.