Cant upload as a user Cant upload as a user
 

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

Main Menu

Cant upload as a user

Started by grb, March 14, 2006, 03:17:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grb

CPG is a very nice program. I have managed to keep the file structure used with DALBUM and made it work with CPG, and get all its benefits: search, rating etc.
I have a problem with "upload" as a user though.

I run it on Windows, PHP 4.3, MySql 5.0, Apache 2.0. I have setup 2 accounts in admin group, and 1 in "registered". I have been successful in uploading a file and add it to the album, using one admin account. With the others -- I seem to get up to "upload successful", but then "can't add it to album". I have checked the settings -- and not able to find anything so far.

Although I have run apache, php for a while now for pictures, I am a total novice at php programming. From the board, I did adopt a couple of lines
http://forum.coppermine-gallery.net/index.php?topic=20422.0 to keep the thumbnails and lower resolution pictures in different directories. Any help would be appreciated.

I have setup a test account - As the doc says, I have enabled debug.

Thanks

Joachim Müller

undo your code changes then, trying to find out if upload works as expected on a vanilla copy of coppermine.

grb

#2
I did. It was still failing, but helped identify the problem. For whatever reason, the script was not able to establish _res and _thm subdirectories. Once I set them up manually, it worked. Thanks

Joachim Müller

so the issues were related to your modifications, as coppermine by default doesn't create those sub-folders. Marking as "solved"