Onload 7.2 - 7.3
#212105
05/14/2008 3:13 AM
|
Joined: Jan 2004
Posts: 56
Pappy Farland
OP
journeyman
|
OP
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
|
|
|
Re: Onload 7.2 - 7.3
[Re: Pappy Farland]
#212106
05/14/2008 3:14 AM
|
Joined: Jan 2004
Posts: 56
Pappy Farland
OP
journeyman
|
OP
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 9:42 AM
|
Joined: Jun 2006
Posts: 9,243
Rick
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,243 |
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 4:03 AM
|
Joined: Jan 2004
Posts: 56
Pappy Farland
OP
journeyman
|
OP
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 4:15 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
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...
|
|
|
Re: Onload 7.2 - 7.3
[Re: Gizmo]
#212281
05/15/2008 4:17 AM
|
Joined: Jun 2006
Posts: 3,837
Ian
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Might be easier if you post what you have entered in that box 
|
|
|
Re: Onload 7.2 - 7.3
[Re: Ian]
#212288
05/15/2008 6:27 AM
|
Joined: Jan 2004
Posts: 56
Pappy Farland
OP
journeyman
|
OP
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 7:55 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Loading isn't a valid js onload command... something like loading() would be, assuming you had a javascript that would load with that command...
|
|
|
Re: Onload 7.2 - 7.3
[Re: Pappy Farland]
#251596
12/20/2012 9:13 PM
|
Joined: May 2010
Posts: 2
FullStrut
stranger
|
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/20/2012 11:18 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Open your includes/config.Inc.php file and fix it there
|
|
|
Re: Onload 7.2 - 7.3
[Re: Pappy Farland]
#251612
12/21/2012 2:04 AM
|
Joined: May 2010
Posts: 2
FullStrut
stranger
|
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.
|
|
|
1 registered members (isaac),
79
guests, and 378
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|