|
[F] Settings not accessible from run_shutdown()
|
|
08-24-2008, 07:31 PM
Post: #1
|
|||
|
|||
|
[F] Settings not accessible from run_shutdown()
Apparently with MyBB 1.4.1 and PHP 5.2.5 the settings are not available to the run_shutdown() function. This results in the daily-cleanup task filling the cache for most_viewed_threads and most_replied_threads with as many entries as available, no limit being set.
The error does not occur with PHP 5.2.6 To find this problem, I ran a test forum with enabled tracing. What worries me is that there are quite a few entries like this: Code: 0.0685 3082536 +416 -> errorHandler->error($type = 8, $message = 'Undefined index: mybbuser', $file = 'E:\\Program Files (x86)\\Apache Software Foundation\\Apache2.2\\htdocs\\MyBBTest\\inc\\class_core.php', $line = 265, array ('prefix_length' => 0, 'val' => '1_7WzDFSa98GD3Ra8BZSEx8GMhQnG5qZFQwo3xlCBabrmNhS4wwZ', 'key' => 'mybbuser')) E:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\MyBBTest\inc\class_error.php:0To my understanding that means that the array-indexes referenced aren't existing - could be a similar issue, the array being not properly initialized/loaded. And that stays with PHP 5.2.6. The function executed is run_shutdown() btw. Cheers Zakkinen |
|||
|
08-26-2008, 03:39 AM
Post: #2
|
|||
|
|||
|
[F] Settings not accessible from run_shutdown()
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)
Search
Member List
Calendar
Help


