Previous Thread
Next Thread
Print Thread
Hop To
Onload 7.2 - 7.3 #212105 05/14/2008 4:13 AM
Joined: Jan 2004
Posts: 56
Pappy Farland Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2004
Posts: 56
If I have anything in the Onload field of includes (such as "Loading..." I get an error message in the status bar that there is a expected ";" code 0.

As far as I can tell the onload field is only used to display something in the status bar and when it is not populated then the error does not appear.

This Error is appearing in the Internet Explorer Status bar (IE 7)

Thanks

Express Hosting
Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #212106 05/14/2008 4:14 AM
Joined: Jan 2004
Posts: 56
Pappy Farland Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2004
Posts: 56
just to be more clear this is populated on the General menu item via the control panel Html includes

Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #212181 05/14/2008 10:42 AM
Joined: Jun 2006
Posts: 9,246
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,246
The onload field is used for javascript. It can be used to trigger a javascript function, or something of that nature. It's not used for just general text.

99% of the time you'll never use this field, unless you have a specific javascript function that needs to be triggered when the page is loaded.

Re: Onload 7.2 - 7.3 [Re: Rick] #212275 05/15/2008 5:03 AM
Joined: Jan 2004
Posts: 56
Pappy Farland Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2004
Posts: 56
I was just pointing out that if the field on the general page - html tab - onload is populated it will produce a status bar error in internet explorer.

Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #212280 05/15/2008 5:15 AM
Joined: Jun 2006
Posts: 15,848
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
Well, are you calling valid javascript in the on load? If you don't, it will throw an error notifying you that nothing valid can be loaded from what you have presant...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Onload 7.2 - 7.3 [Re: Gizmo] #212281 05/15/2008 5:17 AM
Joined: Jun 2006
Posts: 3,845
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
Joined: Jun 2006
Posts: 3,845
Might be easier if you post what you have entered in that box smile

Re: Onload 7.2 - 7.3 [Re: Ian] #212288 05/15/2008 7:27 AM
Joined: Jan 2004
Posts: 56
Pappy Farland Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2004
Posts: 56
the words "Loading..."

Apparently that is not what was supposed to be there lol ok I think I get it now.

Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #212298 05/15/2008 8:55 AM
Joined: Jun 2006
Posts: 15,848
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
Loading isn't a valid js onload command... something like loading() would be, assuming you had a javascript that would load with that command...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #251596 12/20/2012 10:13 PM
Joined: May 2010
Posts: 2
FullStrut Offline
stranger
Offline
stranger
Joined: May 2010
Posts: 2
Gizmo,
I have the same problem as above with one major difference, like Pappy, I misunderstood what this box was for and I tried placing an HTML link to an image into the box. That gave me the same error but when I removed it, I still get the error and now I can not load ANYTHING including the control panel. Can you help?
I'm using 7.5.7

Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #251597 12/21/2012 12:18 AM
Joined: Jun 2006
Posts: 15,848
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,848
Open your includes/config.Inc.php file and fix it there


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Onload 7.2 - 7.3 [Re: Pappy Farland] #251612 12/21/2012 3:04 AM
Joined: May 2010
Posts: 2
FullStrut Offline
stranger
Offline
stranger
Joined: May 2010
Posts: 2
I opened it and found it almost completely empty for some reason. I copied another version of it and edited all the paths in it. It almost seemed to halfway fix it. I got to my main portal and forums list but it was missing a lot of "graphics" or outlines of portals, etc. however I could not go anywhere. After continuing to try other fixes, I lost even that. Really coming to a new level of frustration with this...
Looking forward to any additional help you can offer. If you feel like taking a look at everything, I'd be happy to provide you my credentials.


Additional Resources
UBB Developers
UBB Wiki
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
3 registered members (SD, Gizmo, ECNet), 52 guests, and 229 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
d-talk
d-talk
Germany
Posts: 90
Joined: June 2006
Show All Member Profiles 
Forum Statistics
Forums34
Topics35,320
Posts192,716
Members11,865
Most Online2,569
Jul 27th, 2019
Random Gallery Image
Latest Photos
The Sky
Land Rocks
Cozy Places
Trees
Powered by UBB.threads™ PHP Forum Software 7.7.3