PDA

View Full Version : Using the print_standard_error function


cinq
07-02-2004, 01:42 AM
I am trying to create my own error message but there seems to be a problem.

I am using this in the php code :


eval (print_standard_error('error_myerror'));


I have created a phrase with the following :

Phrase name : myerror
Text : You have come to an invalid page.

However when I try to reach a page which will display this error, it reports :

vBulletin Message
Could not find phrase 'myerror'.

Checking the phrases, it is there. ... what am i doing wrong ?

Pls advice, thanks :)

Dark_Wizard
07-03-2004, 09:42 AM
Did you add it to the "Front-End Error Messages" phrase group?