Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Deleting Category/Album and Thumbnail Title  (Read 3638 times)

0 Members and 1 Guest are viewing this topic.

bob332

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Deleting Category/Album and Thumbnail Title
« on: November 28, 2004, 09:02:33 am »

hello,

let me first state that this is an excellent script, it is the best i have ever used.

i have 2 dilemas, the first is that on my site i have a couple of of albums i can not delete, the first one states "There was an error while processing a database query" when i try to delete it and the other one states "Directory 'albums/xxxxx/xxxxxx/xxxxxxx/' is not writable, files can't be deleted".  i have the machine sitting next to me that hosts this site so i can do anything needed to either the script or the db.  it is running winxp pro, apache 2.x and php 4.x.

the 2nd dilema is titles under thumbnails.  i commented some code in the displayimage.php file -

//    $info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);
//    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';


so the filename and album name was not listed in the fileinfo but can't remember where i commented out code to turn off the thumbnails name.

thanks in advance for your time and this excellent script :)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Deleting Category/Album and Thumbnail Title
« Reply #1 on: November 28, 2004, 03:00:22 pm »

This sounds like you have deleted some files from your server by ftp, rather than using the inbuilt delete functions of coppermine.
If this is the case, you will just have to use your database tool to edit the database and remove the albums.

If not, check your folder permissions.
Logged
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

bob332

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Deleting Category/Album and Thumbnail Title
« Reply #2 on: November 29, 2004, 06:02:16 am »

This sounds like you have deleted some files from your server by ftp, rather than using the inbuilt delete functions of coppermine.
If this is the case, you will just have to use your database tool to edit the database and remove the albums.

If not, check your folder permissions.

you are correct, i went into the db and just deleted the categories and all is good.  thank you ;)

any ideas about the thumbnail titles?
Logged

mpegripper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Deleting Category/Album and Thumbnail Title
« Reply #3 on: December 01, 2004, 03:29:23 am »

does anyone want to offer me help in deleting the categories

i'm using mysql 4.1

i'm using mysql administrator to browse and edit everything

thanx, i just don't know where in the categories list it is
Logged

mpegripper

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Deleting Category/Album and Thumbnail Title
« Reply #4 on: December 01, 2004, 03:33:30 am »

i mean catalog not category
Logged

bob332

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: Deleting Category/Album and Thumbnail Title
« Reply #5 on: December 01, 2004, 09:04:31 am »

hello,

let me first state that this is an excellent script, it is the best i have ever used.

i have 2 dilemas, the first is that on my site i have a couple of of albums i can not delete, the first one states "There was an error while processing a database query" when i try to delete it and the other one states "Directory 'albums/xxxxx/xxxxxx/xxxxxxx/' is not writable, files can't be deleted".  i have the machine sitting next to me that hosts this site so i can do anything needed to either the script or the db.  it is running winxp pro, apache 2.x and php 4.x.

the 2nd dilema is titles under thumbnails.  i commented some code in the displayimage.php file -

//    $info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);
//    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';


so the filename and album name was not listed in the fileinfo but can't remember where i commented out code to turn off the thumbnails name.

thanks in advance for your time and this excellent script :)

anybody have any ideas as to why there are no titles showing up under the thumbnails?  when i hover over it the tooltip brings up the info, but i want the filename under the thumbnail.  please help... i have it set in the config area but still there is nothing showing up.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.