Posting comments in download area

Discussion in 'Site Feedback' started by TONGSyaBASS, Aug 12, 2006.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    When I try to post a comment I get this message:

    Fatal error: Cannot redeclare prepare_message() (previously declared in /var/www/html/phpBB/includes/functions_post.php:38) in /var/www/html/phpBB/includes/functions_post.php on line 38

    Hmm, I see that the number 8 followed by a bracket is automatically turned into a smiley. Just so you know that I'm not randomly inserting smileys cos...you know...they're evil.
     
  2. mathboy

    mathboy New Member

    Messages:
    2,185
    Likes Received:
    0
    Joined:
    Sep 3, 2003
    :roll: :roll: :roll: :roll: :roll: :D :D :) :) :) :) :) :cry: :-( :( :thumbup: :eek: :-o :/ :-? :lol: :roll: 8) :???: :x :-x :p :p

    You can check the "Disable Smilies in this post" box to get rid of the evil ones.

    The real problem is one I leave for DU.
     
  3. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
  4. Vorak

    Vorak Administrator Staff Member

    Messages:
    5,828
    Likes Received:
    21
    Joined:
    Sep 15, 2003
    Is it a rule here that everytime you fix something, another thing breaks?
     
  5. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Hmmph!
    If something isn't done about this situation immediately I shall take my business to one of the many other active Arcanum forums.
    Good day to you.
     
  6. mathboy

    mathboy New Member

    Messages:
    2,185
    Likes Received:
    0
    Joined:
    Sep 3, 2003
  7. Vyenna

    Vyenna New Member

    Messages:
    1,446
    Likes Received:
    0
    Joined:
    Jun 30, 2005
    The question is: In the process of fixing it, how many other things did you break?
     
  8. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Good
    Code:
    
    
    [/b][/list]work, Mathboy.



    [/img]
    Hopefully
    Code:
    phpBB/posting.php?mode=editpos[code]
    he didn't]
    [/list][ break www/html/phpBB/includes/functions_post.php/error/return
    anything.
    Code:
    [/[/color]code][list][img]
     
  9. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    I too am curious as to the methodology employed in mathboy's fix.
     
  10. mathboy

    mathboy New Member

    Messages:
    2,185
    Likes Received:
    0
    Joined:
    Sep 3, 2003
    All that had to be done was add "_once" after include before (something with "function_post"). In /var/www/html/phpBB/pafiledb/modules/pa_post_comment.php (you might see that it was last changed yesterday (together with lots of files I tried changing, but changed back)).
     
  11. Vorak

    Vorak Administrator Staff Member

    Messages:
    5,828
    Likes Received:
    21
    Joined:
    Sep 15, 2003
    Check all those files DU! He was clearly hiding things in there he doesn't want you to find.
     
  12. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    Yep, include_once will do it. I had a thought you might've just deleted it or something. Clearly, you are on your way to becoming a PHP master. You can figure out what's wrong with the statistics page next.
     
  13. mathboy

    mathboy New Member

    Messages:
    2,185
    Likes Received:
    0
    Joined:
    Sep 3, 2003
    I think that means I need full access to the server and everything!
     
  14. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    No, it just means something, somewhere went horribly wrong.
     
  15. mathboy

    mathboy New Member

    Messages:
    2,185
    Likes Received:
    0
    Joined:
    Sep 3, 2003
    And to fix it, you need full access to the server and everything.
     
  16. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
Our Host!