Favorite Files problem. Favorite Files problem.
 

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

Favorite Files problem.

Started by Zanelli, January 03, 2006, 04:40:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Zanelli

Pic won't add to the users "Favorite Files".

Please Help.

I have a PHPBB CPG.

Address: theaahc.net/Gallery

Test User: Jet
Test Pass: Test

Joachim Müller

When I try to login using "Jet"/"Test", I get
QuoteYou have specified an incorrect or inactive username, or an invalid password.
Make sure to provide working logins if you want actual support. Such things make supporters mad, they get reluctant to help.

Zanelli

#2
Quote from: GauGau on January 03, 2006, 05:23:50 PM
When I try to login using "Jet"/"Test", I getMake sure to provide working logins if you want actual support. Such things make supporters mad, they get reluctant to help.

Sorry about that try again but with "test" instead of "Test".

That's not fair you put my Karma down 2, I only added a capital letter by accident.

Joachim Müller

I'm out of this thread, sending me a PM doesn't make me more inclined to look into it again, yet it's a good method to decrease your karma

ecto

#4
I noticed it is a .gif you are trying to add to the favorites.

I tried this on my 1.4.2 install (adding .gif's and .swf's to favorites), and it seems Coppermine does add the files, but when you click My Favorites it doesn't display these file types.

<edit>
Oops, made a reply without considering a plugin I had loaded, which makes my statement erroneous. Sorry about that. The plugin I had loaded was "Unwanted Meta Albums v1.4". Make sure you have no such plugins or mods added that could cause the displaying or adding of your favorites to malfunction or not display properly.
</edit>

ecto

I also noticed now that in your case, after clicking "Add to Favorites", the link does not change to "Remove from Favorites" which it should if the adding worked. So I guess there's something with your addfav..

A longshot (as I'm not very familiar with the favorites functions), but have you tried switching to the classic theme and trying?

Nibbler

Confirming bug with adding favourites while logged in and bridged.

addfav.php

find

if (!mysql_affected_rows()) {

change to

if (!mysql_affected_rows($CONFIG['LINK_ID'])) {

Zanelli

Quote from: Nibbler on January 05, 2006, 06:06:33 PM
Confirming bug with adding favourites while logged in and bridged.

addfav.php

find

if (!mysql_affected_rows()) {

change to

if (!mysql_affected_rows($CONFIG['LINK_ID'])) {

Thanks Nibbler, a big help  ;D.

Joachim Müller

Committed the fix suggested by Nibbler to the stable and devel branch of the cvs. Marking thread accordingly.