Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Unexpected "Cannot extract token from" Error Due to Tabs / Newlines
Re: Unexpected "Cannot extract token from" Error Due to Tabs / Newlines [message #4609 is a reply to message #4607] Sun, 26 October 2014 14:26 Go to previous messageGo to previous message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
Here are just a few examples:

Example 1
    $where	= "test_id 	< 3 ";
(With tabs between 'test_id' and '<' )

Example 2
    $where	= "test_id < 
    		3 ";

Example 3
    $where	= "		test_id < 3";
(With tabs before 'test_id')

Example 4
    $where	= "
    		test_id < 3";

Example 5
    $where	= "test_id < 3";

Examples 1 and 2 both result in
Fatal Error: Cannot extract token from: '< 3' (# 256)
Error in line 6994 of file 'D:\Pet\UwAmp\www\rad186\includes\include.library.inc'.

Example 3 and 4 both result in
Fatal Error: Cannot extract token from: ' test_id < 3' (# 256)
Error in line 6994 of file 'D:\Pet\UwAmp\www\rad186\includes\include.library.inc'.

Example 5 functions normally without errors.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unexpected "Query was empty" Error Due to Space / Newline
Next Topic: Semicolon in Strings within SQL Multi Query String
Goto Forum:
  


Current Time: Mon Dec 23 06:46:47 EST 2024

Total time taken to generate the page: 0.01006 seconds