Closed iAbdullah1995 closed 1 year ago
Hello follow the following steps:
From github click on the green "code" button and then download zip. From cpanel upload the zip file with the file manager somewhere and extract the files.
Also from cpanel creates a new mysql user and a database to dedicate to the script. In the folder you extracted, open qrcode>config>environment.php
Here you have to enter the credentials for the database created in the else braces.
From the browser connect to the associated domain and to the folder where you put the files, on the page. For example: https://example.com/PHP-Dynamic-Qr-code/qrcode/install/setup.php
When i go to ../qrcode/install/setup.php I faced “This page isn’t working X.com is currently unable to handle this request HTTP ERROR 500”
Get Outlook for iOShttps://aka.ms/o0ukef
From: Giandonato Inverso @.> Sent: Monday, September 5, 2022 9:15:33 PM To: giandonatoinverso/PHP-Dynamic-Qr-code @.> Cc: iAbdullah1995 @.>; Author @.> Subject: Re: [giandonatoinverso/PHP-Dynamic-Qr-code] How can I install the script by the easiest way. (Issue #26)
Hello follow the following steps:
From github click on the green "code" button and then download zip. From cpanel upload the zip file with the file manager somewhere and extract the files.
Also from cpanel creates a new mysql user and a database to dedicate to the script. In the folder you extracted, open qrcode>config>environment.php
Here you have to enter the credentials for the database created in the else braces.
From the browser connect to the associated domain and to the folder where you put the files, on the page. For example: https://example.com/PHP-Dynamic-Qr-code/qrcode/install/setup.php
— Reply to this email directly, view it on GitHubhttps://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/26#issuecomment-1237370129, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASADKAAV7IFIRBVNMTZ6U23V4Y2ELANCNFSM6AAAAAAQFF4ZBY. You are receiving this because you authored the thread.Message ID: @.***>
In cpanel go to the errors section or in the domain folder open the error_log file and see what is written. In my opinion it will be a syntax error. Let me know thanks
[05-Sep-2022 14:25:32 America/New_York] PHP Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'admin_qrcode'@'localhost' to database 'admin_qrcode' in /home/admin/public_html/qr/qrcode/lib/MysqliDb/MysqliDb.php:323 Stack trace:
thrown in /home/admin/public_html/qr/qrcode/lib/MysqliDb/MysqliDb.php on line 323
Maybe I understood. From cpanel go to the MySQL® Databases section and at the bottom of the page you have to assign the user you created the database you created. It is an operation that must be done manually and perhaps you have not done it.
Anyway I point out that you should download a new version of a file that I have corrected: qrcode / lib / MysqliDb / MysqliDb.php
Da: iAbdullah1995 @.> Inviato: lunedì 5 settembre 2022 20:36 A: giandonatoinverso/PHP-Dynamic-Qr-code @.> Cc: Giandonato Inverso @.>; Comment @.> Oggetto: Re: [giandonatoinverso/PHP-Dynamic-Qr-code] How can I install the script by the easiest way. (Issue #26)
[05-Sep-2022 14:25:32 America/New_York] PHP Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'admin_qrcode'@'localhost' to database 'admin_qrcode' in /home/admin/public_html/qr/qrcode/lib/MysqliDb/MysqliDb.php:323 Stack trace:
thrown in /home/admin/public_html/qr/qrcode/lib/MysqliDb/MysqliDb.php on line 323
— Reply to this email directly, view it on GitHubhttps://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/26#issuecomment-1237381319, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ5M2KC5UDPTO42PMW3576DV4Y4SZANCNFSM6AAAAAAQFF4ZBY. You are receiving this because you commented.Message ID: @.***>
Many thanks, it works! BTW i didn't need to download a new version of "MysqliDb.php" file.
Do it because otherwise you will have an error when inserting the new qrcode in the database
Da: iAbdullah1995 @.> Inviato: lunedì 5 settembre 2022 20:45 A: giandonatoinverso/PHP-Dynamic-Qr-code @.> Cc: Giandonato Inverso @.>; Comment @.> Oggetto: Re: [giandonatoinverso/PHP-Dynamic-Qr-code] How can I install the script by the easiest way. (Issue #26)
Many thanks, it works! BTW i didn't need to download a new version of "MysqliDb.php" file.
— Reply to this email directly, view it on GitHubhttps://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/26#issuecomment-1237386532, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ5M2KA3FXM4Z3K6HBCIWLDV4Y5V7ANCNFSM6AAAAAAQFF4ZBY. You are receiving this because you commented.Message ID: @.***>
hhhhhh that's right, I do it and it's work, but i faced other issue: "Oops! You cannot create a new qr code with an existing name on the server!"
why? actually the link is on my website.
second question: How Can I add logo inside dynamic QR code?
Perhaps you have already created one by mistake. I invite you to delete any occurrences of this qr code in the saved_qrcode folder and in the database.
The functionality of inserting the logo in a qrcode is programmed in half as it sometimes affects the reading of the qr code. In any case, to integrate it, it is necessary to intervene at the source code level.
Da: iAbdullah1995 @.> Inviato: lunedì 5 settembre 2022 21:31 A: giandonatoinverso/PHP-Dynamic-Qr-code @.> Cc: Giandonato Inverso @.>; Comment @.> Oggetto: Re: [giandonatoinverso/PHP-Dynamic-Qr-code] How can I install the script by the easiest way. (Issue #26)
hhhhhh that's right, I do it and it's work, but i faced other issue: "Oops! You cannot create a new qr code with an existing name on the server!"
why? actually the link is on my website.
second question: How Can I add logo inside dynamic QR code?
— Reply to this email directly, view it on GitHubhttps://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/26#issuecomment-1237410941, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ5M2KD722F34WDIAUCJXSLV4ZDAFANCNFSM6AAAAAAQFF4ZBY. You are receiving this because you commented.Message ID: @.***>
Thank you :) it's work now. But unfortunately when I scan the QR via my phone I faced 404 page!
Thank you :) it's work now. But unfortunately when I scan the QR via my phone I faced 404 page!
Ok i know why, because when I scan QR, the script take me to main directory of my website! It should add folder name of script.
Current situation: Website.com/read.php?=
Should be: Website.com/FOLDERPATH/read.php?=
hope to fix it :)
Sorry how can i fix that? I know the reason but I don’t know how to fix it :/
from the file manager, move the read.php file to the root folder of the domain.
Inviato da iPhone
Il giorno 6 set 2022, alle ore 19:46, iAbdullah1995 @.***> ha scritto:
Sorry how can i fix that? I know the reason but I don’t know how to fix it :/
— Reply to this email directly, view it on GitHubhttps://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/issues/26#issuecomment-1238469706, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ5M2KHNHP6E4AWZ3TKPEV3V457NLANCNFSM6AAAAAAQFF4ZBY. You are receiving this because you modified the open/close state.Message ID: @.***>
from the file manager, move the read.php file to the root folder of the domain.
nothing happen, just white page
Hi I'm sorry that you are having problems in the execution of my script but I cannot provide you with complete assistance for the installation ... I have already guided you for the installation on cPanel but help regarding other execution phases are not my responsibility. I am not even responsible for help with ad-hoc installations (eg logos in qr-codes).
In the documentation it is explicitly indicated that it is a partially developed functionality and that to activate it it is necessary to intervene at the source code level.
At this point I remind everyone that this is a script developed to be used by other programmers, however with the new docker support it is possible to obtain a new instance of this script in a few steps.
Ok friend, sorry for bothering you, I'm just need to fix "read.php" file problem to run the script correctly.
Thank you anyway and sorry again.
No problem. In any case, I recommend that you use a debugger that can help you in troubleshooting errors at runtime
No problem. In any case, I recommend that you use a debugger that can help you in troubleshooting errors at runtime
the problem is i'm not programmer and i don't have any idea how to do that _ Thanks giandonato
Hello, Actually i don't know if this place is a right one for questions, How can I install the script by cPanel?
I want easiest way to make that please, I'm not programmer, just i had a little experience in install scripts. and if you can record your screen and upload it on YouTube, it will be great and help me with others.