osCommerce required files Error “Fatal error: require() [function.require]: Failed opening required ‘includes/functions/compatibility.php’” Solved

 We encountered the following error on of our osCommerce sites, Fatal error: require() [function.require]: Failed opening required ‘includes/functions/compatibility.php’ the problem was that the site’s web_root directory was not in php’s include path. To quickly fix the problem without having to mess with php.ini, or server settings we included the following line of code: set_include_path(get_include_path() . PATH_SEPARATOR . $absolute_path_to_web_root); as the first directive in...

read more

Static FBML problem with MouseOver and MouseOut Events

 The problem here is easily illustrated by the following FBML code: <script> function onEvent(e){ var dialog = new Dialog().showMessage("Test",e); } </script> <div onmouseover="onEvent('Register Mouseover- Doesn't Work')">Register Mouseover</div> <div onmouseover="onEvent('Register Mouseout- Doesn't Work')">Register Mouseout</div> <div onclick="onEvent('Register Mouseover- This works')">Register Click</div> The reason why the mouseover and...

read more

ShowTime WordPress Plugin Error Fix

 With php error reporting turned on, the ShowTime Slideshow Plugin was outputting php error notices on the admin page, which resulted in the inability to save the options, as the script was redirecting to a url with an error string on save. To fix update the following /wp-content/plugins/showtime-slideshow/includes/1col1sb.php LINES 5-14 if( isset($_REQUEST['plugin_options_update']) ) { // Update the plugin's options. $this-&gt;_UpdatePluginOptions( $_REQUEST ); } else if(...

read more