search for: trigger_error

Displaying 2 results from an estimated 2 matches for "trigger_error".

2007 Aug 24
0
MYSQL problem and configuration
...STDERR,"FAIL (unexpected result '$res')\n"); fflush(STDERR); return -1; }}$agivar = init();$hostname= 'xxxx'; $database= 'xxxxx'; $username= 'xxxxx'; $password= 'xxxx'; $dbprotect = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db($database, $dbprotect);$result = mysql_query("SELECT * FROM user_table WHERE user_age>12");while($entry = mysql_fetch_array($result)) {fwrite(STERR, "Name : $entry['name'], Age: $entry['age'] \n");fflush(STDOUT);$r...
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi I''m trying to follow the tutorial on xrcise at http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise But I keep getting the following error when I try to run the example; tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for #<CaseChangeFrame:0x2d610f8> (NoMethodError) from tutorial.rb:28:in `new'' from