Failed to open CPG 1.6.18 due to php error Failed to open CPG 1.6.18 due to php error
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Failed to open CPG 1.6.18 due to php error

Started by steverosenblum, February 05, 2024, 05:30:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

steverosenblum

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.

ron4mac

It would appear that your installation has been corrupted to have missing files. You could try using the cpg_installer_stub to freshen your installation.

steverosenblum

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

ron4mac

The link that you are using for the installer stub is incorrect.  Do not use the public_html part in the URL.

steverosenblum

Thanks. That fixed it. I updated to ver 1.6.24