coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: swishi on June 25, 2007, 03:02:02 PM

Title: Upload Problem with xp_publish
Post by: swishi 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 (http://forum.coppermine-gallery.net/index.php?topic=24082.20)
QuoteExtremely 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
Title: Re: Upload Problem with xp_publish
Post by: Joachim Müller on June 26, 2007, 08:31:55 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Upload Problem with xp_publish
Post by: swishi on June 27, 2007, 07:11:07 PM
Hi GauGau... Doing what you supposed gives me following error:

QuoteKritischer 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:
QuoteCritical 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!

Title: Re: Upload Problem with xp_publish
Post by: Joachim Müller on June 27, 2007, 07:27:59 PM
Quote from: swishi on June 27, 2007, 07:11:07 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.
Title: Re: Upload Problem with xp_publish
Post by: swishi 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:

QuoteKritischer 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:
QuoteCritical 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!



Title: Re: Upload Problem with xp_publish
Post by: Joachim Müller on June 28, 2007, 07:34:58 AM
Re-apply permissions. They don't necessarily have to be 777...
Title: Re: Upload Problem with xp_publish
Post by: swishi on June 28, 2007, 06:55:00 PM
No chance GauGau i tryed 777... 775... 755... etc nothing to do!
Title: Re: Upload Problem with xp_publish
Post by: Joachim Müller 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.
Title: Re: Upload Problem with xp_publish
Post by: swishi on July 01, 2007, 09:23:43 AM
Thanks for that GauGau, I'll check and come back with the outcome...