plainblack.com
Username Password
search
Bookmark and Share

    

Macros problem

User eng.ramy
Date 4/10/2007 9:43 am
Views 3342
Rating 2    Rate [
|
]
Previous · Next
User Message
eng.ramy

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 



Back to Top
Rate [
|
]
 
 
martink
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

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
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

check this picture out

after calling the micro and save and do CCR  



Attached Files
Back to Top
Rate [
|
]
 
 
martink
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

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 



Attached Files
Back to Top
Rate [
|
]
 
 
eng.ramy

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 [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved