Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I'm on:
Linkit Profiles
/admin/config/content/linkit
And I attempt to click the "Add new profile" tab, the following page can't be found:
/admin/config/content/linkit/add
Comment | File | Size | Author |
---|---|---|---|
#8 | 2405781-add-token-dialog-link.patch | 819 bytes | gmclelland |
#7 | tokentree.jpg | 102.6 KB | gmclelland |
Comments
Comment #1
anonTry clear the cache.
Comment #2
deanflory CreditAttribution: deanflory commentedI still get a "Page Not Found" 500 error. I also had recently reinstalled all linkit related modules.
Comment #3
anon"Page Not Found" 500 error.
Page not found should be 404. But you get 500 internal server error.
Check the log files and see if that can help us solve this.
Comment #4
deanflory CreditAttribution: deanflory commenteddblog had nothing new to contribute:
Here is another error that may or may not be helpful:
I don't know what to tell you other than I don't have this problem with any other modules and there are many, many installed on this one site.
FYI, on another site that has far fewer modules enabled I don't have the issue and can see the Add profile page just fine.
Comment #5
anonWell, as you said, there is probably something going on here with some other module.
The 500 error status is bothering me. Can you check the server or php error log?
Comment #6
capogeannis CreditAttribution: capogeannis commentedI was having the same issue trying to edit an existing LinkIt profile. When I click the edit button, I get an unusable page with mostly plain text, no buttons, etc. Chrome's Developer Tools log shows an error 500. The php error log on that event showed:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 162 bytes) in /.../sites/all/modules/token/token.module on line 989
A quick search lead me to this info noting to try using the Token Tweaks module and setting the depth to 2:
https://www.drupal.org/node/1391706
I installed the Token Tweaks module, set the "Maximum depth limit for the Token UI" to 2, and no more problems.
Unfortunately, I just don't know what the actual issue is. I just know that for now it is fixed for me.
Hope that helps.
Comment #7
gmclelland CreditAttribution: gmclelland commentedThis is probably because the token tree gets loaded when the profile page is viewed.
It would probably be better to use the token dialog via a link instead of embedding it in the page.
Taken from https://www.drupal.org/documentation/modules/token :
Comment #8
gmclelland CreditAttribution: gmclelland commentedHere is a small patch that might fix the issue. Hope that helps
Comment #10
gmclelland CreditAttribution: gmclelland commentedI have no idea why it fails the tests. Maybe @anon can chime in here?
Comment #15
anonThanks for the patch gmclelland. Its now commited.