[problem] Deleting a catagory [problem] Deleting a catagory
 

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

[problem] Deleting a catagory

Started by allfather, July 16, 2004, 02:06:16 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

allfather

Hey.

Im just setup this nice gallerysoftware with fantastico at my host, so we at http://www.battlefield.no can have a working gallery.
But the problem is this:

There is one catagory i cannot delete, nor put anything into.
Every other catagory has an "x" next to them in the operations section, but this one does not.
I tried making use of it, but i cannot make albums in this folder, as it doesnt show up in the list of catagories.
The album is located at http://galleri.battlefield.no


regards

Thomas

Joachim Müller

What category are you refering to? Post a deep link.

You have to understand that the coppermine package that comes with "fantastico" has been modified by the fantastico people and doesn't represent the most recent version of the code. Since we can't tell what the fantastico people actually changed in the package, we will probably not be able to fully support fantastico installs anyway.

GauGau

Casper

The only category that fits the description, is the 'user galleries'.
This cannot be deleted, and it is where the users own albums go, if you allow them.
As long as it is empty, it will not be displayed.
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

allfather

http://www.lockedup.net/galleri/index.php?cat=1
Direct link.

I have dissabled all private user galleries

regards


thomas

Joachim Müller

there are albums inside the category you refer to that are invisible to anonymous. When logged in as admin, you should be able to remove them. As Casper pointed out: the User galleries will not be displayed when empty. Apparently, they are not empty.

GauGau

Casper

There was/is an issue in version 1.2.1, which could cause this.  See this thread, http://forum.coppermine-gallery.net/index.php?topic=4268.0

But the best way, would be for you to get the latest stable version, 1.3.1.
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

allfather

ok,  so updating it would work i suppose.
Will the pictures, users etc be kept or do we have to start over?

Thanks again for the good help btw :)

Casper

Upgrading keeps all info, users, comments, etc., you lose nothing.

It is easy, and is advised.
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

allfather

ok, i will take your word for it then :D
But there is "one last thing" :p :
I read the FAQ about updating, and they way i understood it is this:
You share old database, but have to make the "updated" gallery in a new folder.
Ie yourdomain.com/gallery has to become http://youdomain.com/newgallery.

Why is this?

Regards

thomas

Casper

No, that only applies to the very first version, if updating from version 1.0.

Updating from 1.2.x, you just overwrite all the files, except the albums folder, the include/config.inc.php and the install.lock.
You have to create a new directory in the albums folder, called 'edit', and then just run update.php.

That should be it, job done.  The only other work is if you use a custom theme, you will need to update that, there are instructions in the docs folder for that.
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

allfather

ok, thanks :)
I unziped the file downloaded from your downloads section.
Then deleted the albums folder from the newly unzipped files.

I can how ever not find the file in the included folder. All i find is config.inc.php.sample.
Install.lock i cant find either. only install i can find is install.php in mainfolder.

regards

thomas

allfather

I think i got the install.lock idea now.
You ment deleting both install.* files right?
Sorry for beeing stupid :(

Casper

The config.inc.php is on the webserver, it is created by coppermine on install, so it does not come with the package, just an example file.  That file, and the install.lock, will be lost if you just overwrite the entire folder.
The docs say to delete the install.php files, which is for security, but as long as the install.lock file is in the include folder, it's not a problem if it's left.
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