5
For some reason, I'm not able to get this to work.
I note that you are using XOOPS 1.3.10.
I'm using XOOPS 2.0.5.
Scenario 1: No Error Message. Page loads properly.
Login and visit
http://www.brilliantenergy.com/modules/wfchannel/
MySQL/Blocks Debug Message
SELECT * FROM brilliant__modules WHERE dirname = 'wfchannel'
Scenario 2: Selected Module Does Not Exist
Login and visit
http://www.brilliantenergy.com/about/
MySQL/Blocks Debug Message
SELECT * FROM brilliant__modules WHERE dirname = 'http:'
Scenario 3: "Blank Page UGLY HTML"
Do not login... visit anonymously
http://www.brilliantenergy.com/about/
No MySQL/Blocks Debug Message Appears
Instead, I get a blank page comprised of HTML text in all caps.
Here are the mod_rewrite statements I am using:
[size=x-small]
RewriteEngine on
RewriteRule ^about/$ /modules/wfchannel/index.php?page=1 [L]
RewriteRule ^about$ /modules/wfchannel/index.php?page=1 [L][/size]
I've also tried:
[size=x-small]
RewriteEngine on
RewriteRule ^about/$http://www.brilliantenergy.com/modules/wfchannel/index.php?page=1 [L]
RewriteRule ^about$http://www.brilliantenergy.com/modules/wfchannel/index.php?page=1 [L][/size]
To rule out wfchannel, I also tried redirecting to newbb:
[size=x-small]
RewriteEngine on
RewriteRule ^about/$ /modules/newbb/ [L]
RewriteRule ^about$ /modules/newbb/ [L][/size]
All result in the same blank page comprised of HTML that would not seem to match XOOPS XHTML compliant output.
I recognize that in Scenario 2, an invalid module directory is being passed to Xoops. What I am trying to understand better is why this approach worked in XOOPS 1.3.x and why login causes the different behavior between Scenario 2 and 3. Also, curious if people have guesses as to workarounds.