Recent posts - Page 2 Recent posts - Page 2
 

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

Recent posts

#11
cpg1.6 themes (visuals) / Re: Coming Soon (Index) Page /...
Last post by 406man - August 09, 2025, 02:22:41 PM
Something like this could be made to work but there are a few areas to pin down.

The custom "Coming Soon" page. Do you want it to be a totally standalone page or to look like the main gallery pages with a standard title, menu and footer ?

Presumably the "coming soon" is displayed without needing the non-admin user to log in ?

In which case there is a slight problem. The Administrator has to log in before the gallery software knows they are an administrator. So you can't just display a simple "coming soon" page, otherwise the Administrator can never log in. One way to solve this is for the "coming soon" page to have a link to a login page.

Can you describe how you think it should work.
#12
cpg1.6 themes (visuals) / Coming Soon (Index) Page / Hid...
Last post by findingcolors - August 09, 2025, 04:30:35 AM
I am currently working on building a fansite (gallery). While I  work on the site, I would like to "hide" the gallery with a custom index page - AKA, a "Coming Soon" page.

I would also like to be able to still log in and see my gallery theme. For example, WordPress has "coming soon"/"maintenance mode" plugins where the public sees one page, but admins see the whole back end and site. Is it possible to do this?

I know there's an "offline mode", but that doesn't allow me to add a custom "coming soon" message, graphics and social links.

I know custom php pages can be made ... but I don't know if it's possible to set those as a front page. 
#13
cpg1.6 plugin contributions / Re: Two Factor Authenticatio...
Last post by FrA1l3 - August 08, 2025, 01:26:05 AM
incredible speed!

It works like lightning, thank you so much!
#14
cpg1.6 plugin contributions / Re: Two Factor Authenticatio...
Last post by ron4mac - August 07, 2025, 06:59:53 PM
Find corrected version 1.2 above
#15
cpg1.6 plugin contributions / Re: Two Factor Authenticatio...
Last post by FrA1l3 - August 07, 2025, 12:46:20 PM
hi @ron4mac!

I've noticed that the plugin isn't working properly with PHP 8.x versions. I don't have enough knowledge to see what's wrong.
Once you submit your credentials, it simply returns you to the URL .../login.php?referer
and the server returns a 500 error.

I've enabled Coppermine logs, but nothing interesting appears. Is there a debug mode enabled in the plugin to check this?

thank you so much for your great work!
#16
cpg1.6 install / Re: PHP 8
Last post by FrA1l3 - August 07, 2025, 12:42:23 PM
#17
cpg1.6 install / Re: PHP 8
Last post by FrA1l3 - August 07, 2025, 12:41:10 PM
Quote from: phill104 on August 06, 2025, 11:44:06 PMI would also think it is worth checking what the 500 error actually is. You would need to either enable error reporting or check the server logs to do that. It could be a number of things that are easy to resolve.

Thanks, yes, you've given me an idea, and after checking, I've seen that it simply fails when I have the ron4mac user2FA plugin enabled.

If I enable it, it won't let me log in, although the gallery works correctly. I've even tried logging in with PHP 7.4, upgrading to 8.4, and in the same session, if I'm logged in, I'm fine, and it lets me change options and everything.
But when I try to log in, it won't let me, so the problem is with the plugin.

I can't find the right url for the plugin, I've installed v1.1, comes from here: https://coppermine-gallery.com/forum/index.php/topic,80370.0.html

thank you so much
#18
cpg1.6 install / Re: PHP 8
Last post by phill104 - August 06, 2025, 11:44:06 PM
I would also think it is worth checking what the 500 error actually is. You would need to either enable error reporting or check the server logs to do that. It could be a number of things that are easy to resolve.
#19
cpg1.6 install / Re: PHP 8
Last post by 406man - August 06, 2025, 08:59:32 PM
The new Coppermine 1.6.27 is meant to work with PHP 8.4. I've not tried it myself yet.
#20
cpg1.6 install / Re: PHP 8
Last post by FrA1l3 - August 06, 2025, 01:41:00 AM
Sorry guys, I saw this is for a clean install.

I have shared hosting, and within it, I have a WP installation and a Coppermine installation. The thing is, upgrading from PHP 7.4 to any version of 8.x ends up with a 500 error when using Coppermine.
If I roll back the version, everything works fine.

The issueis that both WP and the hosting people are telling me that I should upgrade to PHP 8.4 due to the security risks of using an older version like PHP 7.4.

On WP, I have a store (WC) with personal data, and I wouldn't like to put that information at risk. So, is there any way I can explore the option of migrating to PHP 8.4, for example, and still have Coppermine work?
Since it's an installation on a shared server, I can barely touch the PHP configuration, as this guy indicated in the thread.

I'm quite concerned about security.
Thank you very much!