Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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: [email protected]
Email: [email protected]
Sponsored Links
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
Here is that line they are talking about

$doextra = int(($stat_line[2])/$vars_display{HTMLDisplayMax}) + 1;


~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: [email protected]
Email: [email protected]
Joined: Nov 2001
Posts: 198
Member
Member
Offline
Joined: Nov 2001
Posts: 198
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
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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~ => [email protected]~,
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 CMX 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: [email protected]
Email: [email protected]
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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: [email protected]
Email: [email protected]
Sponsored Links
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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: [email protected]
Email: [email protected]
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
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.

Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
Does anyone know the answer to this problem :S laugh

~Speedy~


~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: [email protected]
Email: [email protected]
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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.

Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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: [email protected]
Email: [email protected]
Sponsored Links
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
I changed it to 75 and still to no luck. :S

~Speedy~


~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: [email protected]
Email: [email protected]
Joined: Nov 2001
Posts: 198
Member
Member
Offline
Joined: Nov 2001
Posts: 198
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
Joined: Jan 2002
Posts: 147
Member
Member
Offline
Joined: Jan 2002
Posts: 147
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: [email protected]
Email: [email protected]

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)