Re: [openupload-devel] Can't upload my first file !
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2010-09-14 22:58:16
|
On Mon, 13 Sep 2010 09:52:25 +0200, Guillaume Betous <gui...@gm...> wrote: >> could you check your apache log file for any error. >> > bingo ! > > thank you for your answer. > > here is the error message I found in apache.log : > PHP Fatal error : Call to undefined method FilesModule::error() in > /var/www/openupload/lib/modules/default/files.inc.php on line 164, > referer: http://xxxxxx/index.php?action=u > > I checked on phpinfo() and file_uploads is On. > > My PHP installation is a standard LAMP install on Ubuntu 10.04. > Ok, the problem of a blank page is the error. Probably at line 164 of that file it should be app()->error(... and not $this->error( beside that it probably means that your "data" directory is not writable by the apache user (www-data) or it does not exist, or that some other thing is blocking my script from moving the uploaded file to the destination path. Maybe an apparmor rule. If the latter is the case there should be some reference in some other system log. Alessandro |