News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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