Fresh Install with Installer Stub Not Working Fresh Install with Installer Stub Not Working
 

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

Fresh Install with Installer Stub Not Working

Started by nowordneeded, April 15, 2025, 12:40:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nowordneeded

Hello:

I've been trying for the better part of two days to try to install a fresh copy on a new site using both the installer stub. Each time I do, I get a white screen directly after I select which version I want to use. When I refresh I get "Please first delete the log file: installer.log.txt." When I do that, I go back to the screen to select which version I want. Basically, I'm thrown into a loop.

I've tried just uploading the files directly to the server via FTP, and I get to step 4, and it goes to a 500 error. When I try to add the database information directly to a created config.php file, it tells me the installer was already run and the file is locked.

I'm trying to install version 1.6.28 here: https://diego-luna.com/gallery.

The Wordpress installation worked like a charm. I've yet to have Coppermine act like this before.

Thanks to anyone who can help.

NWN
Sometimes my musings are too confusing for someone not inside my head.

phill104

What is the 500 error? You will need to check the server logs to find out what the actual error is.
It is a mistake to think you can solve any major problems just with potatoes.

nowordneeded

Phil:

The log file keeps repeating

QuotePHP Fatal error:  Uncaught Error: Call to undefined function exec() in
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

It would seem that PHP on your server has been configured with some restrictions. If you are able, check your php.ini to see whether the exec() function is disabled.

nowordneeded

Ron:

Where would I find the PHP.ini file? Is that in the Coppermine files, or someplace else on the server? Thanks so much.

NWN
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

Ron:

Further question if I may? Why was I able to install Wordpress but not Coppermine?

NWN
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

#6
The php.ini file is not a part of CPG. It is a system file that sets values to control how PHP operates. Depending on what package you have with Hetzner, you may have to have them make necessary configuration changes. If you have an unmanaged plan, it could be a bit of a challenge to find where and what modifications are needed.

It is quite likely that Wordpress just doesn't need to have some PHP features that CPG requires.

(edit) A work-around could be by using the attached install.php file in place of the normal one. Replace the normal one, remove the config.php file, then go here: https://diego-luna.com/gallery/install.php?step=1
(ignore a complaint about a modified install.php file)