[Notice] Undefined index: Search

GET /resources/SearchForm?start=40

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

Resources: Search Results

Expandable CMS Widgets

27 September 2012

Hide and show large widgets with this handy add-on. Add to /themes/YOURTHEME/css/cms.css /* — WIDGETS HIDE/SHOW — */ .usedWidgets .Widget { position: relative;} .usedWidgets .Widget .expand { position: absolute; top: 4px; right:...

Read more

Reserved functions from Controller and Model

29 September 0012

If you are struggling to find out why your page’s static $db fields aren’t working, it may be due to the field name or function names. You...

Read more

Check jQuery isn't currently animating

27 September 2012

Prevent ugly fadein-fadeout-fadein loops when you quickly hover and exit with this nifty code. It basically checks to make sure we’re not currently animating before it...

Read more

SilverStripe White Screen Of Death

27 September 2012

Debugging a SilverStripe website? Lose the impossible-to-debug ‘White Screen of Death’ with these codes: *_config.php* error_reporting(E_ALL); *.htaccess* php_value display_errors On

Read more

Disable zoom on mobile devices

29 September 0012

Getting snazzy with some resizable-layout websites? The last thing you want is for mobile devices to assume a zoom to show the full page, so drop...

Read more

Text field placeholder text cross-browser

27 September 2012

In a recent project I have struggled to deal with Microsoft’s “Brand New” Internet Explorer 9′s “support” for HTML5 and CSS3. IE9 support for HTML5 and...

Read more

Ubuntu Apache2 mod_rewrite not working

27 September 2012

So I’ve been delving further into getting a development server running, and have built a fully functioning webserver running with Ubuntu on an Oracle VirtualBox. Who...

Read more

Disable mouse interactivity with CSS

27 September 2012

Quickly and easily remove mouse interactivity of a HTML element with this nifty piece of CSS code. This is the same as ActionScript 3.0′s “mouseEnabled =...

Read more

Login to your front-end without creating a login page

27 September 2012

Login to your website’s frontend quickly and easily, without having to create a custom menu item by using this nifty URL. Super-handy for previewing pages and...

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 5 of 42

Let's work together