“Could Not Find Driver” and “Pragma table_info(“strings”)” Error in Language Page
Problem Description:
When encountering the error message “Could Not Find Driver” and facing issues with “Pragma table_info(“strings”)” on the language page, follow the steps below to address and resolve the problem.
Steps to Solve:
- Identify the PHP Version:
- Access SSH or Server Terminal as Root:
- Ensure you have access to the server terminal as the root user.
- Install the Appropriate PHP Driver:
- Based on the PHP version identified in step 1, execute the corresponding command. Examples:
- For PHP 8.1:
sudo apt install php8.1-sqlite3
- For PHP 8.0:
sudo apt install php8.0-sqlite3
- For PHP 7.4:
sudo apt install php7.4-sqlite3
- For PHP 8.1:
- Based on the PHP version identified in step 1, execute the corresponding command. Examples:
- Verify Language Page:
- After installing the PHP driver, check the language page to ensure it is now working.
- If the changes do not take effect immediately, restart the server using the following command:
reboot
Automatic Installation is not working
If you are having trouble with the automatic installation, you can try the following steps:
- Make sure you have the required PHP version and PHP modules specified on the Installation page.
- Try performing the Manual Update method.
Images Missing After Activating Themes Such as Dark and Modern
The issue arises because folder permissions are not set correctly when the files are created. Typically, the folders in public/themes/{theme_name}
are assigned a permission level of 0700. Please adjust the permissions correctly and try again. Click here to see recommended file permissions.
Razorpay is not working
This issue occurs when attempting to use Razorpay for subscription plans or currencies other than INR. Currently, MagicAI only supports token packs with INR as the currency.