How to make albums visible to 'Me only' by default - Page 2 How to make albums visible to 'Me only' by default - Page 2
 

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]

Main Menu

How to make albums visible to 'Me only' by default

Started by shaddy, August 04, 2004, 12:59:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mayona

#20
-edited-

jadsy2k

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!

Nibbler

Enable debug mode and post the real mysql error message.

jadsy2k

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


jadsy2k

#25
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!