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 [2]   Go Down

Author Topic: How to make albums visible to 'Me only' by default  (Read 11904 times)

0 Members and 1 Guest are viewing this topic.

mayona

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: How to make albums visible to 'Me only' by default
« Reply #20 on: September 22, 2004, 01:39:48 am »

-edited-
« Last Edit: September 22, 2004, 06:03:28 am by mayona »
Logged

jadsy2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to make albums visible to 'Me only' by default
« Reply #21 on: January 10, 2005, 08:54:35 pm »

hi - i've recently tried to use the original mod to chang the default permission, but when applied, after creating an album, i just get 'There was an error while processing a database query' critical error. any ideas how to solve it? I'm running the latest version of CPG.
thanks for any help!
Logged

Nibbler

  • Guest
Re: How to make albums visible to 'Me only' by default
« Reply #22 on: January 10, 2005, 08:56:06 pm »

Enable debug mode and post the real mysql error message.
Logged

jadsy2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to make albums visible to 'Me only' by default
« Reply #23 on: January 10, 2005, 09:28:40 pm »

thanks again for helping me out!

the SQL message reads

While executing query "INSERT INTO cpg_albums (category, title, uploads, pos, visibility) VALUES ('10007', 'test', 'NO',Ê '102', '10007')" on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ''102', '10007')' at line 1
Logged

Nibbler

  • Guest
Re: How to make albums visible to 'Me only' by default
« Reply #24 on: January 10, 2005, 09:29:36 pm »

Erm, try removing the Ê ?
Logged

jadsy2k

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: I don´t want to show all galleries..
« Reply #25 on: January 10, 2005, 10:04:03 pm »

success! looks like when i saved the file, it had encoded it differently using a different character set and had been putting in the extra characters. I have checked it again and resaved it and all is now working. thanks!
« Last Edit: January 10, 2005, 10:15:23 pm by jadsy2k »
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.018 seconds with 19 queries.