I am running CPG 1.6.18 on PHP7.4 and have not used it for about a year. I tried to open it today and got the following error message: Fatal error: require(): Failed opening required 'include/functions.inc.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home4/rosenblu/public_html/coppermine1/include/init.inc.php on line 134
What should I do to fix it? Thanks.
It would appear that your installation has been corrupted to have missing files. You could try using the cpg_installer_stub (https://forum.coppermine-gallery.net/index.php/topic,79168.msg383813.html#msg383813) to freshen your installation.
I installed the stub file in the coppermine1 folder on my website and loaded this address into my Firefox browser: https://www.rosenblums.us/public_html/coppermine1/cpg_installer_stub.php
I waited a few minutes with no response in the browser window. I then tried to login with the link : https://www.rosenblums.us/coppermine1/login.php
I got the same error message: Fatal error: require(): Failed opening required 'include/functions.inc.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home4/rosenblu/public_html/coppermine1/include/init.inc.php on line 134
The link that you are using for the installer stub is incorrect. Do not use the public_html part in the URL.
Thanks. That fixed it. I updated to ver 1.6.24