Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Javascript error in admin section

Asked Modified Viewed 2,686 times
M
maagaard
M
--
Regards Søren M
PHP-Fusion ver 6 - latest update
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

When I am on the admin pages I get an javascript error.
I use fusion 303. Whats wrong with my site?

Line 11
Char 1
Code 0
An object was expected
In administration/index.php

See attached image.

Regards Søren M
Edited by maagaard on 22-01-2006 10:23,
0 replies

10 posts

M
maagaard
M
--
Regards Søren M
PHP-Fusion ver 6 - latest update
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Anyone?
0 replies
H
HaCk3R
H
HaCk3R 10
Data technician and developer spawned form the PHP-Fusion community :-)
  • Senior Member, joined since
  • Contributed 223 posts on the community forums.
  • Started 17 threads in the forums
answered
Senior Member

can you post the code from administration/index.php ?
0 replies
H
HACKERSOFT
H
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 12 threads in the forums
answered
Member

you probably have a bug in your computer... try cleaning it with anti-spyware, antitrojans, antivirus, hijackthis, etc....
0 replies
M
maagaard
M
--
Regards Søren M
PHP-Fusion ver 6 - latest update
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Now scanned and cleaned with adware and spybot. Its the default administration/index.php. I still get the fault.

Code:
<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright (c) 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "../maincore.php";
require_once BASEDIR."subheader.php";
require_once ADMIN."navigation.php";

if (!iADMIN || $userdata['user_rights'] == ""wink fallback("../index.php"wink;
if (!isset($pagenum) || !isNum($pagenum)) $pagenum = 1;

$admin_images = true;

// Work out which tab is the active default
if ($page1) { $default = 1; }
elseif ($page2) { $default = 2; }
elseif ($page3) { $default = 3; }
elseif ($page4) { $default = 4; }
else { fallback("../index.php"wink; }

and so on

0 replies
H
HACKERSOFT
H
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 12 threads in the forums
answered
Member

have you tried accessing your website from another computer? does it give you the same error?

what locale are you using? have you tried browsing your site using another language?

there's seems to be no problem with the code... :)
0 replies
C
crex
C
crex 10
Ånimskog - en socken i Dalsland!
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 5 threads in the forums
answered
Junior Member

What's up with the use of several BODY tags in a page? I thought there was only supposed to be one start and end BODY tag!? I've seen another similar error on a site and that code was kinda messy (with 3 start and 2 end BODY tags). Is it PHPFusion or the Theme makers that cause this?
0 replies
M
maagaard
M
--
Regards Søren M
PHP-Fusion ver 6 - latest update
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Quote


HACKERSOFT wrote:
have you tried accessing your website from another computer? does it give you the same error?



Yes.

Quote



what locale are you using? have you tried browsing your site using another language?


No. There has not been a problem before. I use danish locale.

Quote


there's seems to be no problem with the code... :)


Maybe its in the maincore.php? I think the problem is after updating with the newest one from cvs update. Im not sure.
Edited by maagaard on 22-01-2006 17:29,
0 replies
H
HACKERSOFT
H
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 12 threads in the forums
answered
Member

that is something weird.... |o| line 11 is just part of the comment declaration of php-fusion...

probably, the error is displayed because it's looking for some target objects which it cannot locate in your server or from within php-fusion variables...

what part of the admin pages are you accessing?
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

If you pm your admin access i'll take a look at this.
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

In your body tag, you have an onload attribute
<body bgcolor='#ffffff' text='#555555' [b]onLoad='neuron_start()'[/b]>
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet