|
cannot click links anymore after update |
Iniciado por james, mar., 08 2017 11:41 AM - 9 respostas |
| |
| | | |
|
| |
Publicado em março, 08 2017 - 11:41 AM |
I've been running my website on IIS 7.5 for quite a while without any problem. Updating the site via physical media setup worked fine so far.
However, after the latest update everything seems broken. I have kind of a preview page with a list of links to other pages and I can't klick them anymore. The preview page is a "Dynamic Page" with Generation in AWP mode enabled, same for the other pages. The linking is done in "Action -> display the page..."
The only change between the working version and the new one was deleting a link in the preview page. No settings changed. I changed some bindings in IIS, but after resetting them and new install of the working version, the links still didn't work.
Maybe I should mention that the WebDev site runs in an iframe, not sure if that matter. If I connect directly on the WebDev site, links don't work either, though.
I know this is very vague, but maybe anyone has any ideas. I'll be happy to provide any more information if needed.
Thanks in advance! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 08 2017 - 3:02 PM |
Hi James,
when you hover on your link, the target url is displayed by the browser at the bottom of the screen...
What is the URL displayed, and is it correct?
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/8/2017 à 5:41 AM, james a écrit :
I've been running my website on IIS 7.5 for quite a while without any problem. Updating the site via physical media setup worked fine so far. However, after the latest update everything seems broken. I have kind of a preview page with a list of links to other pages and I can't klick them anymore. The preview page is a "Dynamic Page" with Generation in AWP mode enabled, same for the other pages. The linking is done in "Action -> display the page..."
The only change between the working version and the new one was deleting a link in the preview page. No settings changed. I changed some bindings in IIS, but after resetting them and new install of the working version, the links still didn't work.
Maybe I should mention that the WebDev site runs in an iframe, not sure if that matter. If I connect directly on the WebDev site, links don't work either, though.
I know this is very vague, but maybe anyone has any ideas. I'll be happy to provide any more information if needed.
Thanks in advance! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 08 2017 - 3:03 PM |
Hi again
did you check if there is any JS error on your page that could block everything else (F12 to activate the developer console)
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/8/2017 à 5:41 AM, james a écrit :
I've been running my website on IIS 7.5 for quite a while without any problem. Updating the site via physical media setup worked fine so far. However, after the latest update everything seems broken. I have kind of a preview page with a list of links to other pages and I can't klick them anymore. The preview page is a "Dynamic Page" with Generation in AWP mode enabled, same for the other pages. The linking is done in "Action -> display the page..."
The only change between the working version and the new one was deleting a link in the preview page. No settings changed. I changed some bindings in IIS, but after resetting them and new install of the working version, the links still didn't work.
Maybe I should mention that the WebDev site runs in an iframe, not sure if that matter. If I connect directly on the WebDev site, links don't work either, though.
I know this is very vague, but maybe anyone has any ideas. I'll be happy to provide any more information if needed.
Thanks in advance! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 09 2017 - 8:19 AM |
Hello Fabrice
Thank you for the answer.
When I hover the link the target is "javascript:_JSU(PAGE_,'Form-Ai' + '.awp' + ",'post',_self',",")
I've checked the code and there are indeed a few errors: 3 x "Uncaught SyntaxError: Unexpected token <" this is happens in "modernizr", "WDUtil.js" and "StdAction.js"
Then I have a "Uncaught ReferenceError: clWDUtil is not defined at Ubersicht.awp:22" and "Uncaught ReferenceError: clWDUtil is not defined at onload Ubersicht.awp:22"
And a "Uncaught DOMException: Blocked a frame with origin .... from accessing a cross-origin frame.
It's this code: obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
I use it to determine the height of the page and then set the iFrame height according to it. No change though without this code.
One more thing: when I click a link, I get this error: Uncaught ReferenceError: _CFI is not defined at _JSU (Ubersicht.awp:24) at <anonymous>:1:1
Thanks a lot! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 09 2017 - 12:31 PM |
Hi James,
So, you have JS errors, and that's your problem. NO JS code will work correctly after that, and your links are done using a JS function (they will NOT be referenced correctly by a Search Engine, by the way).
You can try to delete the .cpl directory and the .env file, the repair project option, but if all that doesn't work, then create a new page, and copy/paste all elements from the broken one in it.
If it works, you are done, if not, you can remove element by element to find which one is creating the problem
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/9/2017 à 2:19 AM, james a écrit :
Hello Fabrice
Thank you for the answer.
When I hover the link the target is "javascript:_JSU(PAGE_,'Form-Ai' + '.awp' + ",'post',_self',",")
I've checked the code and there are indeed a few errors: 3 x "Uncaught SyntaxError: Unexpected token <" this is happens in "modernizr", "WDUtil.js" and "StdAction.js"
Then I have a "Uncaught ReferenceError: clWDUtil is not defined at Ubersicht.awp:22" and "Uncaught ReferenceError: clWDUtil is not defined at onload Ubersicht.awp:22" And a "Uncaught DOMException: Blocked a frame with origin .... from accessing a cross-origin frame.
It's this code: obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
I use it to determine the height of the page and then set the iFrame height according to it. No change though without this code.
One more thing: when I click a link, I get this error: Uncaught ReferenceError: _CFI is not defined at _JSU (Ubersicht.awp:24) at <anonymous>:1:1
Thanks a lot! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 09 2017 - 4:25 PM |
I have found different errors depending on with which link I access the page. Most are clWDUtil is not defined.
I hope you don't mind me posting the links here as it might be easier for you to troubleshoot.
On this I can click links, yet no formatting is done. No errors. http://formulare.blvk.ch/FormulareWebseite/FORMULAREWEBSEITE_WEB/DE/Ubersicht.awp
Same link, but in french. doesn't work anymore. http://formulare.blvk.ch/FormulareWebseite/FORMULAREWEBSEITE_WEB/FR/Ubersicht.awp
Here can't click links and many errors in developer tools http://blvk.ch/FormulareWebseite/FORMULAREWEBSEITE_WEB/DE/Ubersicht.awp
Here same as above http://blvk.ch/FormulareWebseite/FORMULAREWEBSEITE_WEB/FR/Ubersicht.awp
I have do add, that these sites usually run in an iFrame on a different page. But if it's not working by their own, won't work in an iFrame either.
Greetings and many thanks!! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 09 2017 - 7:03 PM |
Hi James
there is nothing to troubleshoot...
I gave you the method to follow on my last post. And I cannot do that for you from here
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/9/2017 à 10:25 AM, james a écrit :
|
| |
| |
| | | |
|
| | |
| |
Publicado em março, 14 2017 - 9:43 AM |
Hi Fabrice
Okay, so I've created a WHOLE NEW project and only included one site - not working!
I've still got the "Uncaught Syntax Error: Unexpected token <" in modernizr.js, WDUtil.js, StdAction.js, WBLIB.js, jquery.js, jquery-ancrage-sup-epingle.js.
As well as a "clWDUtil is not defined" error on my page. All of those are beyond my reach as I haven't touched those files.
What am I missing? the WDUtil.js file, in which clWDUtil is called, exists - but could the path be set wrong somewhere? Did I set a setting wrong somewhere in IIS?
I really have no idea.
Thanks! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 14 2017 - 1:15 PM |
Hi James,
are you telling me that several sites have the same problem ? What kind of UPDATE are you talking about, then?
I thought you were talking of updating one site after changes you made...
SI that the case or not?
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 3/14/2017 à 3:43 AM, james a écrit :
Hi Fabrice
Okay, so I've created a WHOLE NEW project and only included one site - not working!
I've still got the "Uncaught Syntax Error: Unexpected token <" in modernizr.js, WDUtil.js, StdAction.js, WBLIB.js, jquery.js, jquery-ancrage-sup-epingle.js.
As well as a "clWDUtil is not defined" error on my page. All of those are beyond my reach as I haven't touched those files.
What am I missing? the WDUtil.js file, in which clWDUtil is called, exists - but could the path be set wrong somewhere? Did I set a setting wrong somewhere in IIS?
I really have no idea.
Thanks! |
| |
| |
| | | |
|
| | |
| |
Publicado em março, 15 2017 - 1:04 PM |
Hello Fabrice
Yes, several different sites. I've created a new one, as you suggested, and it has the same problem.
The update I'm talking about is: in WebDev I make some changes on my page, then create a new physical media setup. Then copy the content of the Install folder to my Webserver, lock the site in Webdev Administrator, execute the Install.exe and unlock the site in webdev admin again. |
| |
| |
| | | |
|
| | | | |
| | |
|