Hi!
I've read and try all tricks but I'am still unable to upload pictures with CPG 1.4.3 (1.3.5 was ok)
Permission are set correctly for albums/, albums/userpics, albums/edit even include/, and this is what I get:
Quote
Le fichier précédent n'a pas pu être placé./ The file cannot be placed
Vous avez placé tous les fichiers avec succès./All files placed correctly
Weird!
Login: testmaniaque
pass: test
http://users.rockweb.org/Isolder/galerie/index.php
Do you think I should use the silly safe mode trick?
This is the phpinfo of my webhost: http://www.rock-hosting.com/phpinfo.php (runs PHP Version 4.3.10-13)
this is my debug:
Quote/upload.php
* Notice line 2181: Undefined index: user1
* Notice line 2182: Undefined index: user2
* Notice line 2183: Undefined index: user3
* Notice line 2184: Undefined index: user4
* Warning line 2264: rename(): SAFE MODE Restriction in effect. The script whose uid is 65534 is not allowed to access /home/users/Isolder/galerie/albums/userpics/10001 owned by uid 33
* Notice line 2304: Undefined variable: PIC_NEED_APPROVAL
Follow the troubleshooting guide.
I did and this is what I get now:
Erreur critique/Fatal Error
Impossible de déplacer 00001304.jpg vers albums/userpics/10001/ !/Impossible to move file...
Fichier/File: /home/users/Isolder/galerie/db_input.php - Ligne/Line: 344
I know for a fact that my webhost blocks access to the tmp/ directory. So upload of attachemet in a bord or email are impossible.
did you CHMOD as suggested in the docs?
Yes, more than one time. :'(
Problem solve, silly safe mode activated!
Silly safe mode; i have also the same problem and fixed it with the same way.
open include/config.inc.php
and change the script
Code:
<?php
// Coppermine configuration file
// MySQL configuration
$CONFIG['dbserver'] = 'localhost'; // Your database server
$CONFIG['dbuser'] = '*******'; // Your mysql username
$CONFIG['dbpass'] = '******'; // Your mysql password
$CONFIG['dbname'] = 'saradevi_wpics'; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg140_';
define('SILLY_SAFE_MODE', 1);
?>