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: Full size picture window error  (Read 4348 times)

0 Members and 1 Guest are viewing this topic.

writingthefuture

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Posts: 2
Full size picture window error
« on: March 22, 2019, 06:51:13 am »

Hi, when I click on a picture on my gallery site then click again to view the full size, I receive this message:
"ERROR
The selected album/file does not exist!

File: /home/arcticmo/public_html/themes/R3/theme.php - Line: 64"

If I open my theme.php script and go to line 64, I find this:
"            cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);"
Which I think is just code allowing my site to display an error message on full size pictures if needed to, and not an actual error (correct me if I'm wrong), because I haven't had this problem up until this week and I've had my site for exactly a year now, so it doesn't tell me the cause of the problem or a solution like it's supposed to.

I've looked through the FAQ, documentation, and forums, and I've tried adding "<script type="text/javascript" src="scripts.js"></script>" to the template script to see if it'd help because the script just had "{JAVASCRIPT}", I've tried viewing in an admin account, a guest account, and a test account (which I'll give information to below), I've tried viewing in another browser and computer, I've tried viewing multiple pictures within different albums, I've tried adding debug mode which told me to look at line 64 but I have no idea how to read the detailed debug info or if it helps, and I almost upgraded but then I saw my site did that automatically, yet I still receive the same error message. I don't know what else to do.

Can anyone tell me why I'm receiving this error message and how to resolve it? My site is http://www.arcticmonkeysandmore.com/, I have CPG version 1.6.05, if anyone needs a test account they can log in with the username and password "ffh" then with the username "testsunny" and password "test", I'm using Google Chrome on a Windows 10 computer, I have ad and pop-up blocking programs installed but they don't affect my site, and I have about 22.91gb left to use. I hope this is enough information. Thank you in advance.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Full size picture window error
« Reply #1 on: March 22, 2019, 02:16:12 pm »

Your theme is not compatible with CPG 1.6.x.  If it was completely working with 1.6.x, it must have gotten changed somehow.

In the theme.php file of your theme, replace any occurrence of mysql_xxx_xxx with cpg_db_xxx_xxx.

Logged

writingthefuture

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Posts: 2
Re: Full size picture window error
« Reply #2 on: March 23, 2019, 12:21:50 am »

It worked! Thank you so much! ;D
Logged

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Full size picture window error
« Reply #3 on: July 01, 2020, 09:53:45 pm »

Guys I've upgraded to the latest version and now the fullsize pop up is not showing the real dimension.

It just sais :

Error
The selected file/albums doesn't exist.

I went to the theme.php to fix as suggested above but it doesn't have any of that, same for the other themes, even the upgraded ones.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Full size picture window error
« Reply #4 on: July 01, 2020, 10:30:30 pm »

It may be the fault of a plugin that is not compatible with CPG 1.6.  Go to the plugin manager and disable some plugins to see if any are causing the problem.
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Full size picture window error
« Reply #5 on: July 01, 2020, 10:35:37 pm »

Checked your site ...
Seems to work okay with the water_drop theme
http://www.breatheonbritney.it/gallery/?theme=water_drop
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 1535
Re: Full size picture window error
« Reply #6 on: July 02, 2020, 01:33:31 am »

Could you please let others know how your problem was resolved?
Logged

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: Full size picture window error
« Reply #7 on: July 04, 2020, 06:51:42 pm »

Actually I downgraded because there was no reason for it to not work properly.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 21 queries.