SnippetMaster Support Forums
Return to main website
 
March 08, 2008, 08:33:06 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?
March 08, 2008, 08:33:06 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: WILL NOT SAVE « previous next »
Pages: [1] Print
Author Topic: WILL NOT SAVE  (Read 558 times)
dz

Posts: 6


[-] WILL NOT SAVE
« on: August 22, 2005, 05:58:17 PM »

I would love to buy the Pro version of this software but the lite version WILL NOT SAVE. Is this fixed in Pro?

Permissions on the pages with Snippet code are permissioned to 777.

Here's the code, with my domain and passwords changed:

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 "/home/virtual/mywebsite.com/var/www/html/clients/ride/ridertest/editor";

// 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/virtual/mywebsite.com/var/www/html/clients/ride/ridertest";

// Set to the full url to access the value you set for $ROOT
$PREVIEW "http://www.mywebsite.com/clients/ride/ridertest";

// Set to the full url to access the value you set for $PATH. 
$URL "http://www.mywebsite.com/clients/ride/ridertest/editor";

// Specify a list of folders to ignore when browsing for SnippetMaster files.
$IGNORE = array("assets","preowned");

// 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 "username";
$PASS "password";

// Set the email address to be used for error reporting. 
// NOTE: (Must be set, even if $REPORT is set to 0)
$EMAIL "creditl@mywebsite.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 1000000;

// 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..)
// START HERE WITH LIVE PATHS
// $UPLOAD_INFO[1][PATH] = "/home/snippetm/public_html/location1";
// $UPLOAD_INFO[1][NAME] = "Upload Location #1";
// $UPLOAD_INFO[1][OVERWRITE] = 0;
// $UPLOAD_INFO[2][PATH] = "/home/snippetm/public_html/location2";
// $UPLOAD_INFO[2][NAME] = "Upload Location #2";
// $UPLOAD_INFO[2][OVERWRITE] = 0;
// LIVE PATHS ENDS
//$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;

?>
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 2183

SnippetMaster Author


WWW
[-] Re: WILL NOT SAVE
« Reply #1 on: August 23, 2005, 12:21:01 AM »

1) Can you paste the output from the /includes/phpinfo.php file?

2) What error message is given when you try to save?

Thanks!
Report to moderator   Logged
dz

Posts: 6


[-] Re: WILL NOT SAVE
« Reply #2 on: August 23, 2005, 09:44:20 AM »

1) Can you paste the output from the /includes/phpinfo.php file?

2) What error message is given when you try to save?

Thanks!

I'm not sure what you mean by output from the /includes/phpinfo.php file. It's not showing an error message. When you save it says "save successful!" but the edits do not appear in the supposedly changed file.
Report to moderator   Logged
dz

Posts: 6


[-] Re: WILL NOT SAVE
« Reply #3 on: August 23, 2005, 12:03:32 PM »

This software is so easy to install and use, if I can just fix the save problem Razz
Report to moderator   Logged
dz

Posts: 6


[-] Re: WILL NOT SAVE
« Reply #4 on: August 23, 2005, 12:16:14 PM »

I figured out what you meant by the phpinfo.php file. I sent it to you by email.

Thanks,

DZ
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: WILL NOT SAVE « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!