shoplineuz Posted December 7, 2023 Share Posted December 7, 2023 (edited) Hi all. Installed 8.1 version on Ubuntu 22.04 Installation went well, no errors When I entered backend, the dashboard opens but none of the other button links does not work! It directs to shop frontend 404 not found page PhP version 8.1 tried other versions still does not work Any help would be appraciated Edited December 7, 2023 by shoplineuz (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted December 7, 2023 Share Posted December 7, 2023 Look under the /var/logs directory and in the error log of your server for errors. Link to comment Share on other sites More sharing options...
shoplineuz Posted December 9, 2023 Author Share Posted December 9, 2023 There seems few errors in PHP FMT logs: Should I reinstall and how to avoid these errors? [07-Dec-2023 02:32:23 UTC] PHP Warning: Attempt to read property "theme_name" on null in /home/admin/htdocs/shopline.uz/var/cache/prod/Container7d9C2cK/appAppKernelProdContainer.php on line 2869 [07-Dec-2023 07:37:08 Asia/Samarkand] PHP Deprecated: The hook "createAccount" is deprecated, please use "actionCustomerAccountAdd" instead in module "statsdata". in /home/admin/htdocs/shopline.uz/classes/Hook.php on line 921 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): Failed to enable crypto in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(https://shopline.uz/img/logo.png): Failed to open stream: operation failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): Failed to enable crypto in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(https://shopline.uz/img/logo.png): Failed to open stream: operation failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 Link to comment Share on other sites More sharing options...
musicmaster Posted December 9, 2023 Share Posted December 9, 2023 1 hour ago, shoplineuz said: There seems few errors in PHP FMT logs: Should I reinstall and how to avoid these errors? [07-Dec-2023 02:32:23 UTC] PHP Warning: Attempt to read property "theme_name" on null in /home/admin/htdocs/shopline.uz/var/cache/prod/Container7d9C2cK/appAppKernelProdContainer.php on line 2869 [07-Dec-2023 07:37:08 Asia/Samarkand] PHP Deprecated: The hook "createAccount" is deprecated, please use "actionCustomerAccountAdd" instead in module "statsdata". in /home/admin/htdocs/shopline.uz/classes/Hook.php on line 921 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): Failed to enable crypto in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(https://shopline.uz/img/logo.png): Failed to open stream: operation failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(): Failed to enable crypto in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 [07-Dec-2023 07:38:02 Asia/Samarkand] PHP Warning: imagecreatefrompng(https://shopline.uz/img/logo.png): Failed to open stream: operation failed in /home/admin/htdocs/shopline.uz/vendor/tecnickcom/tcpdf/tcpdf.php on line 7120 I don't know. I would check two things first: - do you have the gd php module installed? (the php module, it is not a prestashop module) - imagecreatefrompng is a php function. I am puzzled why and how it should call SSL. Anyway, SSL errors should be taken seriously. So check your SSL with: https://www.ssllabs.com/ssltest/analyze.html https://www.whynopadlock.com/https://www.sslshopper.com/ssl-checker.html Link to comment Share on other sites More sharing options...
shoplineuz Posted January 9 Author Share Posted January 9 On 12/10/2023 at 1:18 AM, musicmaster said: I don't know. I would check two things first: - do you have the gd php module installed? (the php module, it is not a prestashop module) - imagecreatefrompng is a php function. I am puzzled why and how it should call SSL. Anyway, SSL errors should be taken seriously. So check your SSL with: https://www.ssllabs.com/ssltest/analyze.html https://www.whynopadlock.com/https://www.sslshopper.com/ssl-checker.html I have just reinstalled whole thing, it worked out. Seems server problem, could not identify Appraciate your help Link to comment Share on other sites More sharing options...
Faredshah Posted January 9 Share Posted January 9 If your backend is not functioning properly and only displays the dashboard page, there could be several reasons for this issue. Here are some potential causes and solutions to consider: Server Errors: Check your server logs for any error messages or exceptions. These logs can provide valuable information about what went wrong. Ensure that all the necessary server processes are running and that there are no issues with the server configuration. Database Connection: Verify that your backend application can connect to the database successfully. Check the database logs for any errors or connection issues. Ensure that the database server is up and running. API Endpoints: Confirm that your backend API endpoints are correctly implemented and accessible. Test each API endpoint individually to identify if there are any issues with specific functionalities. Authentication and Authorization: If your application has user authentication, check whether the authentication process is working correctly. Ensure that users have the necessary permissions to access the dashboard. Frontend-Backend Communication: Check if there are any issues with the communication between the frontend and backend. Inspect the network requests and responses. Verify that the frontend is making requests to the correct backend endpoints. Caching Issues: Clear any caches that might be affecting the proper functioning of the backend. Ensure that your backend is not serving stale data from cache. Dependencies and Packages: Confirm that all the dependencies and packages your backend relies on are correctly installed and up to date. Environment Configuration: Check your environment configurations to ensure that they are set up correctly CHECK for the production environment. Ensure that environment variables are properly configured. Security Measures: If there are security measures in place, such as firewalls or security groups, make sure they are not blocking the necessary communication between components. Monitoring and Debugging: Implement proper monitoring and debugging tools to help identify issues in real-time. Use debugging tools to inspect the state of variables and code execution flow. By systematically investigating and addressing these potential issues, you should be able to identify and resolve the problem with your backend, allowing it to function as expected beyond just showing the dashboard page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now