The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugins don't work anymore when site is online
#15
Light-Pix Wrote:The problem seems to be that the 'content' filter is fired after the content is displayed (with exception of the i18n gallery). I've added an output for each plugin which uses this filter:
Code:
echo '<p style="background:burlywood;">i18n Gallery content: '.$content.'</p>';
at the beginning of the method and it shows the problem quite clearly, I think.

Try removing the dominion plugins. Their regular expressions for matching the (% ... %) will only work correctly, if there is only one such expression on the page:
Code:
'/\(%(.*)dcart(.*):(.*)%\)/i'
will e.g. match everything of the following hypothetical page:
Code:
(% gallery ... %) ... dcart ... (% mp3 ... %) ... (% contact ... %) ... (% gallery name:test %)
and try replacing it with the shopping cart named test. If this cart doesn't exist, you get an empty page.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Plugins don't work anymore when site is online - by mvlcek - 2011-11-05, 19:42:56



Users browsing this thread: 7 Guest(s)