SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Installation Issue
- This topic has 5 replies, 2 voices, and was last updated 2 months, 1 week ago by RRowley.
-
AuthorPosts
-
August 13, 2024 at 5:42 pm #2063BruceParticipant
New installation of Version 2023.0.4
Getting this error:
Fatal error: Uncaught Error: Class “PDO” not found in /public_html/invoices/Inc/Claz/PdoDb.php:78 Stack trace: #0 /public_html/invoices/Inc/Claz/Setup.php(38): Inc\Claz\PdoDb->__construct() #1 /public_html/invoices/index.php(95): Inc\Claz\Setup->__construct() #2 {main} thrown in /public_html/invoices/Inc/Claz/PdoDb.php on line 78August 16, 2024 at 12:43 pm #2064RRowleyParticipantFor some reason, the PDO class in PHP is not being recognized. I have attached the following link to documentation that might help you determine what you need to do in your set up.
PDO class installation documentation
- This reply was modified 4 months ago by RRowley.
October 6, 2024 at 6:17 pm #2066BruceParticipantThank you for the information. I have solved that problem but now getting other errors.
Uncaught TypeError: iconv(): Argument #3 ($string) must be of type string, array given in /public_html/invoices/vendor/symfony/polyfill-mbstring/Mbstring.php:116 Stack trace: #0 /public_html/invoices/vendor/symfony/polyfill-mbstring/Mbstring.php(116): iconv() #1 /public_html/invoices/vendor/symfony/polyfill-mbstring/bootstrap80.php(15): Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding() #2 /public_html/invoices/modules/customers/manage.php(56): mb_convert_encoding() #3 /public_html/invoices/index.php(441): include(‘/home3/axxxxdl…’) #4 {main} thrown in /public_html/invoices/vendor/symfony/polyfill-mbstring/Mbstring.php on line 116
- This reply was modified 2 months, 2 weeks ago by Bruce.
October 10, 2024 at 1:19 pm #2068RRowleyParticipantWhat version of PHP are you using? This is a library error and not typically something that I can fix. You might make sure that you are using symphony libraries consistent with your PHP version.
October 11, 2024 at 6:24 pm #2070BruceParticipantHi I’m using PHP 8.1.29.
October 14, 2024 at 1:15 pm #2073RRowleyParticipantI am at a loss as to why you would have an issue with a library file function that is used pervasively throughout this application. At this point, I would recommend you try reinstalling the SI application. First, following the Version Update Process on the left menu. This makes sure that everything is reinstalled. If that does not work, you might try installing a clean version of SI. This is in the Installation link on the left. Do this letting that application install the new database – you set up an empty database and SI loads the structure and required files. If this works and you can run the application, the issue likely lies in a difference in your database and its data structures. If this is the case, you should export a copy of your existing database structure, no data just structure, and the structure of the newly installed database that is working. I’ve had to do this in the past for other reasons and found that over time and updates, database field definitions have been changed but not reflected in my database. This shouldn’t happen, but it did. So the resolution was to manually alter the real database to match the structure of the test database. Once this is done, point the SI application to your live database and see if the issue is resolved.
-
AuthorPosts
- You must be logged in to reply to this topic.
Recent Comments