Jump to content
  • 0
dimsum

Client Missing Widget?

Question

Hey everyone,

I need some help here. I have no idea what happened? I haven't touched the database/pdt files.

Yet for some odd reason, some clients have service widgets showing and some do not.

All clients have services bound to them, I can see the widget if I type in the URL with "[website]/admin/clients/services/[client_id]/" but if I go back to the normal URL "[website]/admin/clients/view/[client_id]/", the service widget is missing.

I've asked a client to check on his own client dashboard and he is missing the service widget as well.

Can someone point me in the right direction?

Regards.

Screen Shot 2018-02-13 at 00.37.28.png

Screen Shot 2018-02-13 at 00.38.04.png

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

The 'd' is the problem. Something like a module, as @Blesta Addons mentioned, is likely the culprit. It is printing out the 'd' character causing the JSON to not be parsed and displayed in the UI. You'll need to find where the 'd' is being printed and remove it.

Share this post


Link to post
Share on other sites
  • 0

What version of Blesta are you using?

It is typical for a widget to be missing if there is a php fatal error attempting to load it. You should check your php error logs to see what the error may be.

Share this post


Link to post
Share on other sites
  • 0

The client who cannot view the widget wich service they have .

If you have mozilla and developper tools you can see the ajax requests and thier responses.

Also activate the error reporting in config.php might help .

Share this post


Link to post
Share on other sites
  • 0

Thanks for the replies!

My installed Blesta version is 3.6.1.

I've enabled the php error logs, but I see anything wrong in error_log files.

I've also tried the developer tools on Safari and noticed something weird.

There's a "d" in front of the JSON for services for clients that doesn't show the service widget. Clients that has the service widget doesn't have the "d".

Regards.

 

 

Screen Shot 2018-02-13 at 1.06.06 PM.png

Screen Shot 2018-02-13 at 1.09.04 PM.png

Share this post


Link to post
Share on other sites
  • 0
14 hours ago, dimsum said:

Thanks! @Blesta Addons@Tyson and @activa, it was one of the modules, apparently there was a rouge 'd' character in one of the files. Once I removed it, everything is back to normal!

Thanks for the update! A rogue character will definitely do that, it's even more fun when that character is invisible (like line endings \n \r\n or tabs or spaces).

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×