[horde] Can't add addresses nor upload files

Andreas Mauser andreas at mauser.info
Fri Mar 23 06:36:27 UTC 2018


----- Nachricht von Jan Schneider <jan at horde.org> ---------
   Datum: Thu, 22 Mar 2018 21:09:01 +0000
     Von: Jan Schneider <jan at horde.org>
Betreff: Re: [horde] Can't add addresses nor upload files
      An: horde at lists.horde.org


> Zitat von Wolfgang Rauchholz <wp.rauchholz at wo-lar.com>:
>
>> I just installed Horde / Framework 5 and being testing it, mostly  
>> it seems to be fine with the exception of the Address book  
>> functionality and file manager.
>> When trying to add a new address a message in read appears next to  
>> the Choose File button:
>> Photo / File uploads not supported
>> (1) I am not trying to upload a photo
>> (2) it does not allow to create this address.
>>  
>> I found this in /var/log/messages
>> Mar 22 15:25:09 home HORDE: [turba] PHP ERROR: Declaration of  
>> Horde_Form_Type_country::init($prompt = NULL) should be compatible  
>> with Horde_Form_Type_enum::init($values, $prompt = NULL) [pid 13984  
>> on line 0 of "/usr/share/pear/Horde/Form/Type.php"]
>>  Mar 22 15:25:09 home HORDE: [turba] PHP ERROR: Declaration of  
>> Turba_Form_AddContact::validate() should be compatible with  
>> Horde_Form::validate($vars = NULL, $canAutoFill = false) [pid 13984  
>> on line 5 of  
>> "/var/www/wo-lar.com/html/horde/turba/lib/Form/AddContact.php"]
>>  Mar 22 15:25:09 home HORDE: [turba] PHP ERROR: Declaration of  
>> Horde_Form_Action_updatefield::getActionScript(&$form, &$renderer,  
>> $varname) should be compatible with  
>> Horde_Form_Action::getActionScript($form, $renderer, $varname) [pid  
>> 13984 on line 0 of  
>> "/usr/share/pear/Horde/Form/Action/updatefield.php"]
>>  Mar 22 15:25:09 home HORDE: [turba] PHP ERROR: Declaration of  
>> Horde_Form_Action_updatefield::setValues(&$vars, $sourceVal,  
>> $arrayVal = false) should be compatible with  
>> Horde_Form_Action::setValues(&$vars, $sourceVal, $index = NULL,  
>> $arrayVal = false) [pid 13984 on line 0 of  
>> "/usr/share/pear/Horde/Form/Action/updatefield.php"]
>>  
>> In php.ini I set
>>   ; Whether to allow HTTP file uploads.
>>   ; http://php.net/file-uploads
>>   file_uploads = On
>>   
>>   ; Temporary directory for HTTP uploaded files (will use system  
>> default if not
>>   ; specified).
>>   ; http://php.net/upload-tmp-dir
>>   ;upload_tmp_dir =
>>   
>>   ; Maximum allowed size for uploaded files.
>>   ; http://php.net/upload-max-filesize
>>   upload_max_filesize = 24M
>>  
>>  
>> Also when trying to upload a file to the file manage I get an error message:
>>  A FATAL ERROR HAS OCCURRED
>> FILE UPLOADS NOT SUPPORTED.
>> in /usr/share/pear/Horde/Browser.php:1127     1.  
>> Horde_Browser->wasFileUploaded()  
>> /var/www/wo-lar.com/html/horde/gollem/manager.php:116
>> DETAILS
>> The Full Error Message Is Logged In Horde's Log File, And Is Shown  
>> Below Only To Administrators. Non-administrative Users Will Not See  
>> Error Details.
>>  
>>    Horde_Browser_Exception Object
>> Where is Horde's log file?
>>  
>> What other flag is missing?  
>>
>> Thank you for helping
>> Regards, Wolfgang
>
> Must be something local to your PHP configuration. Maybe other  
> php.ini files are loaded too, or you have PHP settings in your  
> webserver configuration, overriding the global PHP values.
>

Do you have all neccessary file system permissions to write in your  
upload directories/elsewhere?
Can you try another backend?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 3871 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <https://lists.horde.org/archives/horde/attachments/20180323/743bee6e/attachment.bin>


More information about the horde mailing list