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:

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

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!