Can't create albums Can't create albums
 

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

Can't create albums

Started by peakoverload, May 26, 2004, 11:51:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peakoverload

I've been using Coppermine with PHPNuke for about a year now and so am fairly familiar with it and I am now building a new site using the full version of Coppermine (v 1.2.1) but am having a nightmare in just creating an album.

Basically when I create an album it appears on screen (i.e. the image of an empty album, nopic.jpg, appears) but there are no delete, properties or edit pics buttons. If I move my mouse over the jpeg image the URL appears as being

http://127.0.0.1/cpg/thumbnails.php?album=  (127.0.0.1 being localhost as its all running on my test server at the moment - see below)

In other words its missing the album number off the end

If I click on the album I get an error message saying
The selected album/picture does not exist !

I also notice that no new folders are ever created under the albums or userpics folders either.

I know it's not a server issue as if I go to my nuke site on the same server (different directory) I can happily create albums without a problem.

Here is my set-up

At the moment its all running on a test server on my laptop which is:

Windows XP Pro
Apache/1.3.28 (Win32)
PHP 4.3.4
MYSQL 4.0.18-nt
Safe Mode is not enabled on the server

Coppermines Debug doesnt report any errors

Coppermine is installed in a folder named cpg on the root of the server with the folders albums being a subdirectory of that and userpics being a subdirectory of that eg cpg/albums/userpics.

In the config page I have tried so many different paths for the album and userpics directories in the hope that this is where the problem lies but all this is has done is confuse me to the point where I now don't know what the path should actually be and that all I know is that nothing seems to work.

I'm sure this is something really basic and thats whats so frustrating because for the life of me I can't work out what.

Any Ideas?

Casper

This is a known problem that can occur with empty albums at the top of categories.

Put a pic in the first album in the category, and you should see the buttons, in all albums in that cat.

This is fixed in version 1.3, due out soon.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

peakoverload

Thats just the problem though I can't  :(

When I try to upload to an album it says that it doesnt exist  :(

Casper

How are you trying to upload.

QuoteI also notice that no new folders are ever created under the albums or userpics folders either.
Coppermine only creates folders in the 'userpics' folder, when users upload via the upload link, and not if silly safe mode is defined.
When uploading by ftp, you need to create your own folders, in the albums folder.

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

peakoverload

I'm trying to upload via the Upload Picture link in Coppermine.

I'm pretty sure its a path issue as with paths just set to albums and albums/userpics respectively I get this error message when trying to upload

Failed to create directory albumsalbums/userpics10001 !

If I change the path to cpg/albums and cpg/albums/userpics I get this error message

Failed to create directory cpg/albumscpg/albums/userpics10001 !

so it looks to me as though this is where the problem lies but I can't work out what I should enter to make it correct.

As I say Coppermine is installed in a cpg directory on the root of the server.

peakoverload

Okay well I seem to have fixed it but the paths I had to use just don't sound right to me although maybe thats just because I'm used to how it works in PHPNuke ???

To get it to work I had to set the albums path to

albums/

And the Userpics path to

/userpics/

If it works it works I guess, its just quite different to how I'm used to seeing it which is

modules/coppermine/albums/
modules/coppermine/albums/userpics/


Casper

You may need to remove the leading '/' from the userpics setting.  This would then be the usual 'factory presets'.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here