All the sudden my static page plug-in is busted? When I hit a static page: /index.php?page=somepage I receive the following:
1) { $error = 1; } if (!($error)) { $result = DB_query("SELECT * FROM staticpage WHERE sp_id = '$page'"

; $A = DB_fetchArray($result); $_CONF["pagetitle"] = stripslashes($A['sp_title']); if ($A['sp_format'] == 'allblocks' OR $A["sp_format"] == 'leftblocks') { $retval .= COM_siteHeader('menu'); } else { $retval .= COM_siteHeader('none'); } $retval .= stripslashes($A['sp_content']); $curtime = COM_getUserDateTimeFormat($A['sp_date']); $retval .= '
'; if (SEC_hasRights('staticpages.edit,staticpages.delete','OR')) { $retval .= ""; $retval .= $LANG_STATIC[edit] . "
"; } $retval .= " \n"; if ($A['sp_format'] == 'allblocks' && $U['noboxes'] != 1) { $retval .= '' . LB; $retval .= COM_showBlocks('right',$topic); $retval .= '
' . LB; } else { $retval .= ' '; } $retval .= COM_siteFooter(); // increment hit counter for page...is SQL compliant? DB_query("UPDATE staticpage SET sp_hits = sp_hits + 1 WHERE sp_id = '$page'"

; } else { $retval .= COM_startBlock('error'); $retval .= 'page does not exist'; $retval .= COM_endBlock(); } echo $retval; ?>
I checked the DB, and the table looks fine. Any ideas on what's going on here?
Apparently someone, most likely me gzipped my /staticpages dir.