PEAK XOOPS - v2.50beta01 uploading picture problem ... in englishin japanese

v2.50beta01 uploading picture problem ...

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/28 14:28
DoiOkiBlu  Private   Posts: 1
i've been running into all sorts of problems with album-p ...even the old one . the both didn't work when i tried to upload a picture ... :(

So ...what's the problem doc? I don't know anything about php scripting ... so ... please help

Environment Check
PHP directive 'safe_mode' (both ok): on
PHP directive 'file_uploads' (need on): on
PHP directive 'register_globals' (both ok): off
PHP directive 'upload_max_filesize': 2M byte
PHP directive 'post_max_size': 8M byte
PHP directive 'open_basedir': /usr/local/www/data-dist/go/
PHP directive 'upload_tmp_dir': ok

Table Check
Photos table: xoops_myalbum_photos ok
Number of Photos: 0

Descriptions table: xoops_myalbum_text ok
Number of Descriptions: 0

Categories table: xoops_myalbum_cat ok
Number of Categories: 4

Votedata table: xoops_myalbum_votedata ok
Number of Votedata: 0

Comments table: xoops_xoopscomments ok
Number of Comments: 0



then in the new album-p ...
GD Version: bundled (2.0.15 compatible)
Check 'GD2' work correctly under your GD bundled with PHP

this one works ...


!help please! :)


Votes:6 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/28 22:06
GIJOE  Gunnery Sergeant   Posts: 4110
Quote:
DoiOkiBlu wrote:
PHP directive 'open_basedir': /usr/local/www/data-dist/go/
Perhaps, you are caught by open_basedir restriction.
you should claim to the administrator of the server that
he adds /tmp/ into open_basedir of php.ini
Votes:2 Average:10.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2003/11/29 0:24
DonXoop  Private   Posts: 3
I've added the php directive but still no upload.
Here is the debug error:
644
Warning: getimagesize(/<xoops base>/uploads/photos/18.jpg): failed to open stream: No such file or directory in <xoops base>/modules/myalbum/submit.php on line 137
DB error: UPDATE photo table

There is a tmp_xxxxxx.jpg file in the uploads/photos directory for each one I try to upload.

Is the module definetly using /tmp? Funny that it worked just a few days ago. One note, I did upload avatars and they are sitting in the <xoops>/uploads directory. Maybe related?
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/29 0:29
DonXoop  Private   Posts: 3
And another debug error I'm seeing:
Notice: Undefined index: com_order in <xoops>/include/comment_view.php on line 75

I see this when just viewing the photo album. Existing photos are working however.

Votes:3 Average:6.67
Previous post - Next post | Parent - No child | Posted on 2003/11/29 7:15
GIJOE  Gunnery Sergeant   Posts: 4110
You are doing a big misunderstanding.
The advise to DoiOkiBlu is useful for the user of shared server which limits user's access authority by open_basedir.

If you add only /tmp/ into open_basedir, you'll be able to access to only files under /tmp.

The best setting of "open_basedir" is blank.

Quote:
There is a tmp_xxxxxx.jpg file in the uploads/photos directory for each one I try to upload.
I can't see your environments and settings.
Show your result of 'Module check'.

Quote:
Is the module definetly using /tmp? Funny that it worked just a few days ago.
Usually unix servers uses /tmp as upload temporary.
What do you means about 'few days ago'?
If you updated 2.05 to 2.50beta, it may be a bug.

Anyway, tell me your environments and settings.
Votes:3 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/29 7:18
GIJOE  Gunnery Sergeant   Posts: 4110
Notice is not an error.
And this Notice is caused by XOOPS core.

If you anxious this Notice, report it to www.xoops.org
Votes:6 Average:6.67
Previous post - Next post | Parent - No child | Posted on 2003/11/29 10:53
DonXoop  Private   Posts: 3
I think there is a core bug and now being reported by others. They will be looking at it this weekend. Sorry to bother you guys. Keep up the good work.

As for open_basedir what I set is "/tmp:<web root>". This works well and protects against potential exploits.
Votes:6 Average:5.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!