Hey all,
Well, I was about to make my site public and did a last run through test. To my dismay I had a few bugs, but they're all fixed now except this last one that has been really bugging me.
When you try and submit a comment to a news story (
Stories module, not News module), you are sent to a white page after pressing the Post button. The comment
is added to the page but you aren't redirected in any way. Comments work with other modules; I don't give a "Thanks for commenting" message, which I assume is what I should be seeing. I get the same problem when deleting a comment as well.
I turned on PHP Debug and got the following error when I submitted a comment:
(This is edited a bit to fix line wrapping, this would be a nice feature for newbb2 as invision power board has it)
Fatal error: Cannot instantiate non-existent class: newsstory in /home/domain/
public_html/site/modules/stories/include/comment_functions.php on line 32
Warning [PHP]: main(/home/domain/public_html/site/modules/news/class/class.
newsstory.php): failed to open stream: No such file or directory in file
modules/stories/include/comment_functions.php line 30
Warning [PHP]: main(): Failed opening '/home/domain/public_html/site/modules/
news/class/class.newsstory.php' for inclusion (include_path='.:/usr/
lib/php:/usr/local/lib/php') in file modules/stories/include/comment_functions.
php line 30
(no spaces from line to line mean it was all one line, when there's a space between lines they're seperate lines)
I get the
exact same error message when I go to delete a comment. I first get the "Delete child comments" question but after hitting submit, I see the same blank page.
Does anybody know how to fix this? I have the latest version of the Stories module, the module is updated, the creator's site has working comments (
http://www.varlinux.org), and I've even reuploaded the mentioned XOOPS files into the include directory. Comments for other modules work just fine (I tested with Polls) and nothing is out of place as far as I know.
I'm hoping to launch my site TODAY before noon PST but I can't unless I get this bug fixed. So if anybody can make a fix up in the next 8 hours, that would be wonderful
Thanks for any help,
Nick