This topic is locked

Signatures and QR Codes in V11

11/13/2024 6:58:01 PM
PHPRunner General questions
S
salus2 author

Hi,
Does anyone know if there are plans to add signature and QRCode generation capabilities to V11?
Thanks

Y
Yoann 11/22/2024

aren´t they already working ? my whole project use qrcode and signature pad, i´ve try to use it on v11, i´ve got some menu and permissions issue but i think signature and qr were working both fine

S
salus2 author 11/24/2024

Is there currently a way to use the plugins that work in V10.91 in V11? Importing the signature pad, color picker, or qrcode plugins errors out.

img alt

S
salus2 author 11/24/2024

Actually, the Code View, Chart, and CurrencyFormat plugins import into V11 without any errors.

Importing the ColorPicker, SignaturePad, and QRCode plugins produce the error in the screenshot.

S
salus2 author 12/16/2024

Ok, got the SignaturePad and QRCode to load using PHPR41619 x64 but both produce errors.

I configured both exactly that same as in V10.91 where they work perfectly.

SignaturePad produces the following error when the record is saved...

img alt

QRCode produces the following error when the page loads...

img alt

Sergey, any advice on getting these to work correctly?

S
salus2 author 1/6/2025

I really, really, really like V11 but still have the same issues with the SignaturePad and QRCode plug-ins (which I use in practically every solution I build).
Any updates or ideas on what it would take to makes these work correctly in V11? I'm testing with 42766 Enterprise Edition on Windows 11.
Thanks!

G
Grdimitris 1/7/2025

I solved theese problems editing the php file in plugin folder and I changed for instance in QRCode plugin the line 18
public function showDBValue(&$data, $keylink ) with
public function showDBValue(&$data, $keylink, $html = true ).
This is I think for PHP 8.3 and must changed for all old plugins.
I re installed the plugin and I found that inside PHPRunner's database there are the tables plugins and pluginfiles.
If I install 3 times the same plugin the plugin is not overwritten but added s new row.
So I delete from both tables the lines that coresponds with the plugin and then re install the plugin.
For instance the qrcode plugin has id 36 in plugins table and I delete all rows from plugin all rows where plugin = 36.
In plugin table if type = 0 then is edit plugin and if type = 1 is view plugin.

fhumanes 1/7/2025

Thanks @Grdimitris,

At least we are 2 who think that version 11 has incompatibilities in the plugins, with previous versions.

Thank you very much for providing information on possible changes in the plugin to work in version 11, as it is at this time.

Greetings,
fernando

S
salus2 author 1/7/2025

Thanks @Grdimitris, that definitely works for the QRCode plugin, and I learned a lot of new stuff in the process. That must have taken a while to figure out!

I also deleted the SignaturePad- related records from the database tables as you suggested and re-installed the 3 SignaturePad plugin files (EditSignaturePad.php, signature-to-image.php, sample.php) but have the same error as before when saving a record with an edited signature...

img alt

...which seems to point to the EditPage->process() function but I can't see anything obvious there to try.

The signature PNG file is being saved correctly to the files directory on the server but the data is no being saved to the database field (2,500 character varchar).

Also, seems to ignore the background color as set in the configuration area, seems to be stuck on blue...

img alt

img alt

Any assistance greatly appreciated

Thanks again.