Trouble Uploading Trouble Uploading
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Trouble Uploading

Started by gasparmedia, May 16, 2005, 01:08:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gasparmedia

I have spent 2 days now reading through the board, the FAQ's and stickies here trying every remedy recomended but it seems that i still cant upload single photos, can someone tell me where i am going wrong:

the error is the usual "check my server" with the line of code refering to "/db_input.php - Line: 222"

I am using coppermine 1.3.3

i have all my CHMOD's set to 777 (i have also tried them at 755, but was told with my server to set them at 777) webair.con

i have set my group settings to "single file uploads only"

It appears that my server has the file upload on from the debug text:
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value

the 2 things that i have seen on here that im not clear on that might help
one is the temp folder but i have seen 3 different folder names recomended(tmp, temp & tmp folder), and no instructions where this folder is supposed to be. in the database, in the coppermine folder, or in the albums folder....
second is the .htaccess code and once again i could not figure out if this is needed or the exact location of this file. one said to put it in the coppermine folder...


please help!

javageddon

I really hope your problem is like mine!
i use php5 with apache and couldn't upload any pic.
always error in db_input.
the problem was that php5 has deprecated some function like $HTTP_POST_VARS, $HTTP_GET_VARS,
$HTTP_POST_FILES.

try to change all this with $_POST, $_GET, $_FILES in db_iput.php!
i solved my problem this way.
hope you solve your problem.!

http://unreal.javageddon.it
rfustinoni@hotmail.com if you need help!

javageddon

I really hope your problem is like mine!
i use php5 with apache and couldn't upload any pic.
always error in db_input.
the problem was that php5 has deprecated some function like $HTTP_POST_VARS, $HTTP_GET_VARS,
$HTTP_POST_FILES.

try to change all this with $_POST, $_GET, $_FILES in db_iput.php!
i solved my problem this way.
hope you solve your problem.!

http://unreal.javageddon.it
rfustinoni@hotmail.com if you need help!

kegobeer

@javageddon - Set register_long_arrays to On in php.ini.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots