Thanks, I have never used this option but I turned and there is no error, just run the code, the code is a bit long to put it here in the forum.
I completely uninstalled joomla and I have a clean new install, only have the component k2 and continue with the same problem.
Sorry my bad english