Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-08-04 06:54:19

Legin76
New member
Registered: 2010-08-04
Posts: 7

Strange linker error

Hi

I'm suddenly getting a strange error using linker. I have no idea why its happening but I've stripped out all unrelated code from the pages. I've tried 0.95, 0.96.1 and the nightly. I've tried re-uploading the files a few times and nothing changes. I don't think the problem is xinha itself but have no idea what else could cause it. The js error below comes up in IE when you click the Insert Web Link button, No error comes up in firefox but linker does not run. With 0.95 it was a slightly different error line and char and was linker.js but I believe its the same issue. It also comes up if I don't have FileExtensionManager turned on for images.

All I can think now is that its something relating to permissions or server settings but I've never had any issues like this before. Does anyone have any ideas?

The line is in the XinhaDialog.js it refers to is " var captionBar = main.removeChild( main.getElementsByTagName("h1")[0]);"

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)
Timestamp: Wed, 4 Aug 2010 10:44:41 UTC


Message: Invalid argument.
Line: 310
Char: 3
Code: 0
URI: /administration/xinha/modules/Dialogs/XinhaDialog.js

Offline

#2 2010-08-04 08:02:14

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Strange linker error

Try in a different browser for a start.


James Sleeman

Offline

#3 2010-08-04 10:35:43

Legin76
New member
Registered: 2010-08-04
Posts: 7

Re: Strange linker error

Same issue IE6,7,8 and firefox.. I stopped there but expect it in chrome and safari too.

Offline

#4 2010-08-05 00:12:36

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Strange linker error

Sounds like a server issue.  Use the developer tools in Chrome, or Firebug to look at the response you are getting to requests, first one I'd look for is scan.php (part of Linker).


James Sleeman

Offline

#5 2010-08-05 04:53:15

Legin76
New member
Registered: 2010-08-04
Posts: 7

Re: Strange linker error

Firebug shows the same error.

Linker is there but I've got no idea why that might not be able to run.
Node was not found"  code: "8
http://www.bvillage.co.uk/administratio … aDialog.js
Line 310

Scan.php is there but I don't have enough knowledge of php so I have no idea why that would not be working. Does it have specific requirments?

Offline

#6 2010-08-05 05:12:21

Legin76
New member
Registered: 2010-08-04
Posts: 7

Re: Strange linker error

If I run scan.php in a browser it lists all the files.. See below (i've cropped that) so I think its working) it does however call /administration/xinha/contrib/php-xinha.php which if I run displays the php from and including line 9 -"   *  with (xinha_config.ImageManager)" Line 8 is "   * <script language="javascript">" could it be the commenting out of the javascript in php-xinha.php that isn't working for some reason on this server?


scan.php output
[ { url: '/contrib', children: [ { url: '/contrib/compress.php' }, { url: '/contrib/compress_yui.php' }, { url: '/contrib/lc_merge_strings.php' }, { url: '/contrib/lc_parse_strings.php' }, { url: '/contrib/php-xinha.php' } ] }, { url: '/examples', children: [ { url: '/examples/files', children: [ { url: '/examples/files/ext_example-body.html' }, { url: '/examples/files/ext_example-dest.php' }, { url: '/examples/files/ext_example-menu.php' }, { url: '/examples/files/Extended.html' } ] }, { url: '/examples/ExtendedDemo.html' }, { url: '/examples/Newbie.html' }, { url: '/examples/simple_example.html' }, { url: '/examples/testbed.html' } ] }, { url: '/modules', children: [ { url: '/modules/AboutBox', children: [ { url: '/modules/AboutBox/dialog.html' } ]}

Offline

#7 2010-08-07 21:04:51

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Strange linker error

Youi must observe the result of the XMLHTTPRequest to scan.php (using Firebug or Chrome's developer tools), not run it directly, it's behaviour depends on the javascript configuration to Linker, running it directly tells you little of interest.


James Sleeman

Offline

Board footer

Powered by FluxBB