I am having trouble getting this to work. I'm sorry to cause any trouble. I'm running php-nuke 6.9 with phpBB 2.0.6 embedded. I placed the rss.php file at the root of the web and rss_body.tpl in /modules/Forums/templates/.
I adjusted rss.php line 46 from:
$phpbb_root_path = './';
$phpbb_root_path = './modules/Forums/';
It seems to find everything ok, but I am now getting this error:
Fatal error: Cannot instantiate non-existent class: sql_db in /hsphere/local/home/tonymcca/christianpipesmokers.org/db/db.php on line 86
Thanks in advance for any help you can give.
Many blessings, Tony
First, I would put rss.php in your phpBB root path. If your phpBB root path is "./modules/Forums/", then that's where rss.php should go, and $phpbb_root_path should be left alone.
I know very little about phpNuke, or what they may have changed in their phpBB add-in. More or less, you're on your own if you're using a version of phpBB from someplace other than phpBB.com.
But judging by what you've said, I'd assume there's something wrong with your config. Is "/hsphere/local/home/tonymcca/christianpipesmokers.org/db/db.php" a valid path at your server? I can see how this would confuse things, if you actually entered this somewhere in your configuration. Most web applications, like php, want to know where they are relative to the WEB root. I think it should be looking for "/db/db.php".
What I'm saying is, it looks like you may have entered an absolute pathname somewhere in your config, instead of a relative pathname from the web root.
In the end, I would say you should put rss.php in /modules/Forums/ and leave $phpbb_root_path alone. Hopefully there exists a "db" directory in "/modules/Forums"... otherwise, this would take more knowledge of phpNuke.