hi,I have met the same problem!!!
php_nuke V6.9
After installing and stetting up connot upload the pics...
warning: Impossible to move 3jianke.jpg to modules/coppermine/albums/userpics/10007/
:cry: pls help me
I have oppened the debuge mode and have got following info:
pls help me :oops:
Impossible to move 3jianke.jpg to modules/coppermine/albums/userpics/10007/ !
File: /home/virtual/site140/fst/var/www/html/modules/coppermine/db_input.php - Line: 295
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 655 is not allowed to access /home/virtual/site140/fst/var/www/html/modules/coppermine/albums/userpics/10007 owned by uid 48 in /home/virtual/site140/fst/var/www/html/modules/coppermine/db_input.php on line 294
3jiangke.jpg is one of my pics , mormal jpg format*onother pics have same problems while uploading
Pls forgive me posting such long data... :oops:
Debug info Integretion vars
Selected Nuke Theme: Purity
Nuke Version: V6.9
Module path modules/coppermine
Nukelink modules.php?name=coppermine
Coppermine Theme: default
$_SERVER vars
DOCUMENT_ROOT: /home/virtual/site140/fst/var/www/html
HTTP_ACCEPT_LANGUAGE: zh-cn
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
SCRIPT_FILENAME: /home/virtual/site140/fst/var/www/html/modules.php
PHP_SELF: /modules.php
CPG Config
TABLE_PICTURES cpg_pictures
TABLE_ALBUMS cpg_albums
TABLE_COMMENTS cpg_comments
TABLE_CATEGORIES cpg_categories
TABLE_CONFIG cpg_config
TABLE_USERGROUPS cpg_usergroups
TABLE_VOTES cpg_votes
TABLE_USERS nuke_users
allow_private_albums 1
otherwise I used normal coppermine1.1 *not under phpnuke without any poblem
Klaus turn on silly_safe_mode in coppermine.
somewhere in these forums is the solution for this so do a search :wink:
Klaus:
When you click on "Search this board" and in that page you type: "save mode restriction" then this URL popsup:
http://forum.coppermine-gallery.net/index.php?topic=135&highlight=safe+mode+restriction
read gtroll his message.
At first thank you so much for the info,at least I konw my situation could be rescued....but I still need help.
what I have found is following msg:
If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :
With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
Do the same for the "albums" and "userpics" directories.
Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"
because I had intalled "cpg1.2.0rc1_phpnuke",therefore I donot find any config.inc.php under include,only one sample file "config.inc.php.sample"
Then what should I do now?
Aha now we are getting somewhere.
did you change directory "include" to chmod 0777 and then ran modules/coppermine/install.php ?
cos when you did, a file should be created on the server named config.inc.php.
if not then create a file with that name including:<?php
// Coppermine configuration file
// define silly safe mode
define('SILLY_SAFE_MODE', 1);
// MySQL TABLE NAMES PREFIX
$cpg_prefix "cpg_";
?>
sorry if you had troubles finding this Klaus I was trying to split this topic...
ops,it seems we are all online now...hehe
the world is so small :D
I have found this file,but after downloading and cannot upload again...
So any solutions?(probably the server do not accept config file?) :roll:
Try again, there should be no problem with the server accepting it.
I have successed with a small trick...named it as aa.jpg and after uploading just renamed it again. 8)
The stupid server really didnot accept this file.
but ... still error info in php_nuke
:oops:
Parse error: parse error in /home/virtual/site140/fst/var/www/html/modules/coppermine/include/config.inc.php on line 6
Fatal error :
There was an error while processing a database query
ehm yes correct error, there's a = sign missing. :oops: <?php
// Coppermine configuration file
// define silly safe mode
define('SILLY_SAFE_MODE', 1);
// MySQL TABLE NAMES PREFIX
$cpg_prefix = "cpg_";
?>
You must have left off a semicolon in the file please post the code here or debug yourself...
Dear DJMaze and Gtroll:
I am so gald to tell you ,my first pic has been already put in the gallerie.
:D :D :D :D :D :D :D :D :D
without your help I could not image what could happend...
Thanks!!!Thanks!!! :P
Next time if anything I could do for you guys just tell me!
so late now 1:49,my location is in Berlin and I am from China,studying now at TU Berlin.
Still have a lot of to learn,hehe
Maybe i'll grab a beer sometime, not far away from the netherlands. 8)
But you have to ship it to gtroll cos he is on hawaï laying on the beach. :cry: