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 467 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: 1258
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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.