SnippetMaster Support Forums
Return to main website
 
February 18, 2018, 09:46:43 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 18, 2018, 09:46:43 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Main.html not found « previous next »
Pages: [1] Print
Author Topic: Main.html not found  (Read 5069 times)
Scout

Posts: 3


[-] Main.html not found
« on: March 03, 2006, 09:58:36 PM »

I cant seem to get this to work!
Heres the error:
Code:
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:
Code:
<?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;

?>
« Last Edit: March 03, 2006, 10:22:27 PM by Scout » Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Main.html not found
« Reply #1 on: March 03, 2006, 11:19:26 PM »

I just replied to your email.  You need to use the following values in your config.inc.php file:

  $PATH = "c:/appserv/www/snippetmaster";
  $ROOT = "c:/appserv/www";
 
  $UPLOAD_INFO[1][PATH] = "c:/appserv/www/images";
  $UPLOAD_INFO[2][PATH] = "c:/appserv/www/files";

Let me know how that goes for you.

 Very Happy
Report to moderator   Logged
Scout

Posts: 3


[-] Re: Main.html not found
« Reply #2 on: March 03, 2006, 11:44:51 PM »

Yeah I got it and thanks!  Laughing
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Main.html not found
« Reply #3 on: March 03, 2006, 11:46:31 PM »

Excellent!

If you get stuck with anything, just let me know.

 Smile
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Main.html not found « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!