Jump to content

Question

Posted

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

7 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

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 .

  • 0
Posted

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

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

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