hello :)
i am making a custom module and hook_menu_alter was not working, so i tried to clear the cache with devel. i got a time out and gave much more memory, but it didn't change.
then i went to drush and i keep having problems.
i updated drush to the last version 7.x-5.8, but the problem remains.
i am in a ubuntu 12.04 with apche 2.2.22 and php 5.3.10
i have been making tests on other smaller sites than commerce kickstar 7.x-2.0-rc4 and all works.
if i use the drush cache-clear command on my site with kickstart, i can run almost always all the options but menus and all. i can run the other normally.
if i run the cache-clear and choose the menu, then the computer can be 1/2h running and nothing done (i have set the memory_limit to -1).
when that happens, i have to restart apache and recover the database backup or drush will not work (doesnt show even the options to choose what kind of cache-clear i want).
so... anybody is having this problem?
can you run in your site the command on menus, please?
any tip? :)
thanks
Comments
Comment #1
candelas commentedmore data about this problem :)
i have tried with a fresh installation where there is not cache and i can run drush cache-clear with the menu option.
so i copied this tables to my site :
and i get the same problem with the server but when i stop the command i have not to restore the database and my module works perfectly.
do you know if drush tries to empty other tables?
can someone make that command in a r4 version with new products added, please?
and see if they have this problem? :)
thanks :)
Comment #2
candelas commentedi am not been able to cache-clear menu, but with the mix of the 2 databases i can retake working on the hook_menu_alter :)
until i found a way to resolve the problem with the database, since i will not work with it...
i dont know if a notice that i get in the management menu that it is related to this issue, but i write it here, just in case
Comment #3
bojanz commentedI've never had a problem with clearing the menu.
1) Can you update Kickstart to the -dev version?
(Or wait for the 2.0 release tomorrow).
We've made some changes to our custom menu code to prevent modifying customized items, which might help.
2) Did you add any custom menu alters? What happens if you remove them?
3) Did you add any custom modules? Any that could cause problems?
Comment #4
candelas commentedi reverted to an elder version of my database and the problem finished.
i think the problem was with a module menu_attach_block that i was using to add devel to the management menu.
thanks @bojanz :)