MySQL server has gone away(Checking for product pagename) sql: SELECT id FROM products WHERE pagename = 'white-dual-heads-iphone-ipod-splitter-cable-charge-up-to-two-apple-devices-iphone-ipod-nano-at-once-from-a-single-usb-port-work-with-homewall-adapter-and-car-adapter-charging-only-not-for-ipadipad2-not-for-pc' AND hidden = 0 LIMIT 1
Fatal error: Call to a member function getSingleResult() on boolean in /home/ewireles/public_html/library/pagenames.php on line 55