Shortly after I installed Views URL alias, my Drupal stopped to create nodes, ie, any node that I tried to create using /node/add I got a 500 Internal Server Error. I had to uninstall the module to have my node creation back.

My views-related modules installed on Drupal 7.12:

Views 7.x-3.3
Views PHP 7.x-1.x-dev
Views Slideshow 7.x-3.0
Views Slideshow: Cycle 7.x-3.0
Views UI 7.x-3.3
Views URL alias (Node) 7.x-1.x-dev

CommentFileSizeAuthor
#2 installed_modules_25-04-2012.pdf244.28 KBfabioknoedt

Comments

jrockowitz’s picture

Any chance you can duplicate the issue and look at Drupal's log. (admin/reports/dblog)

It is really hard to fix an issue without knowing what the exact error message is.

My guess is the problem is related to duplicate node aliases.

If you are using Drush, can you also post the output from `drush pm-list`, which will list every module that you have enabled.

fabioknoedt’s picture

StatusFileSize
new244.28 KB

Hi! Yesterday I tried to fix the problem and I found the root of the problem. It's in the function:

function views_url_alias_node_node_insert($node) {
 views_url_alias_node_update($node);
}

I just commented this function to try again and everything works fine. As I'm not a Drupal modules expert I left like this and I run the "rebuid alias node table" (admin/structure/views/settings) from time to time to rebuild all node paths for your module.

Sorry, I don't have time now to install Drush but I attached a printing version of the modules page, ok?

And there is no entries in dblog log :/

Thanks!

jrockowitz’s picture

I think the issue is tied to the local module which allows for multiple language specific node aliases to be created for each node. Are you setting different languages for some node aliases?

fabioknoedt’s picture

No, I'm using only one language for all nodes: pt-br.
But I think I have some nodes with "und" language (undefined) after I did a really big node importation.

jrockowitz’s picture

Status: Active » Needs review

I finally caught the error which was "Fatal error: Call to undefined function views_url_alias_node_update() in /var/www/seven/sites/all/modules/sandbox/views_url_alias/views_url_alias_node.module on line 81". This issue might not have been related to the local.module.

Please test the updated 7.x-dev release.

fabioknoedt’s picture

Status: Needs review » Closed (fixed)

Hi! For me works fine! Great job! Thanks!