Advanced search  

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

Pages: [1]   Go Down

Author Topic: Failed to open CPG 1.6.18 due to php error  (Read 2665 times)

0 Members and 2 Guests are viewing this topic.

steverosenblum

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Failed to open CPG 1.6.18 due to php error
« on: February 05, 2024, 05:30:53 am »

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.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Failed to open CPG 1.6.18 due to php error
« Reply #1 on: February 05, 2024, 05:31:51 pm »

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.
Logged

steverosenblum

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Failed to open CPG 1.6.18 due to php error
« Reply #2 on: February 06, 2024, 02:55:58 am »

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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Failed to open CPG 1.6.18 due to php error
« Reply #3 on: February 06, 2024, 04:42:30 am »

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

steverosenblum

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Failed to open CPG 1.6.18 due to php error
« Reply #4 on: February 07, 2024, 05:57:44 am »

Thanks. That fixed it. I updated to ver 1.6.24
Logged
Pages: [1]   Go Up
 

Page created in 0.12 seconds with 21 queries.