Log in

View Full Version : little qustion about evel function


EmreTheMatrix
04-14-2004, 01:30 PM
ok
when i try to do
eval(print_standard_error('error_bla'));

and error_bla is templte i added

i get this error

Could not find phrase 'error_bla'.

so how i can get this templte into error function ?

im getting this error also on ereg functions

what is the cuse of it ? and how i can fix it ?

thanx

NTLDR
04-14-2004, 01:57 PM
You need to add a phrase in the front end error messages group called 'bla' with your error message.

EmreTheMatrix
04-14-2004, 03:33 PM
what i didnt got u right ?
i added templte called error_bla
and i added pharse like that error_bla
so what i did worng ?
can u show me exsample please ?

NTLDR
04-14-2004, 03:35 PM
called 'bla' with your error message.

It needs to be called 'bla' and NOT 'error_bla', no templates are needed.

EmreTheMatrix
04-15-2004, 09:10 AM
ok i created the templte 'bla'

and called it like that
eval(print_standard_error('bla'));

but still its says

Could not find phrase 'bla'.

so whats worng here ?

Zachery
04-15-2004, 09:16 AM
is there a phrase in the phrase system called bla ?

EmreTheMatrix
04-15-2004, 10:07 AM
nop
i added templte

how i can add phrase ?

and why the errors is with phrases and not templtes ?
*just to know ;)

Scrub
04-15-2004, 10:39 AM
Admincp >> Languages & Phrases >> Phrase Manager >> Add New Phrase

I think. :p