benwalsh has asked for the wisdom of the Perl Monks concerning the following question:

At tubal-reversal.net we use UBB classic for our forums http://www.tubal-reversal.net/ubb/ultimatebb.php Early this morning all topics for the last 30 days became closed and featured. This happened in all forums to several hundred topics so quickly that it does not appear that it could be done by normal admin procedure, but most likely by a bug in the program. This has occurred three times in the past, approximately 2 and 3 months ago. The authors of this script (Infopop) say no one else has reported this and attribute it to hacks I have made to the script. They have not been interested in investigating this problem although we have purchased their Gold Support option. I am at a loss to the cause of this infrequent but serious problem and am at a loss as to what to do about it other than uninstalling and reinstalling all hacks. I would greatly appreciate any thoughts or suggestions.
  • Comment on perl scripting help needed - ubb classic

Replies are listed 'Best First'.
Re: perl scripting help needed - ubb classic
by Zaxo (Archbishop) on Jan 23, 2005 at 10:56 UTC

    Ummm, doesn't that script resemble php a great deal?

    Just going by the name, of course.

    After Compline,
    Zaxo

      Here is a page that says that "UBB.Classic" requires CGI and Perl 5.004. Of course it still looks like the page is PHP. The linked page also says:
      OPTIONAL: PHP 4 or higher - In order to use the UBB.classic™ Accelerator option, which can help enhance performance, you must have PHP 4 or higher.
      I have no idea what the code looks like or how it was modified so it's hard to help figure out what is going wrong. If you think it's related to code you changed then trace through it especially near any database updates, etc.

      Finally if this is just a PHP question I think it should be deleted. I'm sure there are more appropriate places for that sort of question.
Re: perl scripting help needed - ubb classic
by aquarium (Curate) on Jan 23, 2005 at 12:42 UTC
    if "Gold" support means that they should support your "hacked" version, then i would ask for money back for all the time you paid for "Gold" support. Did you put in the "hacks" because the "Gold" support didn't quite shine? just noted that the script is named a .php script...why the reference to perl then?
    if you can narrow down the time period during which disaster struck, then have a look through your web server logs for any unusual accesses to the script. if you've got logging turned on in your database, you'll see the the update transactions that close all the topics.
    the hardest line to type correctly is: stty erase ^H