Forums / General Questions / Error on Admin home page

Error on Admin home page

Locked

Views: 2,228

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
2 Oct 2007, 10:04 PM
#1
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Error on Admin home page

I'm running 1.3.7. When I first log into the Admin site, it takes me to the Admin Home Page. On the right side is a list of New Orders. On each new order, the top line is the customer's name and the total amount of their order. The second line is where the error is. I will copy and paste an example of the error I'm seeing:
10/01/2007259 ');" onmouseout="return nd();">
It has the order date, the order number and misc code showing.

Anyone know why or how to fix this?

Thanks,
Rick

2 Oct 2007, 10:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error on Admin home page

I used the developers tool kit and found several onmouseout entries but no onmouseout="return entries at all....Do you have any Modules installed that might have this in them?

Zen-Venom Get Bitten

2 Oct 2007, 10:46 PM
#3
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Re: Error on Admin home page

I think its from Super Orders.
I searched my site and found the text within Admin/Index.php.

I just don't know what is causing the error or how to make it stop.
It seems as if it should be showing me the items ordered if I hover my mouse, but something is not working.:huh:

2 Oct 2007, 10:55 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error on Admin home page

I searched my site and found the text within Admin/Index.php.
Checked a clean download of this and it is not in any admin files??

You need to determine what and where this came from

Zen-Venom Get Bitten

2 Oct 2007, 11:03 PM
#5
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Re: Error on Admin home page

I checked again and it is within Admin/Index.php. I copied out the section where it is. It appears it came from "Info at a Glance".

<script language="javascript"><!--
              			document.write('<?php echo '<a href="javascript:void(0);" onmouseover="return overlib(\\\'' . addslashes(addslashes($cleanComment)) . '\\\');" onmouseout="return nd();"><img src="images/icons/comment2.gif" align="top" border=0></a> '; ?>');
              		--></script>
					<?php } ?> 
   	<?php // ====> EOF: INFO AT-A-GLANCE <====

I don't recall adding this code to index.php and this is a fairly new Zen install.

2 Oct 2007, 11:08 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error on Admin home page

Usually very few if any admin files are altered by a module - You can check those that you have added and might start with a re-load of the admin files. I do not have info at a glance - is this a module that you installed?

Zen-Venom Get Bitten

2 Oct 2007, 11:10 PM
#7
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Re: Error on Admin home page

No, I did not add Info at a Glance.
Can I just copy over an original Admin/Index.php from my 1.3.7 download?

3 Oct 2007, 1:42 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error on Admin home page

You can start with just that file and or reload all the admin files - your option

Zen-Venom Get Bitten

3 Oct 2007, 4:06 AM
#9
rfree190 avatar

rfree190

Zen Follower

Join Date:
Sep 2007
Posts:
176
Plugin Contributions:
0

Re: Error on Admin home page

OK, I uploaded a fresh copy of Admin/Index.php and the error went away. I just hope some other functions don't stop working...

Thanks for your help! I appreciate it.:wink:

3 Jun 2008, 2:00 AM
#10
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Error on Admin home page

I've just had this error as well, on a single order.

There are order before and after this error which are all fine, so i'm inclined to ignore it, but i thought it was worth mentioning.

Error reads:

Customer Name £Amount
02/06/200890363
');" onmouseout="return nd();"> (followed by comment icon)