Troubleshooting Guide
General Troubleshooting Tips
- Check Requirements: Ensure your hosting environment meets the required specifications, including PHP and database versions, necessary PHP extensions, and other server requirements.
-
Check Logs: Logs provide detailed insights and error descriptions:
-
storage/logs/laravel.log
- PHP Error log
- Apache/Server log
-
Specific Issues
Error 500
Check the log: If you encounter a 500 error, check storage/logs/laravel.log
for detailed error insights. If the log does not provide a clear answer, please send a support message.
500 Error Right After Uploading
If you get a 500 error message immediately after uploading the script instead of the installation screen, it is often because the PHP extension ext-intl
(Internationalization) is not present. Ensure this extension is activated.
Display Folder Structure Instead of Installation Screen
If you see the directory tree instead of the installation interface, this can usually be due to:
-
Missing .htaccess: Some operating systems, like macOS, hide files beginning with a dot (.). If you cannot find the
.htaccess
file in the directory tree, it is probably hidden by your operating system. On Mac systems, this problem can be remedied by pressing Command + Shift + . (the dot key) to display hidden files. -
Mod_rewrite Disabled: There is a chance that
mod_rewrite
is not enabled, meaning the.htaccess
file is not parsed. While this is unusual becausemod_rewrite
is generally enabled by default, it is still worth checking.
Problems Uploading Images
Modify php.ini file: Problems uploading images can occur if the proc_open
and proc_close
functions are disabled in your PHP setup. This can be fixed as follows:
-
Locate the php.ini file: Determine the location of your
php.ini
file with thephp --ini
terminal command. -
Edit the php.ini file: Open your
php.ini
file and look for thedisable_functions
directive. If it is missing, add it to the document. -
Change the directive: Remove
proc_open
andproc_close
from thedisable_functions
directive.
Numeric Value Out of Range Error
This error can occur in specific environments with strict numerical constraints. To resolve it:
Immediate Fixes:
-
Change Snowflake Setting for MySQL/MariaDB: If you're using MySQL or MariaDB, disable the Snowflake ID generation by setting
SNOWFLAKE_ENABLED=false
in your.env.blueprint
file. After making this change, a reinstallation of the application is required. Reinstallation Guide. -
Switch to SQLite: SQLite might offer a more streamlined solution for your setup. Switching to SQLite often resolves this issue. For installation instructions with SQLite, refer to the Reinstallation Guide. For more insights into why SQLite might be beneficial, read this detailed article.
Further Steps:
- Check Database Configurations: Review your database configurations for settings that might contribute to high latency or other issues.
- Consider Switching Hosting Provider: If the error persists, it might be worth considering a different hosting provider. Collaborate with your current provider's technical support to pinpoint the cause of the issue.