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: 2 Guest(s)