M
M
mletov2015-12-27 13:29:12
Drupal
mletov, 2015-12-27 13:29:12

Why did Self-written modules stop working (error when creating menu items)?

Please tell
Drupal 7.41
When creating a new site, I installed my self-written modules, which I previously did for other projects. None of them are responsive, any page created with such a module gets "page not found" on the page. Modules are hardly relevant, they used to work fine, and I tried to download and activate the simplest module from the lessons a la "writing your first module in Drupal" - the result is the same.
1) I cleared the cache
2) On the advice of Google, I inserted menu_rebuild () into the bottom of the index;
3) I looked at the logs, there is such an error "PDOException: in _menu_router_save() (line 3900 "
)$insert->execute();
https://www.drupal.org/files/PDO-menu-router-item-...
But none of the above helped me. What can be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mletov, 2015-12-27
@mletov

Found the reason: incorrect encoding of the module file

D
Drupby, 2015-12-27
@drupby

Judging by the snatch of the error, the problem is clearly in the database. One can only guess, perhaps not all fields are present in the table. Try reinstalling Drupal to update the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question