Announcement

  •  » Requests
  •  » I'd like to see a plugin for the database.

#1 2019-08-15 08:48:41

Alexander83706
Member
Boise
2019-07-07
148

I'd like to see a plugin for the database.

Hello/Hi/Greetings,

I'd like to have a plugin that will allow me to log mysql/apache errors to the piwigo database.
Anyone have the moxie to put one together?


Piwigo version: 2.95
PHP version: 7.1
MySQL version: 5.6
Piwigo URL:

Offline

 

#2 2019-08-15 20:15:53

erAck
Only trying to help
2015-09-06
2021

Re: I'd like to see a plugin for the database.

You don't want that. You could easily have a database blown with malicious requests that result in 404 or 403 or whatever error. At least do not mix it into the Piwigo database, use a separate database instead. In any case, it wouldn't be a job for a Piwigo plugin because if there is an Apache error then Piwigo isn't even involved. However, I think it's a bad idea.

If you want an overview of server requests and errors, there are plenty of tools that analyze the server logs.

If it is only for MySQL errors that result from Piwigo requests, situation may be different. But for that all request would have to go through some API that a plugin could intercept. I doubt that's the case.


Running Piwigo at https://erack.net/gallery/

Offline

 
  •  » Requests
  •  » I'd like to see a plugin for the database.

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact