Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Upload Problem with xp_publish  (Read 3923 times)

0 Members and 1 Guest are viewing this topic.

swishi

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Upload Problem with xp_publish
« on: June 25, 2007, 03:02:02 pm »

I have problems uploading pictures with the xp publish provider with cpg 1.4.10. Albums are created but no pictures are uploaded to the server!!!???

I searched the forum about any help or fix and tryed different sugestions such as the one publishes under: http://forum.coppermine-gallery.net/index.php?topic=24082.20
Quote
Extremely quick fix:
Around line 704 of xp_publish.php, change
Code:
$album = (int)$_GET['album'];
to
Code:
$album = (int)$_GET['amp;album'];

I installed the reg file and tried to upload pictures. The Albums are created but no pictures are uploaded to the server!!!???

Before I had cpg 1.3.5 on the same server, uplaoding pictures to the gallery worked fine after the upgrade to 1.4.10 I faced the described problem.

Thanks in Advance for any Help or suggestion and very best regards!

SWISHI
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

swishi

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Re: Upload Problem with xp_publish
« Reply #2 on: June 27, 2007, 07:11:07 pm »

Hi GauGau... Doing what you supposed gives me following error:

Quote
Kritischer Fehler 
Daysofsteel2007Danke.jpg kann nicht nach albums/userpics/10001/ verschoben werden!
Datei: /data/export/http/www.trirhena-chapter.de/coppermine/db_input.php - Zeile: 355

In English:
Quote
Critical Error
Daysofsteel2007Danke.jpg could not be moved to albums/userpics/10001/
File: /data/export/http/www.trirhena-chapter.de/coppermine/db_input.php - line: 355


Thanks for your Help!
 
« Last Edit: June 27, 2007, 07:41:30 pm by swishi »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload Problem with xp_publish
« Reply #3 on: June 27, 2007, 07:27:59 pm »

The Debug Info is the following:
Haven't asked for it!

Re-read the upload troubleshooting section of the docs and do exactly as suggested there.
Logged

swishi

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Re: Upload Problem with xp_publish
« Reply #4 on: June 27, 2007, 08:00:48 pm »

Sorry for that GauGau i thought it would be of help for you!

So I deleted teh debuginfo out of my former post! Read the docs and did exactly as suggested there...

I searched the forum for the "db_input.php - line: 355" and I found something about
"Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);" "

I added  "define('SILLY_SAFE_MODE', 1);" to my include/config.inc.php as it was not there now I am getting following error:

Quote
Kritischer Fehler 
In das Zielverzeichnis albums/userpics/ kann vom Skript nicht geschrieben werden!
Datei: /data/export/http/www.trirhena-chapter.de/coppermine/db_input.php - Zeile: 331


In english:
Quote
Critical error
The script can not write to albums/userpics/ !
File: /data/export/http/www.trirhena-chapter.de/coppermine/db_input.php - Line: 331


The folder albums such as the folder userpics ar at 777...???

I searched the forum again but i did not find any post of help for me as 777 is the setting i normaly use to give writepermissions on that server also for other scripts running on it...

So I opened a user acount for you:
user: test
pw: trctest
www.trirhena-chapter.de/coppermine

would be great if you could have a look into this!

 
 
« Last Edit: June 27, 2007, 10:18:18 pm by swishi »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload Problem with xp_publish
« Reply #5 on: June 28, 2007, 07:34:58 am »

Re-apply permissions. They don't necessarily have to be 777...
Logged

swishi

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Re: Upload Problem with xp_publish
« Reply #6 on: June 28, 2007, 06:55:00 pm »

No chance GauGau i tryed 777... 775... 755... etc nothing to do!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload Problem with xp_publish
« Reply #7 on: June 29, 2007, 02:20:33 pm »

Then maybe a change of ownership (CHOWN) is needed. Usually (unless the server is yours to administer), only your webhost can do this for you. Ask them for support.
Logged

swishi

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 22
Re: Upload Problem with xp_publish
« Reply #8 on: July 01, 2007, 09:23:43 am »

Thanks for that GauGau, I'll check and come back with the outcome...
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.