[Notice] Undefined index: Search

GET /resources/code/SearchForm?start=80

Line 132 in /home/james/public_html/cms/code/search/SearchForm.php

Source

123 					Translatable::disable_locale_filter();
124 				} else {
125 					$origLocale = Translatable::get_current_locale();
126 
127 					Translatable::set_current_locale($data['searchlocale']);
128 				}
129 			}
130 		}
131 
132 		$keywords = $data['Search'];
133 
134 	 	$andProcessor = create_function('$matches','
135 	 		return " +" . $matches[2] . " +" . $matches[4] . " ";
136 	 	');
137 	 	$notProcessor = create_function('$matches', '
138 	 		return " -" . $matches[3];

Trace

Search Results | James Barnsley | Web designer and developer in Wellington

Git clone without subdirectory

2 May 2013

When you clone a GIT repository, by default it creates a new sub-folder by the name of your repository. This is highly annoing when you're deploying...

Read more

Case-sensitive MySQL tables on XAMPP

3 May 2013

Windows and Mac OSX aren't too bothered about the case in your MySQL databases, however Linux is. TableName is not the same as tablename (at least...

Read more

Run function within article content

6 May 2013

Sometimes you need to execute a function within a page article, and the easiest way is to write your functionality in your Controller (ie Page.php, Page_Controller...

Read more

Terms and Conditions

Estimates, quotes and specifications Estimates are based on the brief supplied to date. Alterations to the brief or significant design changes will be quoted as additional. Estimates...

Read more

Specify an UploadField's default folder

7 May 2013

Instead of scrambling around the /assets folder trying to find the folder that contains your assets, set the default folder to start the search from with...

Read more

Untracking a file in GIT

18 May 2013

When you're working with multiple environments (which you'd usually be doing if you're using GIT!), you want to exclude your environment-specific configurations, like database connections and...

Read more

Avoid locking your web-uploaded files

29 May 2013

Out of the box, most webservers will run Apache processes as user 'www-data', which has it's own group. If you then try to move/delete/edit any files...

Read more

Generate a Facebook access token

7 June 2013

When building a social media feed, Facebook is the difficult one to work with as it uses higher-level API access. You can get away without using...

Read more

Get your Facebook Page ID

7 June 2013

In order to do anything fancy with your Facebook Page, you need to get your Page ID. To do this, just visit your Page and in...

Read more

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

Page 9 of 42

Let's work together