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! :)
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
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?
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.
Notice is not an error.
And this Notice is caused by XOOPS core.
If you anxious this Notice, report it to
www.xoops.org
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.