I confess that I am not experienced at designing or installing websites, but I do a decent job at routine maintenance and content updating. I would like to enable others to focus on the content updating, so I have great hopes for Snippetmaster. But I can't get it to work.
When I invoke the appropriate URL, I receive a "not authorized" message. The chgmod for all my installed files, including snippetmaster, is 755. Server Tech Support tells me I should be able to do anything with that.
When I invoke the URL to directly execute index.php, I get a long list of Snippetmaster warnings and notices which I don't understand.
Below are: 1) config.inc.php
2) Snippetmaster warnings and notices mentioned above
Can somebody tell me what I'm doing wrong? If so, I'll get the congregants who own this website to say a special
barucha for you.
NOTES:
a) The name of my root directory, listed in these documents as
"ph.d3nnnnnn", has been changed to protect the innocent, but it has that form.
b) Per Server Tech Support, SSI and PHP 4.x are supported.
c) I haven't changed anything I wasn't supposed to change.
DOCUMENT 1) config.inc.php
<?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 = "/home/snippetm/public_html/lite";
$PATH ="\home\users\web\b1874\ph.d3nnnnnnn\sml";
// 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 = "/home/snippetm/public_html";
$ROOT = "\home\users\web\b1874\ph.d3nnnnnnn";
// Set to the full url to access the value you set for $ROOT
$PREVIEW = "http://www.tsholom.net";
// Set to the full url to access the value you set for $PATH.
$URL = "http://www.tsholom.net/sml";
// Specify a list of folders to ignore when browsing for SnippetMaster files.
$IGNORE = array("data","images","framesets","cgi-bin","cgi-pub","old_site");
// 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 = 0;
$USER = "demo";
$PASS = "demo";
// Set the email address to be used for error reporting.
// NOTE: (Must be set, even if $REPORT is set to 0)
$EMAIL = "";
// 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 = 1000000;
// Set to 1 to enabling printing of WYSIWYG debug messages, otherwise
// set to 0
$DEBUG = 1;
// 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] = "\home\users\web\b1874\ph.d3nnnnnnn\Webmaster";
$UPLOAD_INFO[1][NAME] = "webmaster Upload Location";
$UPLOAD_INFO[1][OVERWRITE] = 1;
//$UPLOAD_INFO[2][PATH] = "/home/snippetm/public_html/location2";
//$UPLOAD_INFO[2][NAME] = "Upload Location #2";
//$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 = 0;
// 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 = 2000000;
?>
DOCUMENT 2) Snippetmaster warnings and notices resulting from invoking WWW.tsholom.net/sml/index.php
Notice: Undefined variable: _SESSION in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 55
Notice: Use of undefined constant PATH - assumed 'PATH' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\config.inc.php on line 65
Notice: Use of undefined constant NAME - assumed 'NAME' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\config.inc.php on line 66
Notice: Use of undefined constant OVERWRITE - assumed 'OVERWRITE' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\config.inc.php on line 67
Notice: Use of undefined constant FOLDER1 - assumed 'FOLDER1' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 92
Notice: Use of undefined constant FOLDER2 - assumed 'FOLDER2' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 93
Notice: Use of undefined constant VERSION - assumed 'VERSION' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 94
Notice: Use of undefined constant ROOT - assumed 'ROOT' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 75
Notice: Use of undefined constant PATH - assumed 'PATH' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 76
Notice: Use of undefined constant PREVIEW - assumed 'PREVIEW' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 79
Notice: Use of undefined constant URL - assumed 'URL' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 80
Notice: Use of undefined constant DIR_IGNORE - assumed 'DIR_IGNORE' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 83
Notice: Use of undefined constant AUTH - assumed 'AUTH' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 86
Notice: Use of undefined constant USER - assumed 'USER' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 87
Notice: Use of undefined constant PASS - assumed 'PASS' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 88
Notice: Use of undefined constant META - assumed 'META' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 91
Notice: Use of undefined constant TITLE - assumed 'TITLE' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 94
Notice: Use of undefined constant CONVERT - assumed 'CONVERT' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 97
Notice: Use of undefined constant HTML - assumed 'HTML' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 101
Notice: Use of undefined constant EMAIL - assumed 'EMAIL' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 104
Notice: Use of undefined constant REPORT - assumed 'REPORT' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\snippetmaster.inc.php on line 107
Notice: Undefined variable: action in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 62
Notice: Undefined variable: action in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 69
Notice: Undefined variable: session in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 80
Notice: Undefined variable: action in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 81
Notice: Undefined variable: action in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\index.php on line 85
Warning: fopen(\home\users\web\b1874\ph.d3nnnnnnn\sml/templates/main.html): failed to open stream: No such file or directory in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 501
Warning: filesize(): Stat failed for \home\users\web\b1874\ph.d3nnnnnnn\sml/templates/main.html (errno=2 - No such file or directory) in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 502
Warning: fread(): supplied argument is not a valid stream resource in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 502
Warning: fclose(): supplied argument is not a valid stream resource in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 503
Notice: Use of undefined constant year - assumed 'year' in \\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml\includes\shared.lib.php on line 104
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.