6.0.0-git
2018-12-15

[#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 (at) b1-systems (dot) de
Requester chowdhury_uttiya (at) yahoo (dot) com
Created 2012-10-27 (2240 days ago)
Due
Updated 2013-02-11 (2133 days ago)
Assigned 2013-02-11 (2133 days ago)
Resolved
Milestone
Patch No

History
2013-02-11 22:42:54 Jan Schneider Assigned to Ralf Lang (B1 Systems GmbH)
State ⇒ Assigned
 
2012-10-27 05:07:51 chowdhury_uttiya (at) yahoo (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ File upload and dblookup property types do not work
Queue ⇒ Sesha
Milestone ⇒
Patch ⇒ No
Reply to this comment
* 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:
<code>
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
</code>
* For query, I am using:
<code>
select column from table;
</code>

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.

Thanks.

UC

Saved Queries