Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Search in few fields dont work - error with colon 06 Apr 2013 13:29 #7026

  • Creb
  • Creb's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
Hi, I prepare filter and add few field to search (screen)
[img size=21KB]pradzieje.pl/screen.png[/img]

in sandbox this page don work (white page). On localhost I have error:
Parse error: syntax error, unexpected ',' in /administrator/components/com_workpath/models/userpath.php on line 216

Line 216 - first line after comment:
//WHERE - SEARCH : search_name,_login,_email : search on user_id > Name + user_id > Username + user_id > Email
		$search_name,_login,_email = $this->getState('search.name,_login,_email');
		$this->addSearch('name,_login,_email', '_user_id_.name', 'like');
		$this->addSearch('name,_login,_email', '_user_id_.username', 'like');
		$this->addSearch('name,_login,_email', '_user_id_.email', 'like');
		if (($search_name,_login,_email != '') && ($search_name,_login,_email_val = $this->buildSearch('name,_login,_email', $search_name,_login,_email)))
			$this->addWhere($search_name,_login,_email_val);

Please help to fix this error

I greet
Creb

Please Log in or Create an account to join the conversation.

Re: Search in few fields dont work - error with colon 06 Apr 2013 14:20 #7027

  • Creb
  • Creb's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
If I in Instance name of search field write var names, script generate error, If leave field "Instance name" empty - works OK.

Maybe someone helped
I greet
Creb

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.059 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started