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 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 
Who's Online
0 registered (), 22 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks