Closed (fixed)
Project:
Alinks
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
22 Oct 2011 at 08:05 UTC
Updated:
31 Dec 2013 at 00:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joebachana commentedposted the D7 version on 10/14, did you work on this independently and not notice this? Seems like one of us wasted work effort.
Comment #2
chinajason commentedsorry,I didn't notice it.
can you maintein it with me?
can you add my msn?
Comment #3
arnieswap commentedThanks. I will be testing it and will file reports.
Comment #4
Aurochs commented@chinajason - pls look at the screen from my notepad++ with utf-8 encoding ( i tried other editors and other encodings). I think there are some chinese characters or punctuation? some encoding mistake?
i receive tons of mistakes with the released 7-1.1
http://imageshack.us/photo/my-images/707/alinksu.jpg
Comment #5
Aurochs commentedthe screen
Comment #6
Aurochs commentedI tried the sandbox by joebacjana and have foll
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
Notice: Undefined index: body в функции alinks_node_view() (строка 131 в файле /var/www/gamepart.org.ua/sites/all/modules/alinks/alinks.module).
with 7.x -1.1 i had simlar problem but another index.
Comment #7
gratefulsk commentedThe 7.x-1.x-dev version by joebachana is working for me on Drupal 7. I couldn't get the releases by chinajason to work for me.
Comment #8
almamun commentedWorking fine for me with utf-8 characters on a multilingual site ):
Only getting an error (whether I set it -1 or 50)
Notice: Undefined offset: 0 in alinks_node_view() (line 134 of /path-to-drupal/sites/all/modules/alinks/alinks.module)almamun
..................................
Dinajpur- My District Portal
Rangpur-Another Local Portal (Drupal Powered)
Rangpur News-Local News Site (Drupal Powered)
Comment #9
Hanscraft commentedI've noticed that it does that if there is no body text in a content type that Alinks refers to. As soon as I paste SOMETHING in there, the error goes away.
Comment #10
thejamesjones commentedI am having this same error...
Notice: Undefined index: body in alinks_node_view() (line 134 of /var/www/html/caldwell/sites/all/modules/alinks/alinks.module).
I have tried replacing the the body with text, created a new content type, changed the alinks limit and node types.
Is there anyway to disable this error from showing all together?
Comment #11
thejamesjones commentedThe module appears to be running on all content types, even if you don't have them selected. I am seeing the aforementioned error on pages that do not have alinks configured, additionally these pages do not have any content in the body field. Or the content is html/php code and not textual in nature.
Comment #12
xandeadx commentedfix alinks_node_view()
Comment #13
xandeadx commentedfix alinks_node_view() + alinks_get_strings()
Comment #14
fubarhouse commentedHey guys, trying to get to this to work also,
Note that I have tried the above patches with no success or change.
I have also tried the most recent version of the file which was in fact updated today.
Error Message
Notice: Undefined index: body in alinks_node_view() (line 134 of /mounted-storage/home149/sub005/sc45553-OKUX/savage-union.com.au/sites/all/modules/alinks/alinks.module).
Line of code
134: $node->content['body'][0]['#markup'] = alinks_make_links($node->content['body'][0]['#markup'], $words);
Live version
A live version of this error message can be found on my website.
Please note all the text visible on this page is coming from a custom field, "field_biography" and alinks has been established to create every work in this area a link to another content page.
Comment #15
lalit774 commentedhi,
#14
File alinks.module
Line No 134
you should not get above error.
Comment #16
niklp commentedThe problem here is that the module specifically targets only the body field (named as such) in each content type. As of D7, this really needs to be changed so that any textarea field on any content entity will have the alinks applied to them. This is a bit of work, it appears... :/
Comment #17
VictorMYeste commentedI have the same error. NikLP is right. Anyone with a path to this problem?
Comment #18
fehin commentedI'm getting this error
Notice: Undefined variable: alink in alinks_get_strings() (line 153 of sites/all/modules/alinks/alinks.module).Comment #19
fehin commentedTried the patch in #13. Alink doesn't do anything to my texts.
Comment #19.0
fehin commentedI tested it in drupal7.8
Comment #20
greg boggsComment #21
greg boggs