| Previous · Next | |
| User | Message |
|
eng.ramy
|
Date: 4/10/2007 9:43 am · Subject: Macros problem · Rating: 2
i wrote an micro in this steps 1 - the package name. package WebGUI::Macro::X; 2 - the filename of the macro. lib/WebGUI/Macro/X.pm 3 - the code component of the macro entry in the config file. and i call it by typing and its not work where is the problem |
| Back to Top |
Rate [ | ]
|
|
martink
|
Date: 4/10/2007 10:00 am · Subject: Re: Macros problem · Rating: -3
A host of things can be wrong. Did you restart your webserver? Does the code actually compile (ie. does perl -c WebGUI/Macro/X.pm say syntax ok? - run from WebGUI/lib) What does the webgui.log file say? Without specifics it's impossible to say what's wrong. Martin eng.ramymohie@hotmail.com wrote: > eng.ramy wrote: > > i wrote an micro in this steps > > 1 - the package name. package WebGUI::Macro::X; > > 2 - the filename of the macro. lib/WebGUI/Macro/X.pm > > 3 - the code component of the macro entry in the config file. > "X" : "X", > > and i call it by typing and its not work > > where is the problem > > > > http://www.plainblack.com/webgui/dev/discuss/macros-problem > > Unsubscribe <http://www.plainblack.com/webgui/dev/discuss?func=unsubscribe> > > > ------------------------------------------------------------------------ > > > |
| Back to Top |
Rate [ | ]
|
|
eng.ramy
|
Date: 4/10/2007 11:25 am · Subject: Re: Macros problem · Rating: -15
there is no errors in /var/log/webgui.log and the perl -c return syntax OK i do restart my apache i don't know what's problem |
| Back to Top |
Rate [ | ]
|
|
martink
|
Date: 4/10/2007 1:10 pm · Subject: Re: Macros problem · Rating: -12
Ok, did you commit the version tag, flush the cache? Do you see displayed or nothing at all? Martin eng.ramymohie@hotmail.com wrote: > eng.ramy wrote: > > there is no errors in /var/log/webgui.log > > and the perl -c return syntax OK > > i do restart my apache > > i don't know what's problem > > > > http://www.plainblack.com/webgui/dev/discuss/macros-problem/5 > > Unsubscribe <http://www.plainblack.com/webgui/dev/discuss?func=unsubscribe> > > > ------------------------------------------------------------------------ > > > |
| Back to Top |
Rate [ | ]
|
|
eng.ramy
|
Date: 4/10/2007 4:57 pm · Subject: Re: Macros problem · Rating: 0
check this picture out after calling the micro and save and do CCR Attached Files |
| Back to Top |
Rate [ | ]
|
|
martink
|
Date: 4/11/2007 8:20 am · Subject: Re: Macros problem · Rating: 2
Hmm, and nothing shows up in the webgui.log? Can you send me your macro if that's possible. I'll see if I can figure out what's wrong. Martin eng.ramymohie@hotmail.com wrote: > eng.ramy wrote: > > check this picture out > > after calling the micro and save and do CCR > > > > http://www.plainblack.com/webgui/dev/discuss/macros-problem/6/re-macros-problem > > Unsubscribe <http://www.plainblack.com/webgui/dev/discuss?func=unsubscribe> > > > ------------------------------------------------------------------------ > > > |
| Back to Top |
Rate [ | ]
|
|
Klaus
|
Date: 4/10/2007 10:00 am · Subject: Re: Macros problem · Rating: 2
i wrote an micro in this steps 1 - the package name. package WebGUI::Macro::X; 2 - the filename of the macro. lib/WebGUI/Macro/X.pm 3 - the code component of the macro entry in the config file. and i call it by typing and its not work where is the problem Attached Files |
| Back to Top |
Rate [ | ]
|
|
eng.ramy
|
Date: 4/10/2007 11:24 am · Subject: Re: Macros problem · Rating: 8
there is no errors in /var/log/webgui.log and the perl -c return syntax OK i do restart my apache i don't know what's problem |
| Back to Top |
Rate [ | ]
|