PEAK XOOPS - Problem 'file_uploads' must be on in englishin japanese

Problem 'file_uploads' must be on

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/16 17:28
lev  企霹始   Posts: 3
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?
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/17 12:20
GIJOE  黎扦烦菱   Posts: 4110
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.
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/18 1:05
lev  企霹始   Posts: 3
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)
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/19 18:58
GIJOE  黎扦烦菱   Posts: 4110
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.
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/5/21 21:33
lev  企霹始   Posts: 3
I forgot to say this:
myalbum 2.7 doesn't work at all on my site/host
it has no logo in the modules list, and when i try to change settings i continually get an internal server error.

So i'm using myalbum 2.65, and with the 'file_uploads change' it works fine. Thank you again.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!