Posted by yosmc on February 22, 2008 at 4:47pm
Seems like Drupal's menu link to phpBB's inbox is broken. phpbb.module contains the following:
'path' => $phpbbcfg['path_rel'].'inbox'
However, in phpBB 3 the inbox is @ ucp.php?i=pm&folder=inbox and not in /inbox. Consequently I've tried to use the following:
'path' => $phpbbcfg['path_rel'].'ucp.php?i=pm&folder=inbox'
...but it seems like this variable is passed through html_specialchars or a similar routine later, so that won't work either. It looks like this (not sure how it will pan out in this post but essentially ? and & are not what they need to be. ;)
ucp.php%3Fi%3Dpm%2526folder%3Dinbox
Comments
Again, please stop claiming
Again, please stop claiming things are broken without testing on http://drupal.i1media.no first.
The .htaccess file contains
RewriteRule ^inbox$ ucp.php?i=pm&folder=inbox [L]
so you probably forgot to copy or rename the .htaccess file.
You're the boss
...so I try to do what you ask me to, seems though like I may have misunderstood your request. What exactly do you mean by "testing on drupal.i1media.no" - I thought that meant to check the latest version to make sure I'm not reporting something that already has been fixed? Well, that's what I did in both instances.
I don't use .htaccess so I moved the inbox line to httpd.conf where it's obviously not doing what it's supposed to do. ;) I'm sure the error is on my end though - sorry about that.
I mean go to
I mean go to http://drupal.i1media.no , create an account there and see whether you can reproduce the problem on the demo site.
phpbb_latest.tar.gz is just a dump of the files running on that site, so if it doesn't work there then you have surely found a bug. If it works there, but not on your site, there's a 75% chance you've made a configuration error.
I'm also having a similar
I'm also having a similar problem. My inbox link is directing to en/phpBB3/inbox despite the fact that the .htaccess is in the phpBB3 folder, named properly and apparently with the original rewrite rules in. I'm absolutely certain I've done something stupid, so please enlighten me!
I'm guessing your relative
I'm guessing your relative path in the configuration files is set to 'en/phpBB3' ?
Should probably be 'phpBB3' or something similar.
no the relative path and
no the relative path and absolute path are both set correctly. Every thing else works except this one part.
hm, Drupal is involved in
hm, Drupal is involved in creating that link as well.
I guess as a last resort you can open phpbb.module and just code it to whatever it should be? just look for
'path' => $phpbbcfg['path_rel'].'inbox',
I think you can replace that with and absolute path or a URL.