Recent posts - Page 10 Recent posts - Page 10
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Recent posts

#91
cpg1.6 miscellaneous / Login and logout only possible...
Last post by Arminius - July 14, 2024, 07:42:34 PM
Hello,

the login and logout buttons (and most other buttons on top) are visible but only usable after pressing the registration or search button.
Otherwise i get the message:

"Forbidden

You don't have permission to access this resource."

Looks like most of the tom menue can only be activated by these buttons.
This happened a few days ago. Except uploads i did not change anything before this happened.

Thanks
#92
cpg1.6.x Deutsch (German) / Re: Größenempfehlungen
Last post by Arminius - July 13, 2024, 12:13:08 AM
Hallo,

ich habe "Maximal erlaubte Dateigröße ist 1400 KB" eingestellt, was bei breiteren Bildern durch eine Bildbreite von max. 2500 Pixeln meist einzuhalten ist.

Gruß
#93
cpg1.6.x Deutsch (German) / An- und Abmelden nur über Umwe...
Last post by Arminius - July 12, 2024, 06:40:01 PM
Hallo seit 2 Tagen kann ich mich nicht mehr direkt über den entsprechenden Button in der Kopfleiste An- oder Abmelden. es erscheint die Meldung: (403)

Forbidden
You don't have permission to access this resource.

Gehe ich zuvor auf den Button "Registrieren" (oder einige andere, aber nicht alle, in der Kopfzeile) funktionieren die Buttons zu An- und Abmelden wieder.
Auch einige andere Buttons der Kopfzeile scheinen nicht mehr einwandfrei zu funktionieren.

Galerie: http://www.arminius-numismatics.com/coppermine1414/cpg15x/index.php?cat=0 , Version. 1.6.x

Danke für eure Inputs
#94
cpg1.6 plugin contributions / Re: forum plugin
Last post by 406man - July 03, 2024, 10:34:43 AM
First step is to be certain the forum plugin is affecting your Contact menu. Go into the Plugin Manager and disable the forum plugin. This is done by clicking on the green tick symbol on the right side of the section for the forum plugin so it turns to a red circle. Check the menu and then re-enable the plugin by clicking on the red circle. If the unwanted behaviour goes away after disabling and comes back on re-enabling it must be the forum plugin causing it. Take a screenshot of the page including the menu and attach it to a reply in this forum so I can see what's happening.
#95
cpg1.6 plugin contributions / Re: forum plugin
Last post by screamqueen - July 03, 2024, 12:39:35 AM
Quote from: 406man on June 14, 2024, 02:56:07 PM
Could you post a screen shot of the problem page or, if the gallery is available to access, post a link here

Hi, I fixed my 'Forum' menu, but the 'Contact' menu is showing up twice.

https://www.xtinadaily.com/
#96
cpg1.6 plugin contributions / Re: stream plugin. Transform...
Last post by 406man - June 23, 2024, 05:33:06 PM
Responding to Nambroque's request I've made two changes to the plugin.

i) to allow a maximum of 1000 pictures on a page – was 100 before.
ii) Page navigation can optionally be displayed above the stream. It's set on the plugin config screen.

Version is now 1.1.2 and the zip file can be found attached to the first topic in this forum thread. 

The above are the only changes compared to version 1.1.1 so the only reason to upgrade would be if you want one or both of these features.
When upgrading, just copy the various files into the plugin directory. Although there is a database change to add the new configuration parameter I've written the code in a way that copes if the parameter is missing so no need to uninstall and reinstall.
#97
cpg1.6 upload / Single file upload plugin – Co...
Last post by 406man - June 17, 2024, 10:43:48 AM
This bug affects comments when uploading an image using the single-file method. The multiple file option is not affected.

The length of a comment is truncated to 512 characters, ignoring the setting "Maximum length of a comment" in the gallery config.

The fault lies in codebase.php in the upload_sgl plugin where the comment length is hard-coded to be 512. It should use the config value $CONFIG['max_com_size']

Line 112 is:

<textarea name="caption" rows="5" cols="40" class="textinput" onkeydown="textCounter(this, 512);" onkeyup="textCounter(this, 512);"></textarea>

Corrected:

<textarea name="caption" rows="5" cols="40" class="textinput" onkeydown="textCounter(this, {$CONFIG['max_com_size']});" onkeyup="textCounter(this, {$CONFIG['max_com_size']});"></textarea>

I've made the change in my 1.6.26 gallery and it works fine.
#98
cpg1.6 upgrading / Re: Upgrading php version 7.4 ...
Last post by 406man - June 16, 2024, 02:20:40 PM
Quote from: theqe2story on June 15, 2024, 03:59:26 PM
Can anyone shed some light on this please?

Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /home/theqesto/public_html/forum/gallery/include/database/mysqli/dbase.inc.php:32 Stack trace: #0 /home/theqesto/public_html/forum/gallery/include/init.inc.php(169): CPG_Dbase->__construct() #1 /home/theqesto/public_html/forum/gallery/index.php(22): require('/home/theqesto/...') #2 {main} thrown in /home/theqesto/public_html/forum/gallery/include/database/mysqli/dbase.inc.php on line 32
What version of Coppermine are you running ?
#99
cpg1.6 upgrading / Re: Upgrading php version 7.4 ...
Last post by theqe2story - June 15, 2024, 03:59:26 PM
Hi there.

I had the same person as the previous poster, but turning off theme switcher then moved me onto the next error message.

Can anyone shed some light on this please?

Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /home/theqesto/public_html/forum/gallery/include/database/mysqli/dbase.inc.php:32 Stack trace: #0 /home/theqesto/public_html/forum/gallery/include/init.inc.php(169): CPG_Dbase->__construct() #1 /home/theqesto/public_html/forum/gallery/index.php(22): require('/home/theqesto/...') #2 {main} thrown in /home/theqesto/public_html/forum/gallery/include/database/mysqli/dbase.inc.php on line 32
#100
cpg1.6 plugin contributions / Re: forum plugin
Last post by 406man - June 14, 2024, 02:56:07 PM
Could you post a screen shot of the problem page or, if the gallery is available to access, post a link here