Hide error messages on front end

haamid.gazi
Posts: 13
Joined: Wed Jun 25, 2008 11:30 am

Hide error messages on front end

Post by haamid.gazi »

Hi,
we have installed webinator on a new server. the error messages are coming on the front end page. is there a setting to hide the error messages from coming on frontend whereas they continue to come in vortex.log and that is the behavior on our other servers as well.

Regards
Haamid
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Hide error messages on front end

Post by mark »

You shouldn't have to but you could add
<putmsg print off>
to the beginning of the search script.

But what kind of errors are you getting? You shouldn't
generally get errors unless the user enters bad queries.

Also make sure you're not in test mode. Test mode will show the errors visibly whereas normal mode will hide them within html commands on the page.
User avatar
John
Site Admin
Posts: 2625
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Hide error messages on front end

Post by John »

John Turnbull
Thunderstone Software
haamid.gazi
Posts: 13
Joined: Wed Jun 25, 2008 11:30 am

Hide error messages on front end

Post by haamid.gazi »

Hi John,

using same script we are not getting errors on front end in production. so i believe it has to do with some system settings. and how can I check whether i am in test mode.
Regards
Haamid
haamid.gazi
Posts: 13
Joined: Wed Jun 25, 2008 11:30 am

Hide error messages on front end

Post by haamid.gazi »

This is the rror message which usalluy come in vortex log is appearing on frontend

32: command sh returned exit code 137 118 /webinator/search:2088: command sh returned exit code 1
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Hide error messages on front end

Post by mark »

In test mode there's "mode=admin" in the url.

What's line 2008 of your search script? It looks like whatever shell command is being run there is failing.
haamid.gazi
Posts: 13
Joined: Wed Jun 25, 2008 11:30 am

Hide error messages on front end

Post by haamid.gazi »

The issue is not why it is failing , the issue is why the error output is coming in the html code (i.e. front-end) can you please help me in figuring that out.

Regards
haamid
haamid.gazi
Posts: 13
Joined: Wed Jun 25, 2008 11:30 am

Hide error messages on front end

Post by haamid.gazi »

the url which I am accessing does not have mode=test in it.

Regards
Haamid
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Hide error messages on front end

Post by mark »

You have 2 options. Hide the messages as described above or fix the failure so no message is generated.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Hide error messages on front end

Post by mark »

One other possibility is that your vortex.log is not writable by the user that texis is running as.