Author Topic: Emails screen not loading  (Read 273 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Emails screen not loading
« on: February 17, 2023, 08:09:39 AM »
I have a cwp setup with around 25 client accounts

In one of the client logins, Email scree and Email forwarder scree just keeps loading. The list of emails or forwarders never gets loaded.

Where can I look for possible issues?

:2083/cwp_93cb45dd01cbe276/agspower/?module=email_accounts
:2083/cwp_a60cebb21f1ae172/pknco/?module=forwarders_email

Offline
**
Re: Emails screen not loading
« Reply #1 on: February 17, 2023, 08:13:27 AM »
Quote
Uncaught SyntaxError: Bad control character in string literal in JSON at position 743
    at JSON.parse (<anonymous>)
    at ?module=email_accounts:2955:28

This is the error I see when I do inspect

Offline
***
Re: Emails screen not loading
« Reply #2 on: February 18, 2023, 03:40:06 AM »
I have a cwp setup with around 25 client accounts

In one of the client logins, Email scree and Email forwarder scree just keeps loading. The list of emails or forwarders never gets loaded.

Where can I look for possible issues?

:2083/cwp_93cb45dd01cbe276/agspower/?module=email_accounts
:2083/cwp_a60cebb21f1ae172/pknco/?module=forwarders_email


any screenshot or short video maybe can help community to help you

Online
***
Re: Emails screen not loading
« Reply #3 on: March 04, 2023, 09:51:52 PM »
Maybe the client made an e-mail address with an invalid character, revealing an unescaped bug in CWP?
https://stackoverflow.com/questions/17487058/how-to-solve-json-parse-bad-control-character-in-string-literal-in-this-code

Offline
*
Re: Emails screen not loading
« Reply #4 on: March 09, 2023, 08:30:39 PM »
This is what i got on my side regarding this issue.

Look like a special char in front of a mailbox or a forwarder.


Online
***
Re: Emails screen not loading
« Reply #5 on: March 11, 2023, 10:17:17 AM »
Now that is truly bizarre... on one of my CWP Pro servers, the forwarder module is missing!
?module=forwaders_email does not exit!

But this solves it:
http://forum.centos-webpanel.com/index.php?topic=12025.msg41471#msg41471
And since it was for the client that is basically 1:1 utilizing the whole server, I went ahead and gave them all access to everything under Features,Themes,Languages. Hopefully they don't shoot themselves in the foot with all their new toys!
« Last Edit: March 11, 2023, 10:49:57 AM by overseer »