MyBB Community Forums
Cant reply nor post new threads - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html)
+--- Thread: Cant reply nor post new threads (/thread-219884.html)



Cant reply nor post new threads - bogor - 2018-09-23

Hi there just upgraded (shouldnt have done that) from 1.8.15 to 1.8.19

Most of it looks great, however I cant post new threads nor reply the old ones.

if I want to post a new thread, then error message shows

 "Fatal error: Uncaught Error: Call to undefined function return_bytes() in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/newthread.php:1109 Stack trace: #0 {main} thrown in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/newthread.php on line 1109"

If I want to reply its like this

"Fatal error: Uncaught Error: Call to undefined function return_bytes() in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/newreply.php:1449 Stack trace: #0 {main} thrown in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/newreply.php on line 1449"

Warning: require_once(./global.php): failed to open stream: No such file or directory in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/install/newthread.php on line 23 Fatal error: require_once(): Failed opening required './global.php' (include_path='.:/usr/share/php') in /customers/9/9/6/mikepoulosscams.com/httpd.www/forum/install/newthread.php on line 23

The forum is placed here - http://mikepoulosscams.com/forum/forumdisplay.php?fid=2

Please help me out here :-)

Best regards
Bogor


RE: Cant reply nor post new threads - bogor - 2018-09-25

THx for no help - did find the error as the DB Sys wasnt able to find the Max Load file


RE: Cant reply nor post new threads - kgenji - 2018-09-25

(2018-09-25, 06:37 AM)bogor Wrote: THx for no help - did find the error as the DB Sys wasnt able to find the Max Load file

Hi, I have the same problem.

Could you please be more specific about your solution?

Thank you.


RE: Cant reply nor post new threads - polkilo - 2018-09-25

Hi!
I have the same problem after the upgrade from version 1.8.15 to version 1.8.19.

"Fatal error: Uncaught Error: Call to undefined function return_bytes() in ..../newreply.php:1109 Stack trace: #0 {main} thrown in ..."

Please help


RE: Cant reply nor post new threads - Euan T - 2018-09-25

(2018-09-25, 09:17 PM)polkilo Wrote: Hi!
I have the same problem after the upgrade from version 1.8.15 to version 1.8.19.

"Fatal error: Uncaught Error: Call to undefined function return_bytes() in  ..../newreply.php:1109 Stack trace: #0 {main} thrown in ..."

Please help

The function "return_bytes()" was added in the file "inc/functions_post.php" in a previous release (I think 1.8.18, but I could be wrong). Please make sure you have a current copy of that file uploaded. The current version can be seen here: https://github.com/mybb/mybb/blob/mybb_1819/inc/functions_post.php#L1031


RE: Cant reply nor post new threads - polkilo - 2018-09-26

(2018-09-25, 09:56 PM)Euan T Wrote:
(2018-09-25, 09:17 PM)polkilo Wrote: Hi!
I have the same problem after the upgrade from version 1.8.15 to version 1.8.19.

"Fatal error: Uncaught Error: Call to undefined function return_bytes() in  ..../newreply.php:1109 Stack trace: #0 {main} thrown in ..."

Please help

The function "return_bytes()" was added in the file "inc/functions_post.php" in a previous release (I think 1.8.18, but I could be wrong). Please make sure you have a current copy of that file uploaded. The current version can be seen here: https://github.com/mybb/mybb/blob/mybb_1819/inc/functions_post.php#L1031

it worked! Thank you!