1
tayling
<body onload... problem
  • 2004/1/18 12:30

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Have posted this before but had no solutions - on installing a fresh 2.0.5 - without problem - when I go to the home page I get the windows script debugger - with the following line error for line 80

<body onload="window.resizeTo(, );">

I have re installed and get the same problem - must be something local on my pc (server 2000/apache)

I have go around this by deleting the lines with onload in them but cant do this at all in the multi language hack.

Any ideas guys?

Thanks a lot

Regards

Tony

2
Xend
Re: <body onload... problem
  • 2004/1/18 13:58

  • Xend

  • Friend of XOOPS

  • Posts: 37

  • Since: 2001/12/13


The only place i now that this code i used in a clean install is.

/modules/system/templates/system_imagemanager.html
/modules/system/templates/system_imagemanager2.html

And it looks like this.

<body onload="window.resizeTo(<{$xsize}>, <{$ysize}>);">

If $xsize and $ysize is not set, the code give error, and in sours it look's like this.

<body onload="window.resizeTo(<{, );">


So the only thing i can think of is that you are using a bad module or side/center block, that have a template error.


Do you get this error if you have a clean install whit orginal themes, and no modules active.. ?

If not, you nead to look for errors one by one when you activate modules ,blocs and themes..

3
tayling
Re: <body onload... problem
  • 2004/1/18 20:42

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Hi thanks for that reply
I am getting the problem on clean installs - starting from 2050 - I have just tried 2052 before I reply.

I am using IIs and apache with php4.32 if that could be a reason.

Hope we can solve i - it seems a rare problem but I have it.

Regards

Tony

4
tayling
Re: <body onload... problem
  • 2004/1/18 20:57

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


Where is $xsize and $ysize set? I cant cant find any reference in XOOPS site. Mybe there is something I havnt done.

5
Mithrandir
Re: <body onload... problem

$xsize and $ysize are set in root/imagemanager.php lines 125-126 or 128-129

6
tayling
Re: <body onload... problem
  • 2004/1/19 1:30

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


thanks - we are getting there but i cant fathom out why it is being ignored on mine and not set
Any ideas or solutions truly welcome
Thanks all
regards

Tony

7
Xend
Re: <body onload... problem
  • 2004/1/19 8:19

  • Xend

  • Friend of XOOPS

  • Posts: 37

  • Since: 2001/12/13


What i cant understand is where you get this error, that code is not loaded in main pages, only in pop windows.

Can you give us the exact link, like this.

/modules/mydownloads/singlefile.php?cid=5&lid=22

8
tayling
Re: <body onload... problem
  • 2004/1/19 11:24

  • tayling

  • Just popping in

  • Posts: 86

  • Since: 2002/1/3 7


I cant work it out either
the message appears as soon as i load the site - /modules/news

as well as other pages - It could be some sort of security on my PC against popups etc. It is a puzzle to me though why the variables arnt being set and I cant quite work out what the event or parameters are that sets them

I have discovered that once published on my main server it works fine.

I would like to solve the situation though as it is severley hindering my development PC and websites

Thanks for your interest

Regards

Tony

9
DonXoop
Re: <body onload... problem

Maybe you could post the server specs? Versions of everything relevent? phpinfo(); is good for that. Compare the info with the server that does work and you might see what is different.

Some other things to check on:
Is the devel server also your client machine? i.e.http://localhost

Using a personal firewall that is getting confused?

Did you add at least one news article if using news as the mainpage?

Login

Who's Online

153 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits