Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: anandmys 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
-
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
-
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
-
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 (https://stackoverflow.com/questions/17487058/how-to-solve-json-parse-bad-control-character-in-string-literal-in-this-code)
-
This is what i got on my side regarding this issue.
Look like a special char in front of a mailbox or a forwarder.
(https://i.imgur.com/bJg5Xyl.png)
-
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 (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!
-
Correct.
Login to cwp admin and edit.
User cant do this as the screen doesnt load.
A bug (Either on validation side while adding an email/forward or while loading)
This is what i got on my side regarding this issue.
Look like a special char in front of a mailbox or a forwarder.
(https://i.imgur.com/bJg5Xyl.png)
-
I´m with the same problem only 1 account my customer.
This customer has 54 emails account and 7 email forwarders and is not loading any email lists in e-mail accounts.
I checked others accounts and everything all normal, only this account it´s happening this problem.
I already suspend and unsuspend account, I already changed the package but nothing solve.
What Can i do?
-
Hi,
I posted a few minutes the problem because I was searching since 9a.m but i solved this problem now.
The problem happen because my customer created a alias/foward like email1@domain.com.br, email2@domain.com.br. My customer put a blank space after comma "," and because this He crashed the loading this screen.
I solved this problem logging in CWP as root and clicked on Menu Email > Email Aliases/Fowarders. After i search the my customer domain and corrected the problem and everything returned ok.
Thank You!
-
Yes, the devs need to better sanitize the input of the forwarders creation form so you can't create something with illegal characters or that don't parse & display correctly. Please file a bug report so it can get addressed in a future release.