|
From: | Sigurd Nes |
Subject: | Re: [Phpgroupware-developers] phpWebHosting Rekindled |
Date: | Sat, 21 Jun 2003 13:01:24 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030525 Thunderbird/0.1a |
Dave Hall wrote:
I havent studied the code of filemanager - but I use file upload in property (HEAD)Bob Crandell <address@hidden> wrote:Hi,For those of you following this episode on the edge of your chairs, I am making progress. The issue is this client lost the ability to upload files with phpwebhosting (filemanager). After changing php versions to 4.3.2, 4.2.3, 4.0.6, it kindof started to work. This told me this all started when I upgraded this clientfrom 4.0.6 to 4.3.1.0.9.16 depends on 4.1.0+Powered by phpGroupWare version 0.9.14.003No newer version worked at all. Php version 4.0.6 produces this error:Database error: Invalid SQL: select acl_location, acl_rights from phpgw_acl whereacl_appname = 'phpgw_group' and acl_account =MySQL Error: 1064 (You have an error in your SQL syntax near '' at line 1)File: /home/web/htdocs/phpgroupware/phpgwapi/inc/class.acl.inc.php Line: 519 Session halted. What does this error mean?After almost a week with no feedback, even this kind of feedback from this thing is such a relief. I'm starting to think there might be some hope after all.Sometimes the file gets uploaded. Sometimes it just creates a 0 byte entry.The test file is 103 bytes.Sounds to me like the temp path is the issue.
This is what works for me: $_FILES['document_file']['name'] - holds the file name $_FILES['document_file']['tmp_name'] - holds the file contentif uploading multiple files - the first name is held by $_FILES['document_file'][0]['name']
('document_file' is the field name in the form) the upload_tmp_dir must be set corectly in php.ini Sigurd
[Prev in Thread] | Current Thread | [Next in Thread] |