mezoology Posted September 25, 2020 Report Posted September 25, 2020 hey guys, Im currently setting up blesta, but my client order page is showing in plain text. was working fine yesterday. Im new to blesta btw. Thanks a lot. Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 1 hour ago, mezoology said: hey guys, Im currently setting up blesta, but my client order page is showing in plain text. was working fine yesterday. Im new to blesta btw. Thanks a lot. It sounds like the style sheets are not being loaded. I also see that /index.php/ is in your URLs. Can I assume you are using a web server other than Apache? If you are running Apache, then you may not have uploaded the .htaccess file that is included with Blesta. If you are running another web server like nginx, then you need the right configuration to rewrite URLs through index.php and handle style sheets https://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-Nginx Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 1 hour ago, Paul said: It sounds like the style sheets are not being loaded. I also see that /index.php/ is in your URLs. Can I assume you are using a web server other than Apache? If you are running Apache, then you may not have uploaded the .htaccess file that is included with Blesta. If you are running another web server like nginx, then you need the right configuration to rewrite URLs through index.php and handle style sheets https://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-Nginx Thanks for answering Paul, Yes, it Nginx, and did as you suggested, but still plain text. not sure whats wrong here. Thanks Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 55 minutes ago, mezoology said: Thanks for answering Paul, Yes, it Nginx, and did as you suggested, but still plain text. not sure whats wrong here. Thanks Use the inspector in your browser, or view the source and look for the style sheet links, anything ending in .css. Can you open those files in your browser directly without getting an error? For example, in the demo at https://demo.blesta.com/order/main/packages/hosting/?group_id=1 https://demo.blesta.com/app/views/client/bootstrap/css/application.min.csshttps://demo.blesta.com/client/theme/theme.css?dir= Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 It has no .css at all. edit: Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 There is certainly a link to the CSS in the markup. Your server is probably returning a 404 error because it can't load it because of the rules. View the page source, find the links to the CSS and find out if they are not correct. There is a possibility that the "Root Web Directory" path defined in Settings > System > General is not correct, it should be the full system path to your document root. Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 Hey Paul, I PM'ed you the site link. also "Root Web Directory" is correct. There is no link for any .css file Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 3 minutes ago, mezoology said: Hey Paul, I PM'ed you the site link. also "Root Web Directory" is correct. There is no link for any .css file Thanks for the link. The CSS loads on your portal page, on your order page it only loads a partial view. There is no header or footer, so the CSS is not loaded. If you modified any of the templates it's likely that broke it. You can check your error logs to see if there's anything there, ../logs_blesta/ defined under Settings > System > General. This has nothing to do with Nginx as far as I know. Possibly a syntax error. Haven't seen that happen before. Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 I didnt modify any file. so if i re-uploaded some file. which file i shouldn't re-upload to avoid re-issuing the license. its internal license with my host. Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 14 minutes ago, mezoology said: I didnt modify any file. so if i re-uploaded some file. which file i shouldn't re-upload to avoid re-issuing the license. its internal license with my host. To be safe, I would recommend re-uploading all of the files from the official zip for the same version you are running. As long as your IP, hostname, or install path doesn't change you don't have to re-issue the license. Good idea to make a backup of the files first just in case something goes wrong.. (e.g. some FTP clients delete everything and then upload the new stuff, that's very bad because /config/blesta.php is your config file that contains some very important information so don't lose it) Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 i re-uploaded the '/app/views/admin/default' only. and seems to fix the issue. not sure yet if it broke something else. do you think it would ? Quote
0 Paul Posted September 25, 2020 Report Posted September 25, 2020 Glad to hear that worked! I'm not sure why /app/views/admin/default/ would have fixed it though, since that's the admin templates and the order form is generated with a combination of client templates and order form templates (/app/views/client/bootstrap/, and /plugins/order/views/templates/) Either way, it looks much better now Quote
0 mezoology Posted September 25, 2020 Author Report Posted September 25, 2020 honestly, i dont know, i just got the idea from the 'general-warning' logs. Ill share a sample here so it might help you guys debug it. thanks blesta_warning.txt Quote
Question
mezoology
hey guys,
Im currently setting up blesta, but my client order page is showing in plain text. was working fine yesterday.
Im new to blesta btw.
Thanks a lot.
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.