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
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
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!
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.
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 e
xactly 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!
Re-apply permissions. They don't necessarily have to be 777...
No chance GauGau i tryed 777... 775... 755... etc nothing to do!
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.
Thanks for that GauGau, I'll check and come back with the outcome...