After the last upgrade if I try to edit or create a new link it is stopped by the following error: This link is returning an error code of -1002 (missing schema).
After the last upgrade if I try to edit or create a new link it is stopped by the following error: This link is returning an error code of -1002 (missing schema).
Comments
Comment #1
nancydruI can add links with no problem. You are required to have the "http://" on the front. I can't go back and check to see if you got away with that before, but you definitely can't now. See #575512: Checker Allowing Duplicates
BTW, on the settings page there is a field set called "Field defaults". I always set the "Default for URL" to "http://" to remind people that it is needed.
Comment #2
nancydruComment #3
scotese commentedThanks for getting to this so quickly. The reason that links could be added was that I turned checking off. When I turned it back on, the exact same problem is there. It does have http:// on the front - so I am pretty flummoxed.
Comment #4
nancydruCan I see the site? If you want me to view it privately, use my contact tab.
Comment #5
Starminder commentedNancyDru - same here:
"This link is returning an error code of -1002 (missing schema)."
http://www.hoslotracer.com
Thanks!
Comment #6
scotese commentedThe site is www.awaytoteach.net - I appreciate your help here.
Comment #7
nancydruPerhaps I wasn't clear. I need to see one (or more) of those links that are failing. I did not see any on either site.
Comment #8
scotese commentedIt is probably I that wasn't clear. The links fail upon entering them - in other words - they cannot be published because of the error. If I turn the error checking on entry off - they are published fine (I suppose this is a work-around - as there are no further error checking problems once they are published - but there has to be something wrong in the checking that goes on when they are initially entered.
Comment #9
nancydruCan you give me an example, please? I have added many links since the checker code was changed.
Comment #10
Starminder commentedI rolled back to the previous version for now. I'm happy to put 2.3 back so you can experience it, but as stated in #8, when anyone tries to add any link, the error as stated in #5 appears. This is for any link added by any user. The error prevents the link from being added.
Comment #11
nancydruI appreciate your experience and would still like an example of a failing link. As I said, I have added links with no problem - I cannot reproduce this in order to fix it.
Comment #12
nancydruAhh, browsing through the code, I spotted it.
On line 183 of weblinks_checker.module
change it to:
I have committed the fix to 6.x-2.x-dev.
Comment #13
nancydruComment #14
AlpineExplorer commentedThanks for this quick hack (#12). It helps on my site.
Comment #16
miguel_angel commentedI confirm that patch at #12 solves this issue.
Thanks