phpMyFAQ 2.9.9 to 3.1.12 updated to.
After updating
/src/phpMyFAQ/Helper
When executing the program under the php command, the following message was displayed.
# php FaqHelper.php
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class "phpMyFAQ\Helper" not found in /***/**/src/phpMyFAQ/Helper/FaqHelper.php:36
Stack trace:
#0 {main}
thrown in <b>/***/**/src/phpMyFAQ/Helper/FaqHelper.php</b> on line <b>36</b><br />
Please let me know what could be the cause.
version information
OS:CentOS7
PHP:8.0
Apache:2.4
MySQL:5.7
Uncaught Error: Class "phpMyFAQ\Helper" not found
Moderator: Thorsten
Re: Uncaught Error: Class "phpMyFAQ\Helper" not found
Hi,
why do you call that file directly?
bye
Thorsten
why do you call that file directly?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Uncaught Error: Class "phpMyFAQ\Helper" not found
Thank you for your reply.
Currently using phpmyfaq,I decided to update this time.
After the update, there was a problem with the site display, and after investigating various things,
When I ran it with the php command, an error was displayed, so I contacted you.
Besides FaqHelper.php, all other files in /src/phpMyFAQ/Helper,I get a similar error when I run the php command.
If you have installed phpMyFAQ 3.1.12 on another server,php command doesn't give any error.
I'm looking for what causes the error to appear and how to fix it.
Re: Uncaught Error: Class "phpMyFAQ\Helper" not found
Hi,
you can't fix that error because it's not intented to call that file directly.
What errors do you get on your installation?
bye
Thorsten
you can't fix that error because it's not intented to call that file directly.
What errors do you get on your installation?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Uncaught Error: Class "phpMyFAQ\Helper" not found
Thank you for your reply.Thorsten wrote: Sun Jun 18, 2023 9:07 am Hi,
you can't fix that error because it's not intented to call that file directly.
What errors do you get on your installation?
bye
Thorsten
No errors were found when the update was completed.
Is there a log that can confirm that the update has been implemented and the installation has been completed?
Re: Uncaught Error: Class "phpMyFAQ\Helper" not found
Hi,
if you don't see errors the update went fine.
bye
Thorsten
if you don't see errors the update went fine.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist