By David Raza on Tuesday, 26 July 2022
Posted in Technical Issues
Replies 9
Likes 0
Views 746
Votes 0
Hi

Not sure if you help but my cronjob seems ot running although I am getting the following error:

<br />
<b>Warning</b>: imap_open(): Couldn't open stream {mail.inconews.com:993/imap/ssl}INBOX in <b>/home/inconews/public_html/administrator/components/com_easydiscuss/includes/mailbox/mailbox.php</b> on line <b>93</b><br />
<br />
<b>Warning</b>: strpos() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>97</b><br />
<br />
<b>Warning</b>: explode() expects parameter 2 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>103</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>106</b><br />
<br />
<b>Warning</b>: array_shift() expects parameter 1 to be array, null given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>111</b><br />
<br />
<b>Warning</b>: strtoupper() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Language.php</b> on line <b>328</b><br />
<br />
<b>Warning</b>: strpos() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Language.php</b> on line <b>377</b><br />
<br />
< Trimmed >
Cronjob Processed.

Have you any ideas or is this normal?

Obviously I am monitoring the output but don't normally.

Regards
David
Hi David,

I assume from the above error message that the system is unable to access the mailbox linked with the forums@inconews.com email address. Have you verified that the imap settings and password are set up properly?

If yes, and still unable to fix the problem then I need your FTP access and the imap configuration details.

Thanks!
·
Tuesday, 26 July 2022 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

The mailbox is set up correctly according to the email parser section.

I had to edit my cronjobs as they were not working at all but they seem fine now as emails are being parsed and notifications sent out.

Although things seem to be working I am still getting the following:

<br />1 emails parsed.<br />


<b>Warning</b>: imap_open(): Couldn't open stream {mail.inconews.com:993/imap/ssl/novalidate-cert}INBOX in <b>/home/inconews/public_html/administrator/components/com_easydiscuss/includes/mailbox/mailbox.php</b> on line <b>93</b><br />
<br />
<b>Warning</b>: strpos() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>97</b><br />
<br />
<b>Warning</b>: explode() expects parameter 2 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>103</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>106</b><br />
<br />
<b>Warning</b>: array_shift() expects parameter 1 to be array, null given in <b>/home/inconews/public_html/libraries/src/Language/Text.php</b> on line <b>111</b><br />
<br />
<b>Warning</b>: strtoupper() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Language.php</b> on line <b>328</b><br />
<br />
<b>Warning</b>: strpos() expects parameter 1 to be string, array given in <b>/home/inconews/public_html/libraries/src/Language/Language.php</b> on line <b>377</b><br />
<br />No emails to be parsed.Cronjob Processed.

Seems to be something to do with SprintF output so maybe it can be ignored?


FTP: ftp.inconews.com / stackideas@inconews.com / StackHelp2510


Regards
David
·
Thursday, 28 July 2022 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I require your FTP credentials to look further into the issue. We tried to connect to your ftp server but we couldn't able to connect it and we hit the following error.


Status: Resolving address of ftp.inconews.com
Status: Connecting to 87.117.195.2:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 12:24. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER stackideas@inconews.com
Response: 331 User stackideas@inconews.com OK. Password required
Command: PASS *************
Response: 421 Home directory not available - aborting
Error: Could not connect to server


Seems to be something to do with SprintF output so maybe it can be ignored?


Yes, this can be ignore but we would like to know where caused this error, by right it shouldn't show this warning.
·
Thursday, 28 July 2022 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Apologies about the FTP access error.
Please try again using the previous details.

Thanks
David
·
Friday, 29 July 2022 08:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the ftp access David. For some reason I'm encountering the following error while troubleshooting the issue on your site.

array(2) {
[0]=>
string(54) "IMAP protocol error: Authentication aborted by client."
[1]=>
string(29) "IMAP Authentication cancelled"
}
It appears that during the cron process, the mail server authentication failed.

Are you aware of any restrictions on the mail server that could prevent outside connections to it? Would it be possible to for you to provide us access to your mail server configuration so we can investigate this further?
·
Friday, 29 July 2022 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Sorry for delay. I am not aware of any restrictions on mail server.

The server is running cPanel. I can give access to that or do you prefer shell access?

David
·
Thursday, 04 August 2022 06:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey David,

Sure you can provide us the cpanel access. Is that where configurations on the mail server is made, or is it from somewhere else?
·
Thursday, 04 August 2022 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
yes would be nice to also have Joomla std scheduled tasks https://docs.joomla.org/Help4.x:Scheduled_Tasks#Scheduled_Tasks_Options
·
Wednesday, 10 August 2022 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks ssnobben.
·
Wednesday, 10 August 2022 18:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post