Jump to the post that solved this thread.
Not Solved mybb and PhP 8.0
#11
Not Solved
I do not see any error.
The user just never receives the email.
When I change the PHP version back to 7.4, all is OK once again.

BTW, I am using iAndrew's current igame23 theme (free version)
Reply
#12
Not Solved
You'd probably need to check the PHP configuration there then, the PHP mail function hasn't changed since PHP 7.2 so there should be no compatibility issues here, however you may have different php.ini settings between the two versions.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#13
Not Solved
I have used cPanel to browse files but do not see php.ini anywhere.
Reply
#14
Not Solved
It probably isn't in the file system, you can edit PHP settings within cPanel.

Do this test: https://docs.mybb.com/1.8/faq/mail/

If this works on 7.4 but not 8.0, then it rules out MyBB and confirms a PHP configuration issue.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#15
Not Solved
I get 'Mail was sent by PHP' (in the email received - This is a mailing test to see if PHP mail works.)
with 7.4 and also after setting PHP to 8.1

It still is an issue with the forum registration process.
That only works with 7.4

In the FAQ - I am trying Host Restrictions portion now...
follow up soon

The FAQ says to find mail($to, $subject, $message, $headers);
it does not exist - closest I can find is
my_mail($email['mailto'], $email['subject'], $email['message'], $email['mailfrom'], "", $email['headers'], true);

and I pasted this, ini_set("sendmail_from", "[email protected]"); above it.
PHP 8.1 still does not send forum registration authentication. While using 7.4 it still works as expexted.

any other idea's for me to move beyond PHP 7.4 other than changing to Admin authentication?
Reply
#16
Not Solved
I upgraded to version 1.8.33
Still having problems with php 8 & 8.1
Reply
#17
Not Solved
Hi, I upgraded my PhP website today from PhP 7.4 to PhP 8.0, 8.1 or 8.2. After the whole process, I get the errors below.
Also, I can't access any thread with PhP 8.
If I go back to PhP7.4, everything works perfectly again.

Does anyone know what causes this problem or how to fix it?
Thank you very much.

Errors:

Warning [2] Undefined property: MyLanguage::$today_rel - Line: 476 - File: inc/functions.php PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/functions.php 476 errorHandler->error_callback
/global.php 490 my_date
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $myalerts_headericon - Line: 3 - File: global.php(553) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(553) : eval()'d code 3 errorHandler->error_callback
/global.php 553 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $myalerts_headericon - Line: 47 - File: global.php(553) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(553) : eval()'d code 47 errorHandler->error_callback
/global.php 553 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $myalerts_js - Line: 101 - File: global.php(958) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(958) : eval()'d code 101 errorHandler->error_callback
/global.php 958 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $unreadreports - Line: 112 - File: global.php(961) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 112 errorHandler->error_callback
/global.php 961 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $bam_announcements - Line: 116 - File: global.php(961) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 116 errorHandler->error_callback
/global.php 961 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined property: MyLanguage::$bottomlinks_forumteam - Line: 2 - File: global.php(1047) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(1047) : eval()'d code 2 errorHandler->error_callback
/global.php 1047 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined variable $myalerts_modal - Line: 71 - File: global.php(1070) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(1070) : eval()'d code 71 errorHandler->error_callback
/global.php 1070 eval
/forumdisplay.php 24 require_once
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 13 - File: forumdisplay.php(748) : eval()'d code PHP 8.2.6 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/forumdisplay.php(748) : eval()'d code 13 errorHandler->error_callback
/forumdisplay.php 748 eval
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)