phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] phpWebHosting Rekindled


From: Dave Hall
Subject: Re: [Phpgroupware-developers] phpWebHosting Rekindled
Date: Sat, 21 Jun 2003 22:19:07 +1000

This is required for register_globals = off ... which has been added in
the 0.9.16 branch also ... but 14 requires regsiter_globals=on

Cheers

Dave

Sigurd Nes <address@hidden> wrote:

> Dave Hall wrote:
> 
> >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 client
> >>from 4.0.6 to 4.3.1.
> >>    
> >>
> >
> >0.9.16 depends on 4.1.0+
> >
> >  
> >
> >>Powered by phpGroupWare version 0.9.14.003
> >>
> >>No 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 where
> >>acl_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.
> >  
> >
> I havent studied the code of filemanager - but I use file upload 
> in 
> property (HEAD)
> 
> This is what works for me:
> $_FILES['document_file']['name'] - holds the file name
> $_FILES['document_file']['tmp_name'] - holds the file content
> 
> if 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
> 
> 
> 
> 
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
> 

Attachment: dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]