Control Web Panel

WebPanel => Installation => Topic started by: edgruezo on July 06, 2015, 04:50:20 PM

Title: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: edgruezo on July 06, 2015, 04:50:20 PM
I have a fresh install CWP from my VPS. Everything works well except for the email function, whenever I try to send emails the Roundcube Webmail just freezes and does not send the email.

Also I am not recivieng  ayn email to my new email address created on CWP, I tried sending emails from my gmail to CWP email but it didn't recieved any email. (No not bounce email from google though)

With that said, I've checked the Mail Queue Manager and getting the error below:

Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php(1) : eval()'d code(1) : eval()'d code on line 7

Kindly advice how to get the email working.

Thanks!
Ed Gruezo
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Administrator on July 07, 2015, 05:45:47 AM
this could be related with mail server but
its hard to know what is the issue with your server, you should check this with your system admin or cwp support.
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: ajeshbaby on October 08, 2015, 12:53:24 PM
I have the same issue, when I freshly install CWP on my server. All other functions are working properly, only emails can't send/receive. (Sending message... hanging too long on browser).
Error message:
Notice: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php(1) : eval()'d code(1) : eval()'d code on line 6

Notice: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php(1) : eval()'d code(1) : eval()'d code on line 14

postfix and dovecot is started.
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: RainCode on October 10, 2015, 01:06:34 PM
I get the same issue too, well, when it comes to the error. This happens to me when there's around over 20 emails in the queue, and I get a lot of the same error (maybe around 30 above but the queue looks fine after scrolling through all of that).

The list build up originally was to do with the server attempting to send emails to the root email address that doesn't exist. I now have disabled email notifications from CSF.


In not-so relation to the actual error, I had to modify /etc/postfix/main.cf so that the 'mydestination' directive would only have 'localhost' as its value (so 'mydestination = localhost'). That fixed the sending where the email would end up in spam and sorted out receiving.
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Administrator on October 12, 2015, 05:46:57 PM
we will check this issue for the next release of cwp
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: deohosting on July 25, 2019, 01:12:39 PM
Hello,

I Have trouble...

csf
ConfigServer Security & Firewall

Notice: Undefined index: csrf_token in /usr/local/cwpsrv/htdocs/resources/admin/modules/csf.php on line 0

and all

Notice: Undefined index: csrf_token in /usr/local/cwpsrv/htdocs/resources/admin/modules/* on line 0


Please help for this trouble...

Thanks

Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Igor S. on July 25, 2019, 03:07:07 PM
Hello.

Try re-login to CWP, I suppose it will help you.
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: deohosting on July 25, 2019, 05:36:14 PM
Hello.

Try re-login to CWP, I suppose it will help you.

there is no change even though I have logged out and re-logged....

I have tried using a different device (Personal Computer) and using a different internet provider... the problem that remains is the same.

problem has happened since after upgrading to CWP version: 0.9.8.654. I updated via https://domain:2087/cwp_58ffb004146c76998a7a295da91a87d0/admin/index.php >> Process >> CWP Up to date ...

[root@cpanel ~] # uname -a
Linux cpanel.domain.net 2.6.32-754.17.1.el6.x86_64 # 1 SMP Tue Jul 2 12:42:48 UTC 2019 x86_64 x86_64 x86_64 GNU / Linux
[root@cpanel ~] #

Every time you save, the CWP will automatically log out ....

Trouble :
(https://i.imgur.com/o8dq26P.png)
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Igor S. on July 28, 2019, 08:28:39 AM
Hi.

Open a ticket in the CWP support portal https://support.centos-webpanel.com/
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Namaste on April 02, 2023, 02:27:48 PM
I have the same problem with the same errors seen in the image above. Panel shows a red dot for dkim, but record show a dkim key
Title: Re: Undefined offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_qu
Post by: Namaste on April 02, 2023, 08:13:54 PM
I have the same problem with the same errors seen in the image above. Panel shows a red dot for dkim, but record show a dkim key
fwiw....passed google spf and dkim even though panel showed a red dot for dkim