Error returned while uploading
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
1. I am using myalbum 2.87, I have check all the file that I uploaded, there are no any missing file
2. I have set the saving path for the photo as /uploads/photos , and the permissions also set as 777
3. When I perform "Check configuration and environment", there are no any problem.
4. The "GD2" are workings properly
I have try using "myalbum" in my dummy server (xoops 2.0.14) , it works properly.
But when I install "myalbum" in my actual server (xoops 2.0.15), this uploading error will appear,so I cant upload any photo.
So, why this problem occur?? can any one help me??
Thanks
Result of "Check configuration and environment":
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': 10M byte
PHP directive 'open_basedir': /home/zhangten:/usr/lib/php:/usr/local/lib/php:/tmp
PHP directive 'upload_tmp_dir': ok
Table Check
Photos table: xoops_myalbum_photos ok
Number of Photos: 0
Descriptions table: xoops_myalbum_text ok
Nomber of descriptions : 0
Categories table: xoops_myalbum_cat ok
Number of Categories : 1
Votedata table: xoops_myalbum_votedata ok
Number of Votedata : 0
Comments table: xoops_xoopscomments ok
Number of Comments : 0
检测设置
图片Pipe: GD
GD Version: bundled (2.0.28 compatible)
检查 'GD2' 是否正常工作
如果该链接的页面不能正常显示,就不要启用GD的 truecolor 模式.
图片目录: /home/zhangten/public_html/uploads/photos ok
图片和所略图链接检测
开始检测 .ok
Votes:16
Average:3.75
msg# 1.1
Right now I already know why the problem appear already.
This problem is cause by the module of "protector 2.56"
That means this problem occur after I edit the mainfile.php :
include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;
if (!isset($xoopsOption['nocommon'])&& XOOPS_ROOT_PATH != ' ') {
include XOOPS_ROOT_PATH."/include/common.php";
}
include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;
Then after I replace it with the original mainfile.php, the "myalbum" module can works properly already.
But now, if I never edit the mainfile.php, then how am I going to use the "protector 2.56" module ??
Is it possible that these two modules cannot be use together??
Hope to solve this problem soon, thanks!
Votes:13
Average:0.00
msg# 1.1.1
Perhaps you can see the reason in Protect Center.
"MultiDot" or "Camouflage image".
Votes:10
Average:9.00