1
kingpig
Post Comment blank screen: no XOOPS_ROOT_PATH
  • 2004/7/29 23:33

  • kingpig

  • Just popping in

  • Posts: 12

  • Since: 2004/6/16


Don't know if this is for beginner's corner, but I still feel like a beginner.

I have just implemented comments for an area on my site. The refresh button works (even though there are no comments yet). But 'post comment' doesn't. I get a blank page.

I did some tests to check why comment_new.php wasn't working. It turns out that neither XOOPS_ROOT_PATH or is_object($xoopsModule) seem to be appropriately set. So the code exits before it does anything.

Does anyone know of a reason why these two variables aren't set? I used XOOPS_ROOT_PATH on the page that called comment_new - where has it gone? Surely I am still in a module - or did it vanish?

best,

KingPig

Login

Who's Online

181 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 181


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