Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Impossible to upload images  (Read 4135 times)

0 Members and 1 Guest are viewing this topic.

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Impossible to upload images
« on: January 08, 2006, 04:55:29 am »

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
« Last Edit: January 10, 2006, 05:01:21 am by TranzNDance »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Impossible to upload images
« Reply #1 on: January 08, 2006, 05:30:38 am »

Follow the troubleshooting guide.
Logged
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

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Re: Impossible to upload images
« Reply #2 on: January 08, 2006, 08:51:11 am »

I did and this is what I get now:

Code: [Select]
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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Impossible to upload images
« Reply #3 on: January 08, 2006, 04:24:31 pm »

did you CHMOD as suggested in the docs?
Logged

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Re: Impossible to upload images
« Reply #4 on: January 08, 2006, 09:35:34 pm »

Yes, more than one time.  :'(
Logged

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Re: Impossible to upload images
« Reply #5 on: January 10, 2006, 04:59:31 am »

Problem solve, silly safe mode activated!
Logged

Maik

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Impossible to upload images
« Reply #6 on: January 17, 2006, 12:43:53 am »

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);

?>






« Last Edit: January 17, 2006, 01:18:34 am by Maik »
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.