Handlers not called or called wrong :/
Well, it's very strange for me... I have two menus in mi ZP
Here is the first: PHP Code:
The thing is when you try to create in slots 3 o 4 the handler is not called, the menu refresh but nothing happens, i try with new style menues and its the same error, not error logs in console. And here is the second menu: PHP Code:
Thank you for your time. |
Re: Handlers not called or called wrong :/
Show the full code (attach it).
|
Re: Handlers not called or called wrong :/
I cannot do that :S If you need any specific function i'll put it but the whole code have a lot of things that i did and i dont want to do public :S
|
Re: Handlers not called or called wrong :/
You could at least show ALL the code related to the problem (menus).
|
Re: Handlers not called or called wrong :/
Have you added a debug message to the verry start of the callback and have you printed the variables to see if all is called well ?
Do your menu titles match for the callbacks in register_menu() ? And are you sure you don't have duplicates of that title ? If you're unsure, show the code where you register the menus, constants and everything else related to those menus. |
Re: Handlers not called or called wrong :/
I dont know way but I desactived autologin code, then I complied and works perfect. When I activate autologin code again it works perfect o.O
Sorry for my later answer... I have other problem... I dont know whats wrong here :/ Code:
L 07/29/2011 - 14:17:44: Start of error session.PHP Code:
PHP Code:
PHP Code:
|
Re: Handlers not called or called wrong :/
i think 'g_hTuple' should be Handle:g_hTuple. check if the connection is 'Empty_Handle' .
And you can use switch to optimize the code. Regards. |
Re: Handlers not called or called wrong :/
I put new Handle:g_hTuple when I create it... and I use it in other codes (into the same plugin) and works perfectly.
I thought that couldnt be switched, because the thinks its if i put save(index, 1) only check the first part or the second in case 2.. and if i put save(index, 10) it will save all that things so i cannot do a switch (i think). |
| All times are GMT -4. The time now is 03:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.