php forum
php mysql forum
php mysql smarty
 
Topic Options
#173283 - 01/28/02 05:06 AM I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World

   I have a semi-stupid question . . .  to Del.icio.us Add to del.icio.us
  Digg I have a semi-stupid question . . . Digg it
I set up my UBB . . . and got them all hacked up . . . realy nice . . . and everything worked great! Then I set them up (add fourms mods ect.) and when I post it works fine but when I try to reply it says an error has occerred . .. well I am just going to give up on the hacks and just not have hack's on my board but . . .. is it posible to save the fourms and when i reinstall the UBB import them in or something I would be greatly happy if someone helped wink Thanks laugh

~Speedy~

PS the error was . . .

Error

An error has occured:

Illegal division by zero at /home/swf2002/public_html/cgi-bin/ubb/ubb_new_reply.cgi line 567.

Please inform the board administration of this error so that they may fix the problem. Thank you!

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173284 - 01/28/02 05:11 AM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Here is that line they are talking about

$doextra = int(($stat_line[2])/$vars_display{HTMLDisplayMax}) + 1;
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173285 - 01/28/02 05:15 AM Re: I have a semi-stupid question . . .
pumpkin Offline
Member

Registered: 11/29/01
Posts: 164
Loc: Rome, Italy
check your display vars... it looks like $vars_display{HTMLDisplayMax} isn't defined...
_________________________
Just another boring 17-year-old
and yes, I like smilies/graemlins

Top
#173286 - 01/28/02 05:36 AM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Well I went into my FTP and C & P'ed my vars_display file here it is:

vars_display = (
q~AllowIcons~ => q~TRUE~,
q~AllowSignature~ => q~YES~,
q~AllowSignatureImage~ => q~YES~,
q~BBEmail~ => q~Webmaster@SpeedyWrestlingFederation.cjb.net~,
q~CategoriesOnly~ => q~false~,
q~CategoryView~ => q~yes~,
q~ContactLinkType~ => q~Email~,
q~ContactURL~ => q~~,
q~DaysPruneDefault~ => q~1000~,
q~DisplayMemberTotal~ => q~true~,
q~EmailBlock~ => q~OFF~,
q~ForumDescriptions~ => q~yes~,
q~ForumDisplayMax~ => q~NONE~,
q~ForumTotalOption~ => q~Both~,
q~HTMLDisplayMax~ => q~NONE~,
q~HomePageURL~ => q~http://www.SpeedyWrestlingFederation.cjb.net~,
q~HotCount~ => q~15~,
q~HotIcons~ => q~ON~,
q~InlineFrame~ => q~FALSE~,
q~MembersOnlyAccess~ => q~NO~,
q~MyHomePage~ => q~*Speedy Wrestling Federation*~,
q~NewestMemberWelcome~ => q~yes~,
q~PrivacyURL~ => q~~,
q~RequireLoginPosts~ => q~YES~,
q~ReverseThreads~ => q~FALSE~,
q~ShowMods~ => q~yes~,
q~ShowPrivacyLink~ => q~ON~,
q~YourCopyrightNotice~ => q~Copyright SWF 2002. Thanx to <a href=http://www.f1gaming.com>CMX</a> for the forums.~,
q~author_location~ => q~yes~,
q~author_post_total~ => q~yes~,
q~author_reg_date~ => q~yes~,
q~forum_intro~ => q~~,
q~homepage_icon_link~ => q~yes~,
q~masterCharset~ => q~ISO-8859-1~,
q~showcopytype~ => q~image~,
q~user_ratings~ => q~display_all~,
);
1;

is there wrong with it?
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173287 - 01/28/02 05:44 AM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
I am off to school though I will be back on at 3:10 (please reply) thankx

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173288 - 01/28/02 02:14 PM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Well I am home but no answer could someone please post what is wrong or if you need to see any other files laugh Thanks

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173289 - 01/28/02 04:26 PM Re: I have a semi-stupid question . . .
Dave2 Offline
Member

Registered: 12/16/01
Posts: 672
Loc: Bath || Reading, England
I don't know, but it sounds like it is trying to divide something by 'none' (as the var) but I don't know what context it is in, plus I know more PHP than Perl so I am probably wrong laugh . Perhaps you just need to change that variable though.
_________________________
The allaboutgames.co.uk UBB.classic -- Reborn and XHTML'd, 19th May 2002

Top
#173290 - 01/29/02 05:23 AM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Does anyone know the answer to this problem :S laugh

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173291 - 01/29/02 07:28 AM Re: I have a semi-stupid question . . .
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Try going into your 'general display' settings in the control panel and setting the Maximum Number of Posts Displayed Per Topic Page to a number like 75, or 50.

Top
#173292 - 01/29/02 02:29 PM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
I have my thing at Show All so that is a high number . . . there has to be some way to fix this . . . what about what the first guy said in the vase_wordlet i posted it is everything a o k? or is there problems? if I can't figure this out i'll just deleate everything and re hack it all and only install like 1 or 2 hacks but I realy like how my boards are now! laugh

Please Reply ASAP thankx laugh

~Speedy~ (PS sorry all's I do is ask ask ask I realy would like to become a better member but I just have this one problem im trying to fix wink )
laugh

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173293 - 01/29/02 02:33 PM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
I changed it to 75 and still to no luck. :S

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173294 - 01/30/02 02:16 PM Re: I have a semi-stupid question . . .
pumpkin Offline
Member

Registered: 11/29/01
Posts: 164
Loc: Rome, Italy
you sure it changed the right field in the vars_display.cgi?
just try editing it manually to 25 (the default value afaik) and see if that fixes it...
_________________________
Just another boring 17-year-old
and yes, I like smilies/graemlins

Top
#173295 - 01/30/02 06:26 PM Re: I have a semi-stupid question . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Well its to late for that . . . I just delated everything and re hacked everything . . .but when I upload it all and click on Submite (the first time you go into the CP.cgi) it gives me this error :S

Software error:
/home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi: syntax error at /home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi line 1073, near "&StandardHTML("" In string, @ValidateArray now must be written as @ValidateArray at /home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi line 1004, near "); &Validate(@ValidateArray" "use" not allowed in expression at /home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi line 1073, near "not " syntax error at /home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi line 1073, near "not use any " syntax error at /home/swf2002/public_html/cgi-bin/ubb/cp_lib.cgi line 1073, near " "
For help, please send mail to the webmaster

what do I do to fix it? Should I re hack everything again? or is this fixable?
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top


Moderator:  Gizmo 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 29 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks