PEAK XOOPS - Problem with uploading picture in englishin japanese

Problem with uploading picture

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2004/2/17 21:32
karuna  办霹始   Posts: 16
i use myalbum-p 2.63
At first it works fine.

But after i changed my host, both the myalbum and imagemanager can't upload anything.
The myalbum is here:
http://ppfans.com/modules/myalbum/

But this Uploaoder can upload images.
http://ppfans.com/uploader

And after i upgade xoops to 2.06 the imagemanager works fine again.

dear master can you tell me what's wrong with my host?

the host's checker is here
http://www.ppfans.com/env.php

ths
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/2/17 22:17
karuna  办霹始   Posts: 16
Here is the Environment Check

PHP directive 'safe_mode' (both ok): off
PHP directive 'file_uploads' (need on): on
PHP directive 'register_globals' (both ok): on
PHP directive 'upload_max_filesize': 10M byte
PHP directive 'post_max_size': 8M byte
PHP directive 'open_basedir': /usr/local/www/html/karuna.wayboy.net
PHP directive 'upload_tmp_dir': ok
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/2/18 5:10
GIJOE  黎扦烦菱   Posts: 4110
Quote:
karuna wrote:
PHP directive 'open_basedir': /usr/local/www/html/karuna.wayboy.net
Perhaps this directive prevents myAlbum-P from uploading photos.
I think open_basedir should also include /tmp/ .
You can claim it to the administrators.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/2/18 22:28
karuna  办霹始   Posts: 16
Thanks
But the administrator told me that is not safe to include /tmp/ T.T

Is there any way to modife myAlbum-p to use another tmp_path inside the open_basedir?

Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/2/21 18:31
GIJOE  黎扦烦菱   Posts: 4110
hi karuna.

I'm sorry that my reply is too late.

Quote:
karuna wrote:
Thanks
But the administrator told me that is not safe to include /tmp/ T.T
The limitation is non-sense.
But criticizing him is more non-sense.

Quote:
Is there any way to modife myAlbum-p to use another tmp_path inside the open_basedir?
If you can override upload_tmp_dir, you can put .htaccess like this:

php_value upload_tmp_dir /usr/local/www/html/karuna.wayboy.net/tmp

I don't know whether it helps you...
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/2/23 1:07
karuna  办霹始   Posts: 16
now i can use it again ^^

thanks for your help
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/6 2:36
wiredhead  企霹始   Posts: 3
I am also having problems uploading pictures.

I receive the error:
PHP directive "file_uploads" has to be turned on

I am Running XOOPS 2.0.6 and myAlbum-p 2.6

When I run the 'checkconfigs' the checker output reports that I need to turn file uploads on but how???
PHP directive 'file_uploads' (need on):
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/6 5:48
GIJOE  黎扦烦菱   Posts: 4110
hi wiredhead.

If you have the server's admin, edit php.ini.

Else, you can probably set .htaccess like this.
php_flag file_uploads On
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/6 12:08
wiredhead  企霹始   Posts: 3
Thank you for replying to my message.
I only have access to files in my directory. The webserver is a commercial Linux server. Question? where do I put the .htaccess file in the directory structure??? In my root directory?

Thank you.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/7 18:08
GIJOE  黎扦烦菱   Posts: 4110
It is better to place .htaccess in your DocumentRoot.
(~/public_html or ~/www etc...)

You can claim it to the servers's administrator.
Since file_upload is basic function for PHP,
this directive should be enabled in php.ini.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/9 4:27
wiredhead  企霹始   Posts: 3
I upgraded to myalbum-p-2.7 wich I know is in Beta form. I am still unable to upload pictures with the new installation. I am getting the exact same errors.

PHP directive 'file_uploads' (need on):
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/4/9 6:05
GIJOE  黎扦烦菱   Posts: 4110
"file_uploads" is very basic directive.
Any php scripts can't upload any files, if "file_uploads" is turned off.

Though you put .htaccess, you still see "file_uploads off".
If it is true, you'd better to quit the service.

With the service, nobody can use uploading features.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!