I cant seem to get this to work!
Heres the error:
Warning: filesize(): Stat failed for http://thehuzzah.com/snippetmaster/templates/main.html (errno=2 - No such file or directory) in c:\appserv\www\snippetmaster\includes\shared.lib.php on line 502
Warning: fread(): Length parameter must be greater than 0. in c:\appserv\www\snippetmaster\includes\shared.lib.php on line 502
SnippetMaster v1.0.1.1 ERROR
You may not modify or remove copyright information or link to SnippetMaster. You are violating the license if you remove anything.
It is possible to remove the links, but please contact me for permission.
http://www.snippetmaster.com.
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\appserv\www\snippetmaster\includes\shared.lib.php on line 157
And my config file is:
<?php
// This is the FULL path to the directory where the SnippetMaster program files
// are located.
// NOTE: If you put SnippetMaster in your "web root" directory, the $ROOT and
// $PATH settings will then be the same. DO NOT add a trailing slash.
$PATH = "http://thehuzzah.com/snippetmaster";
// This is the FULL path to the directory where your website files are
// located on your server (Your web root). DO NOT add a trailing slash.
$ROOT = "http://thehuzzah.com";
// Set to the full url to access the value you set for $ROOT
$PREVIEW = "http://thehuzzah.com/snippetmaster";
// Set to the full url to access the value you set for $PATH.
$URL = "http://thehuzzah.com";
// Specify a list of folders to ignore when browsing for SnippetMaster files.
$IGNORE = array("stats","images","includes","cgi-bin","Templates","click","polls","forums","newsletter","location1","location2");
// What kind of file types should be visible to the users when browsing for
// images using the WYSIWYG editor? (The extensions you specify MUST be
// for an image filetype or you will get javascript errors.)
$VALID_IMAGE_FILE_TYPES = array("gif","jpg","jpeg","png");
// What kind of file types should be visible to the users when browsing for
// links using the WYSIWYG editor?
$VALID_LINK_FILE_TYPES = array("html","htm","doc","pdf","xls","ppt","txt","jpg","gif","png");
// Set to 1 to use authentication, otherwise set to 0.
// NOTE: If you don't need password protection, set AUTH to 0.
$AUTH = 1;
$USER = "Scout";
$PASS = "demo";
// Set the email address to be used for error reporting.
// NOTE: (Must be set, even if $REPORT is set to 0)
$EMAIL = "jeffbongi@gmail.com";
// To turn off SnippetMaster errors from appearing in your email inbox,
// set to 0.
$REPORT = 1;
// What is the maximum size of an editable file in bytes?
$MAXSIZE = 100000000;
// Set to 1 to enabling printing of WYSIWYG debug messages, otherwise
// set to 0
$DEBUG = 0;
// You can specify an unlimited number of upload locations for your users. To
// add more locations, just follow the variable pattern. (Be sure to increment
// the array number for each new location.)
// PATH - The _full_ path to the destination directory. (DO NOT add a trailing
// slash.) This directory MUST already exist and have permissions of 777.
// NAME - The text users will see in the Upload window for this location.
// OVERWRITE - For this location, allow files that already exist to be
// overwritten? For yes, set to 1; for no, set to 0.
// If you don't want to use at least three locations, just delete the lines you
// don't need. (They are for example only, anyway..)
$UPLOAD_INFO[1][PATH] = "http://thehuzzah.com/images";
$UPLOAD_INFO[1][NAME] = "Images";
$UPLOAD_INFO[1][OVERWRITE] = 1;
$UPLOAD_INFO[2][PATH] = "http://thehuzzah.com/files";
$UPLOAD_INFO[2][NAME] = "Files";
$UPLOAD_INFO[2][OVERWRITE] = 0;
//$UPLOAD_INFO[3][PATH] = "/home/snippetm/public_html/location3";
//$UPLOAD_INFO[3][NAME] = "Upload Location #3";
//$UPLOAD_INFO[3][OVERWRITE] = 1;
// Do you want to limit the acceptable extensions of uploaded file types?
// To enable set to 1; to disable change to 0.
$LIMIT_UPLOAD_FILE_TYPES = 1;
// If enabled, specify a list of acceptable file types for the upload function.
$VALID_UPLOAD_FILE_TYPES = array("gif","jpg","jpeg","png");
// Do you want to set a size limit for uploaded files?
// To enable set to 1; to disable change to 0.
$UPLOAD_FILE_SIZE_LIMIT = 1;
// If enabled, specify the size limit (in bytes) for uploaded files.
$UPLOAD_FILE_MAX_SIZE = 200000;
?>