I've just installed, myalbum. But when i try to upload a file, I get this error: PHP directive 'file_uploads' has to be turned on . But when I execute phpinfo on my remote host, 'file_uploads' is turned on. Any solutions?
hi lev.
It sounds odd.
But you can try this.
line 35 in submit.php
// check file_uploads = on
//if( ! ini_get( "file_uploads" ) ) {
// redirect_header(XOOPS_URL."/modules/$mydirname",5,"PHP directive 'file_uploads' has to be turned on");
// exit ;
//}
I wanna know this change is useful or not.
thanks a lot, it really works.
But: when I check "check configuration" in the admin panel there still is this:
php directive 'file_uploads' (must be on): off
(it also was there before i changed submit.php)
maybe it is just a problem with my host(lycos)
hi lev.
Quote:
thanks a lot, it really works.
But: when I check "check configuration" in the admin panel there still is this:
php directive 'file_uploads' (must be on): off
(it also was there before i changed submit.php)
maybe it is just a problem with my host(lycos)
Thank you for reporting.
Perhaps, your host hacked a PHP function of ini_get().
I think I should modify myAlbum-P can work with such hosts.