1
Maito
XBS MetaTags + X-PHPBB problem
  • 2007/1/3 13:05

  • Maito

  • Just popping in

  • Posts: 14

  • Since: 2005/11/29


Hi to all and happy new year 2007!

I have problem in my xoops, hope someone can help?

I installed just XBS MetaTags module in my xoops. Everything else works fine, but my X-PHPBB module shows blank page when i try post message. Same happens if i try delete message. Post goes nicely right ways, only blank page is the problem.

I have tested this on php-debug. phpbb -> posting.php? PHP-debug shows error:

Fatal error: Call to a member function on a non-object in /home/users/panttinet/sites/www.pantti.net/www/footer.php on line 82

when i check footer.php line 82:

$xoopsTpl->display($xoopsConfig['theme_set'].'/theme.html');


This line 82 is old line, and works fine before add new hack code. New line is before that line. lines 71-79 are new XBS MetaTags hack:


/**
* Hack by A Kitson to enable XBS MetaTags
*/
if (file_exists(XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php")) {
include XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php";
}
/**
* End hack
*/


Can someone help me?

ps.sorry my bad english

2
Maito
Re: XBS MetaTags + X-PHPBB problem
  • 2007/1/3 14:49

  • Maito

  • Just popping in

  • Posts: 14

  • Since: 2005/11/29


Ooh, i figure and fix this problem!

You can find x-phpbb folder file named: page_tail.php. This file need little hack: include ("./../../footer.php"); to ex. include ("./../../footer_phpbb.php");

Now you need copy old footer.php(in XOOPS root) to footer_phpbb.php and remove xbs hack in new one.

Now you have in XOOPS root:

footer.php with hack, and footer_phpbb.php without hack. PHPBB use only footer_phpbb.php and it works!!

Login

Who's Online

430 user(s) are online (355 user(s) are browsing Support Forums)


Members: 0


Guests: 430


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits