Full size picture window error Full size picture window error
 

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

Full size picture window error

Started by writingthefuture, March 22, 2019, 06:51:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

writingthefuture

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.

ron4mac

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.


writingthefuture


Tano*87

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.

ron4mac

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.

ron4mac


ron4mac

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

Tano*87

Actually I downgraded because there was no reason for it to not work properly.

phill104

Please be aware that we can only support 1.6.x.
It is a mistake to think you can solve any major problems just with potatoes.