Jump to content
  • 0

clinet order page


mezoology

Question

12 answers to this question

Recommended Posts

  • 0
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

Link to comment
Share on other sites

  • 0
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

 

Link to comment
Share on other sites

  • 0
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.css
https://demo.blesta.com/client/theme/theme.css?dir=

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0
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)

Link to comment
Share on other sites

  • 0

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 :blesta:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...