|
Title: Installation Problems - Lite Post by: RonG on January 25, 2005, 07:17:33 PM
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 = "webmaster@tsholom.net"; // 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. Title: Re: Installation Problems - Lite Post by: Dwight on January 25, 2005, 08:42:05 PM
Quote from: RonG
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. Well, yes and no Ron. You'll need to make your HTML files, or text files, depending on where the snippets are, ChMod to 666. Nothing biblical there, just the setting that makes them writable.
Quote from: RonG
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. Not exactly sure what a barucha is, but I can use all the help I can get.. :D Let's take a look...
Quote from: RonG
// 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"; I'm going to bet your trouble is in the root and path.. but I'm not sure I can put my finger on it.. try doing the chmod 666 on the editable files, and see if the errors change. I'll keep thinking and post anything new that occurs to me in the middle of the night.. :) It just occurred to me... all my path and root statements use forward slashes.. you are backslashed.. you think that could be the problem? Try replacing all your backslashes with forwards.. I've seen sillier things work.. Dwight Title: Installation Problems - Lite Post by: admin on January 25, 2005, 09:42:17 PM
Hello, Two things. Ok, actually three. 1) You appear to be using Windows, and Snippetmaster is not "officially" tested on Windows. (that being said.. it does seem to work for most users...) 2) Try using these values: $PATH ="\\frigga\home\users\web\b1874\ph.d3nnnnnnn\sml"; $ROOT = "\\frigga\home\users\web\b1874\ph.d3nnnnnnn"; 3) Can you verify that your php configuration supports the use of "sessions"? In other words, ask your host if they have enabled the PHP "sessions" ability. It's highly unusual NOT to have this enabled, but sometimes it happens, and this is the type of error that might occur. Let me know... :) Title: Installation Problems - Lite Post by: RonG on January 26, 2005, 08:07:47 AM
Thank you very much for your prompt replies. I haven't tried any of them out yet, but will soon and report on results. A barucha is a blessing, in Hebrew. Maybe you would have recognized it had I typed it in a Hebrew font. :lol: (Then again, maybe not.) I find the subject of slash slants to be very confusing. :roll: The prevailing slant illustrated in server site documentation is the model I followed, but I'll certainly try Dwight's suggestion. How do you go about modifying chmod? My file transfer program lets me see the chmod values of my files at the server, but doesn't let me change them. The point about SESSIONS is very interesting. Server site documentation mentions that scripts invoking PHP sessions should be initiated with the following 2 lines of code: session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp"); session_start(); After plugging in appropriate values for <bucket> and <your_homedir> and establishing "tmp" as a subdirectory to existing cgi-bin, I inserted those lines at the beginning of index.PHP. I got the same results as reported above, except that there was an additional set of warnings at the top of the resulting list of Snippetmaster error reports. Perhaps I am inserting these lines in the wrong file? How do you identify the kinds of scripts which require them, anyway? Title: Windows Server Post by: Dwight on January 26, 2005, 09:48:22 AM
Hi Ron, I completely missed that you were using a Windows server... so I'm out of my depth.. forget everything I said, and listen to Henri... I'm sure he can get you running... If not, talk to me off line and I'll get you some Unix hosting at a discounted rate on a server I know will work. Title: Re: Installation Problems - Lite Post by: admin on January 26, 2005, 12:23:11 PM
Quote from: RonG
How do you identify the kinds of scripts which require them, anyway?
The current version of SnippetMaster doesn't actually use php Sessions. However, I have found that if the php configuration doesn't have them enabled, then there is always "something else" that is disabled or likely misconfigured. :)(The latest version of SnippetMaster, due out in a few weeks, DOES use sessions...) Anyway, it might be easier if I just take a look at your installation myself using FTP. Is it possible you can email me your ftp un/pw and hostname.. and I'll take a look? Send it to henri @ www.snippetmaster.com. Cheers! Title: Installation Problems - Lite Post by: RonG on January 26, 2005, 04:45:35 PM
Dwight, don't give up. Actually, I think it's a Unix server. Changing the root/path specifications as Dwight and Henri suggested didn't help. It seems that the system is as confused as I am about slash slants and recognizes both inclinations. It also doesn't seem to care about Frigga (whoever she is). But those proposed faults with the specifications aren't why I'm not up and running. I am in touch with tech support for my FTP client about the CHMOD facility: supposedly, the client supports it, so why doesn't it work? I have sent the information Henri requested to him via email. Stay tuned. Title: Re: Installation Problems - Lite Post by: Dwight on January 26, 2005, 05:25:10 PM
Quote from: RonG
Dwight, don't give up. Actually, I think it's a Unix server. Changing the root/path specifications as Dwight and Henri suggested didn't help. It seems that the system is as confused as I am about slash slants and recognizes both inclinations. It also doesn't seem to care about Frigga (whoever she is). But those proposed faults with the specifications aren't why I'm not up and running. I am in touch with tech support for my FTP client about the CHMOD facility: supposedly, the client supports it, so why doesn't it work? I have sent the information Henri requested to him via email. Stay tuned. Well, in that case, what FTP client are you using? Most of them will let you chmod directly from there. Try selecting the file on the server, then right clicking. Look for a chmod choice, or perhaps permissions or properties, depending on the program. Title: Re: Installation Problems - Lite Post by: admin on January 26, 2005, 05:36:20 PM
Quote from: RonG
Actually, I think it's a Unix server. Nope, it's 100% most definately a windows web server. :) I can tell because the phpinfo.php output (php configuration for your server) shows this:
Quote
System Windows NT IIS08 5.2 build 3790
It's a windows server running IIS web server software. I'm in the middle of installing the software for you, so I should know pretty soon if this is going to work or not.. shouldn't be much longer. Title: Re: Installation Problems - Lite Post by: Dwight on January 26, 2005, 05:39:33 PM
Quote from: admin
Nope, it's 100% most definately a windows web server. :) I can tell because the phpinfo.php output (php configuration for your server) shows this: System Windows NT IIS08 5.2 build 3790 It's a windows server running IIS web server software. There ya go... Leave it to the experts.. fading away back into the woodwork.... Title: Installation Problems - Lite Post by: RonG on January 26, 2005, 05:47:47 PM
Dwight- My FTP client is Visicom Media's AceFTP3 Pro. And you're correct: you right-click on the target folder, select Properties, and eventually you get to a CHMOD dialogue. Trouble is, whatever change you make doesn't stick. Today I found a switch that I guess you're supposed to set within a server description dialogue in the FTP client; so I set the option, went back to the server, tried again, and nothing different happened. So I emailed tech support at Visicom. Hope to hear from them before the next snowstorm, which is likely to be even worse at their digs in Canada than here in Joizy. Title: Installation Problems - Lite Post by: admin on January 26, 2005, 05:47:47 PM
OK, here's the status. I think there's something screwy with the PHP configuration for your web server. I installed the PRO version for you, and I'm still getting this error/warning:
Quote
Notice: Undefined variable: _SESSION in \\frigga\home\users\web\b1874\ph.d30053130\sml\index.php on line 55
The contents of line #55 is:
Code:
if ($_SESSION) { extract( $_SESSION, EXTR_SKIP); }
This is pretty generic PHP code, and basically is used to make the program work if "register_globals" setting is off. The $_SESSION is a generic php variable that should not cause a problem. There are similar warnings and errors.. and it's almost as if the php configuration for your server expects all php variables to be pre-defined. Such "predefining" of variables is actually the "proper" way to do programming, but it is rarely done, or required. I would say that 95% of all php programs don't do this.. including SnippetMaster. :) So... my only suggestion is to hand this over to your web host and ask them to at least get line #55 working. That's pretty generic php coding, and if that doesn't work, then you'll find you won't be able to run just about any php program. Your alternative is to find another web host provider that has more of a "standad" php configuration on their server. I can recommend a few good hosts, if this is something you'd like to pursue. I wish I had better news for you. Sorry about this.. I tried to get it working, but I'm pretty confident the problem is with the php configuration itself. Cheers! :D Title: Installation Problems - Lite Post by: admin on January 26, 2005, 05:52:00 PM
Quote from: RonG
Dwight- My FTP client is Visicom Media's AceFTP3 Pro. And you're correct: you right-click on the target folder, select Properties, and eventually you get to a CHMOD dialogue. Trouble is, whatever change you make doesn't stick. Today I found a switch that I guess you're supposed to set within a server description dialogue in the FTP client; so I set the option, went back to the server, tried again, and nothing different happened. So I emailed tech support at Visicom. Hope to hear from them before the next snowstorm, which is likely to be even worse at their digs in Canada than here in Joizy. They may not have their server configured to allow the "chmod" function to work when done via ftp. This is very unusual, but I've seen it before.. especially on a windows server. (They're often very difficult to configure, as the line between good security and "bad" security is pretty close for windows...) If you can't change your file permissions using ftp chmod, then this is a sure sign that either your host doesn't know what their doing, or they are unwilling to set their server configuration in such a way as to make it "easy" for you, the customer, to use your account. It IS possible to set up a windows server to still be very secure AND allow customers to use the chmod function in ftp. But it takes skill and knowledge. Not every web host has both of those. :? Title: Installation Problems - Lite Post by: RonG on January 27, 2005, 05:24:19 PM
Here's an update. I read aloud to my host's tech support team Henri's email about his examination of my installation of Snippetmeaster (leaving out some of the language :oops: describing the errors of the host techies' ways). After a hurried consultation among themselves, they decided that the real problem was the path specification, after all: it should contain backslashes, start with "frigga," and be prefaced with a single backslash, not two. They also had some excuse about why my chgmods weren't taking that didn't make much sense. Toward the end of our discussion, as I was mentally formulating a question about whether I'd be better off on their Unix platform, one of them said, "You know, you'd be better off on our Unix platform. PHP runs a lot better there." Anyway, I ran with the modifications they suggested, and nothing changed. So, I'm giving up on the Microsoft environment and will attempt to acquire the authority to move over to Unix. This will take some time, if it happens at all. Thank you very much for the time and trouble you've taken to try and help me. I hope to get back on track with Snippetmaster in a less hostile environment in a few days. Title: Installation Problems - Lite Post by: admin on January 27, 2005, 05:28:11 PM
Hey, no worries. I know dealing with hosting companies can be a very frustrating experience. :wink: If you're looking for good unix web hosting, let me know and I'll give a few recommendations. :D I do think there is/was more to this problem then just switching from Windows to unix, as I do have many users of snippetmaster who run the software on windows without any problems. I'm still convinced the problem is with the php configuration on their windows server. They are right, however, that getting php to work "properly" (and still be secure) on windows is not an easy task. Anyway, let me know if you get stuck with anything. Cheers! Title: Installation Problems - Lite Post by: RonG on January 28, 2005, 12:52:09 PM
I have some partial solutions to the Windows environment installation problems recited in earlier posts, but there's also a new one: Parse error: parse error in \\frigga\home\users\web\b1874\ph.d30053130\sml\includes\config.inc.php on line 14 Line 14 is the ROOT specification, which reads as follows: $ROOT = "frigga\home\users\web\b1874\ph.d30053130\content"; I've tried it with one leading \ and with two \\, with the same result plus errors pointing to an "unreadable character (\)". I've tried it with a trailing slash, with the same Parse error result. I've tried it without the lowest level directory, with the same result. (The "content" folder is where the files that I wish to be edited by users are located (including the sml_test.html file that contains snippet tags); earlier, my $ROOT spec stopped at "ph.d~", where the content folder itself appears. However, this change hasn't made any difference. ) I'm offering a deal: you tell me what you think the parse error is all about, and I'll tell you how the dozens of errors cited earlier were cleared. You'll laugh :lol: Title: Installation Problems - Lite Post by: admin on January 28, 2005, 02:20:40 PM
:shock: A parse error means that the php system is not able to "understand" the line. However, it shouldn't matter whether you have slashes or anything else between the quotes. That doesn't matter. (Well, it does.. but not right now. It matters when we actually try to USE the path value..) For now, the parse error is saying that php can't actually "read" the value that needs to be assigned to the $ROOT variable. Can you send me a copy of your config.inc.php file and I'll take a look and see? Thanks! (henri @ www.snippetmaster.com) Title: Installation Problems - Lite Post by: RonG on January 28, 2005, 04:47:03 PM
Here's the configuration file. You will note that there is a backslash at the end of the PATH specification. While this is contrary to your commented instructions, it is what made almost all the myriad other errors go away! The other modification that helped was, commenting out the SESSION variable in index.php. Are you laughing? <?php // License Key. A unique license key is required for each hostname (domain name) // for which you want to use SnippetMaster PRO. To obtain a license key, please // purchase the program. Volume discounts are available. $LICENSE_KEY = "47bae9cdebb143bc8b880883c7e8b65f"; // This is the FULL path to the directory where the SnippetMaster program files // are located. DO NOT add a trailing slash. $PATH = "\frigga\home\users\web\b1874\ph.d30053130\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 = "frigga\home\users\web\b1874\ph.d30053130\content"; // Set to the full url to access the value you set for $ROOT $PREVIEW = "http://www.tsholom.net/content"; // Set to the full url to access the value you set for $PATH. $URL = "http://www.tsholom.net/sml"; // Set the default language. The language you specify here MUST have a // corresponding php language file in the languages folder. // (ie: $PATH/languages/english.php) File names are CASE SENSITIVE. $DEFAULT_LANGUAGE = "English"; // 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 = "WEBMASTER@TSHOLOM.NET"; // 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 = 10000000; // 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] = "\frigga\home\users\web\b1874\ph.d30053130\sml\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; // Enable demo mode? If enabled, the program will NOT allow files // to be saved. This is usefull for an installation where you want to // demonstrate the programs functionality without also giving the ability to // save any changes to your demo file(s). // To enable set to 1; to disable change to 0. $DEMO_MODE = 1; ?> Title: Installation Problems - Lite Post by: admin on January 28, 2005, 04:52:20 PM
Hi Ron,
Quote
The other modification that helped was, commenting out the SESSION variable in index.php. Are you laughing?
Very strange! There is definately something wrong with the php configuration on your server, if it doesn't work with the $_SESSION variable. It's one thing to make the error go away, but I fear the problem still exists. :? The config file looks ok, and the slash thing is very strange. Is it possible you can give me ftp access to your account and maybe I'll log in and try to get this going? I'm still pretty unsure it's going to work, for the same reasons, but it's worth trying again to see what might be wrong. It could be that php is just so confused that it's reporting something as an error, when in reality the REAL error might be something else. The php engine is just software, and sometimes it gets extremely confused and spits out the wrong error message... Let me know. Title: Installation Problems - Lite Post by: admin on January 28, 2005, 07:56:16 PM
OK, I'm looking at this now... The line that was causing the problem was this one:
Quote
$PATH = "\frigga\home\users\web\b1874\ph.d30053130\sml\";
Basically, the last forward slash was making the end quote appear as a "literal" to the php engine. So the php engine didn't know when to stop the part to include into the $PATH variable. ie: \" <-- This means that we want to display a quote. " <-- this means we are ending the value for that variable. I hope that makes sense... OK.. I'm going to keep testing now. :) Title: Installation Problems - Lite Post by: admin on January 28, 2005, 08:03:39 PM
OK... I don't think this is going to work.. I fixed the config.inc.php file so that there are no problems with the source code.. But now we're back to the original problems of php not being configured correctly. :( Title: Installation Problems - Lite Post by: RonG on January 29, 2005, 11:58:01 AM
Okay, my host has a problem. But maybe we can help it address its problem with a little analysis of the errors that we are seeing. Following is my inexpert attempt at it: Referring to the error messages that are output from the execution of index.PHP, which are essentially the same ones listed in my initial post, I find that they fall into the following four categories: 1) NOTICES advising me that certain variables referenced in index.PHP are not defined there, but are cross-referenced in config.inc.php or shared.lib.php. Isn't that what is supposed to happen? Such notices should certainly not be show-stoppers. 2) WARNINGS advising me of problems in lines 533 and 670 of shared.lib.php. These lines evidently have something to do with the identification of the target snippet in the file to be edited. Mightn't such warnings be a consequence of inability to access the target file, perhaps because access rights to it are overly restricted? (I found out yesterday that I must put in a change request through host tech support in order to modify file access permissions; I haven't done that yet.) 3) SCRIPT ERROR SnippetMaster v1.2.6 : SnippetMaster was unable to continue due to the following error: Sorry, but the License Key you supplied is not for the RESELLER version of SnippetMaster. You may NOT modify or remove the 'Powered by SnippetMaster PRO' links or copyright information. You are violating your license agreement if you modify or remove this text from the program. I promise you, I didn't touch a thing that I wasn't supposed to. 4) NOTICE of the undefined variable _SESSION without any cross-reference. You've explained to me that this wouldn't be a show-stopper if the host installation of PHP weren't screwed up. Host tech support had advised me to comment the variable out; that eliminated this particular notice. But certain other problems appeared after you changed the PATH and ROOT specifications that disappeared when I un-commented the variable. And now the original problem is back. So this is clearly a problem with the host installation of php. But the other errors seem not to point to that type of problem, provided proper file permissions can be established. Do you agree? If so, given that the CHGMOD of all files is now set at the default value of 755, the changes that I should request are: Where ~ = \\frigga\home\users\web\b1874\ph.d30053130 1) Modify ~\content\sml_test.HTML {which contains the text to be edited and the appropriate snippet tags} to CHMOD 666. 2) Modify ~\sml\webmaster {the 'location' upload folder} to CHMOD 777. Right? Do any other files (especially Snippetmaster files) need to have their access rights upgraded from CHGMOD 755? Title: Installation Problems - Lite Post by: admin on January 29, 2005, 12:22:59 PM
1) None of these warnings, errors, etc.. have anything to do with file permisssions. 2) It isn't as easy as just classifying the different errors/warnings. Basically, you can only really take the first few, because then those warnings/errors are responsible for the other warnings/errors, etc.. and it goes down the chain like that. The problem here is that the php configuration on your server is "not normal". Without having access to the php.ini file (the main configuration file for php on the server), I can't know what might be the problem. However, the fact that your php configuration doesn't recognize the $_SESSION variable, and complains about the various variables in the config.inc.php file.... tells me that there is something very seriously wrong. I'm afraid there really isn't much I can do at this point, unless your host is willing to take a look at their php configuration. My suggestion is to find a different host, that has more "normal" hosting that is compatible with basic php usage. Sorry! :( Title: Installation Problems - Lite Post by: RonG on January 31, 2005, 09:06:12 AM
You say their configuration of PHP is non-standard, and they say it's yours that is non-standard; but before we call the whole thing off, would you please scan their php information, listed below, for something that pops out at you that they would need to change to accommodate Snippetmaster? PHP Version 4.3.10 System Windows NT IIS01 5.2 build 3790 Build Date Dec 14 2004 17:46:48 Server API CGI/FastCGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS\php.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20021010 Debug Build no Thread Safety enabled Registered PHP Streams php, http, ftp, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies -------------------------------------------------------------------------------- PHP Credits -------------------------------------------------------------------------------- Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen On On always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_classes no value no value disable_functions no value no value display_errors On On display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2047 2047 expose_php On On extension_dir ./ ./ file_uploads On On gpc_order GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB highlight.html #000000 #000000 highlight.keyword #007700 #007700 highlight.string #DD0000 #DD0000 html_errors On On ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .;c:\php4\pear .;c:\php4\pear log_errors Off Off log_errors_max_len 1024 1024 magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 max_input_time 60 60 open_basedir no value no value output_buffering no value no value output_handler no value no value post_max_size 8M 8M precision 12 12 register_argc_argv On On register_globals Off Off report_memleaks On On safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from me@localhost.com me@localhost.com sendmail_path no value no value serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir C:\PHP\uploadtemp C:\PHP\uploadtemp user_dir no value no value variables_order EGPCS EGPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance On On bcmath BCMath support enabled calendar Calendar support enabled com Directive Local Value Master Value com.allow_dcom Off Off com.autoregister_casesensitive On On com.autoregister_typelib Off Off com.autoregister_verbose Off Off com.typelib_file no value no value ctype ctype functions enabled ftp FTP support enabled mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.49 Directive Local Value Master Value mysql.allow_persistent On On mysql.connect_timeout 60 60 mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited mysql.trace_mode Off Off odbc ODBC Support enabled Active Persistent Links 0 Active Links 0 ODBC library Win32 Directive Local Value Master Value odbc.allow_persistent On On odbc.check_persistent On On odbc.default_db no value no value odbc.default_pw no value no value odbc.default_user no value no value odbc.defaultbinmode return as is return as is odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes odbc.max_links Unlimited Unlimited odbc.max_persistent Unlimited Unlimited overload User-Space Object Overloading Support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.5 01-December-2003 session Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 100 100 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path C:\PHP\sessiondata C:\PHP\sessiondata session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid Off Off standard Regex Library Bundled library enabled Dynamic Library Support enabled Internal Sendmail Support for Windows enabled Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 auto_detect_line_endings 0 0 default_socket_timeout 60 60 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset= user_agent no value no value tokenizer Tokenizer Support enabled wddx WDDX Support enabled WDDX Session Serializer enabled xml XML Support active XML Namespace Support active EXPAT Version 1.95.6 zlib ZLib Support enabled Compiled Version 1.1.4 Linked Version 1.1.4 Directive Local Value Master Value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Additional Modules Module Name Environment Variable Value ALLUSERSPROFILE C:\Documents and Settings\All Users APP_POOL_ID DefaultAppPool ClusterLog C:\WINDOWS\Cluster\cluster.log CommonProgramFiles C:\Program Files\Common Files COMPUTERNAME IIS01 ComSpec C:\WINDOWS\system32\cmd.exe DellAgentPath C:\Program Files\Dell\OpenManage\OMSA\bin lib C:\Program Files\SQLXML 3.0\bin\ NUMBER_OF_PROCESSORS 1 OMPATH C:\Program Files\Dell\OpenManage\oma\bin;C:\Program Files\Dell\OpenManage\LU\bin;C:\Program Files\Dell\OpenManage\oldiags\bin OS Windows_NT Path C:\Python23\.;C:\Program Files\Windows Resource Kits\Tools\;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Dell\OpenManage\oma\bin;C:\Program Files\Dell\OpenManage\LU\bin;C:\Program Files\Dell\OpenManage\oldiags\bin;C:\Program Files\Dell\OpenManage\OMSA\bin;C:\Program Files\Dell\OpenManage\Array Manager;C:\Program Files\VShell\Bin;C:\PROGRA~1\ULTRAE~1;C:\Program Files\SecureCRT\ PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.pyc;.pyo;.pyw;.py;.pys PROCESSOR_ARCHITECTURE x86 PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 9, GenuineIntel PROCESSOR_LEVEL 15 PROCESSOR_REVISION 0209 ProgramFiles C:\Program Files SystemDrive C: SystemRoot C:\WINDOWS TEMP C:\WINDOWS\TEMP TMP C:\WINDOWS\TEMP USERPROFILE C:\Documents and Settings\LocalService windir C:\WINDOWS HTTP_CONNECTION Keep-Alive HTTP_CONTENT_LENGTH 0 HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE en-us HTTP_HOST www.tsholom.net HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) APP_POOL_ID DefaultAppPool AUTH_TYPE no value AUTH_PASSWORD no value AUTH_USER no value CERT_COOKIE no value CERT_FLAGS no value CERT_ISSUER no value CERT_SERIALNUMBER no value CERT_SUBJECT no value CONTENT_LENGTH 0 CONTENT_TYPE no value GATEWAY_INTERFACE CGI/1.1 HTTPS off HTTPS_KEYSIZE no value HTTPS_SECRETKEYSIZE no value HTTPS_SERVER_ISSUER no value HTTPS_SERVER_SUBJECT no value INSTANCE_ID 529953345 LOCAL_ADDR 10.4.1.1 LOGON_USER no value PATH_INFO /sml/phpinfo.php PATH_TRANSLATED \\frigga\home\users\web\b1874\ph.d30053130\sml\phpinfo.php QUERY_STRING no value REMOTE_ADDR 69.115.140.60 REMOTE_HOST 69.115.140.60 REMOTE_USER no value REQUEST_METHOD GET SCRIPT_NAME /sml/phpinfo.php SERVER_NAME www.tsholom.net SERVER_PORT 80 SERVER_PORT_SECURE 0 SERVER_PROTOCOL HTTP/1.1 SERVER_SOFTWARE Microsoft-IIS/6.0 UNMAPPED_REMOTE_USER no value PHP Variables Variable Value _SERVER["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users _SERVER["APP_POOL_ID"] DefaultAppPool _SERVER["ClusterLog"] C:\\WINDOWS\\Cluster\\cluster.log _SERVER["CommonProgramFiles"] C:\\Program Files\\Common Files _SERVER["COMPUTERNAME"] IIS01 _SERVER["ComSpec"] C:\\WINDOWS\\system32\\cmd.exe _SERVER["DellAgentPath"] C:\\Program Files\\Dell\\OpenManage\\OMSA\\bin _SERVER["lib"] C:\\Program Files\\SQLXML 3.0\\bin\\ _SERVER["NUMBER_OF_PROCESSORS"] 1 _SERVER["OMPATH"] C:\\Program Files\\Dell\\OpenManage\\oma\\bin;C:\\Program Files\\Dell\\OpenManage\\LU\\bin;C:\\Program Files\\Dell\\OpenManage\\oldiags\\bin _SERVER["OS"] Windows_NT _SERVER["Path"] C:\\Python23\\.;C:\\Program Files\\Windows Resource Kits\\Tools\\;C:\\Perl\\bin\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Dell\\OpenManage\\oma\\bin;C:\\Program Files\\Dell\\OpenManage\\LU\\bin;C:\\Program Files\\Dell\\OpenManage\\oldiags\\bin;C:\\Program Files\\Dell\\OpenManage\\OMSA\\bin;C:\\Program Files\\Dell\\OpenManage\\Array Manager;C:\\Program Files\\VShell\\Bin;C:\\PROGRA~1\\ULTRAE~1;C:\\Program Files\\SecureCRT\\ _SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.pyc;.pyo;.pyw;.py;.pys _SERVER["PROCESSOR_ARCHITECTURE"] x86 _SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel _SERVER["PROCESSOR_LEVEL"] 15 _SERVER["PROCESSOR_REVISION"] 0209 _SERVER["ProgramFiles"] C:\\Program Files _SERVER["SystemDrive"] C: _SERVER["SystemRoot"] C:\\WINDOWS _SERVER["TEMP"] C:\\WINDOWS\\TEMP _SERVER["TMP"] C:\\WINDOWS\\TEMP _SERVER["USERPROFILE"] C:\\Documents and Settings\\LocalService _SERVER["windir"] C:\\WINDOWS _SERVER["HTTP_CONNECTION"] Keep-Alive _SERVER["HTTP_CONTENT_LENGTH"] 0 _SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* _SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us _SERVER["HTTP_HOST"] www.tsholom.net _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) _SERVER["AUTH_TYPE"] no value _SERVER["AUTH_PASSWORD"] no value _SERVER["AUTH_USER"] no value _SERVER["CERT_COOKIE"] no value _SERVER["CERT_FLAGS"] no value _SERVER["CERT_ISSUER"] no value _SERVER["CERT_SERIALNUMBER"] no value _SERVER["CERT_SUBJECT"] no value _SERVER["CONTENT_LENGTH"] 0 _SERVER["CONTENT_TYPE"] no value _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["HTTPS"] off _SERVER["HTTPS_KEYSIZE"] no value _SERVER["HTTPS_SECRETKEYSIZE"] no value _SERVER["HTTPS_SERVER_ISSUER"] no value _SERVER["HTTPS_SERVER_SUBJECT"] no value _SERVER["INSTANCE_ID"] 529953345 _SERVER["LOCAL_ADDR"] 10.4.1.1 _SERVER["LOGON_USER"] no value _SERVER["PATH_INFO"] /sml/phpinfo.php _SERVER["PATH_TRANSLATED"] \\\\frigga\\home\\users\\web\\b1874\\ph.d30053130\\sml\\phpinfo.php _SERVER["QUERY_STRING"] no value _SERVER["REMOTE_ADDR"] 69.115.140.60 _SERVER["REMOTE_HOST"] 69.115.140.60 _SERVER["REMOTE_USER"] no value _SERVER["REQUEST_METHOD"] GET _SERVER["SCRIPT_NAME"] /sml/phpinfo.php _SERVER["SERVER_NAME"] www.tsholom.net _SERVER["SERVER_PORT"] 80 _SERVER["SERVER_PORT_SECURE"] 0 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["SERVER_SOFTWARE"] Microsoft-IIS/6.0 _SERVER["UNMAPPED_REMOTE_USER"] no value _SERVER["PHP_SELF"] /sml/phpinfo.php _SERVER["argv"] Array ( ) _SERVER["argc"] 0 _ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users _ENV["APP_POOL_ID"] DefaultAppPool _ENV["ClusterLog"] C:\\WINDOWS\\Cluster\\cluster.log _ENV["CommonProgramFiles"] C:\\Program Files\\Common Files _ENV["COMPUTERNAME"] IIS01 _ENV["ComSpec"] C:\\WINDOWS\\system32\\cmd.exe _ENV["DellAgentPath"] C:\\Program Files\\Dell\\OpenManage\\OMSA\\bin _ENV["lib"] C:\\Program Files\\SQLXML 3.0\\bin\\ _ENV["NUMBER_OF_PROCESSORS"] 1 _ENV["OMPATH"] C:\\Program Files\\Dell\\OpenManage\\oma\\bin;C:\\Program Files\\Dell\\OpenManage\\LU\\bin;C:\\Program Files\\Dell\\OpenManage\\oldiags\\bin _ENV["OS"] Windows_NT _ENV["Path"] C:\\Python23\\.;C:\\Program Files\\Windows Resource Kits\\Tools\\;C:\\Perl\\bin\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Dell\\OpenManage\\oma\\bin;C:\\Program Files\\Dell\\OpenManage\\LU\\bin;C:\\Program Files\\Dell\\OpenManage\\oldiags\\bin;C:\\Program Files\\Dell\\OpenManage\\OMSA\\bin;C:\\Program Files\\Dell\\OpenManage\\Array Manager;C:\\Program Files\\VShell\\Bin;C:\\PROGRA~1\\ULTRAE~1;C:\\Program Files\\SecureCRT\\ _ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS;.pyc;.pyo;.pyw;.py;.pys _ENV["PROCESSOR_ARCHITECTURE"] x86 _ENV["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel _ENV["PROCESSOR_LEVEL"] 15 _ENV["PROCESSOR_REVISION"] 0209 _ENV["ProgramFiles"] C:\\Program Files _ENV["SystemDrive"] C: _ENV["SystemRoot"] C:\\WINDOWS _ENV["TEMP"] C:\\WINDOWS\\TEMP _ENV["TMP"] C:\\WINDOWS\\TEMP _ENV["USERPROFILE"] C:\\Documents and Settings\\LocalService _ENV["windir"] C:\\WINDOWS _ENV["HTTP_CONNECTION"] Keep-Alive _ENV["HTTP_CONTENT_LENGTH"] 0 _ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* _ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate _ENV["HTTP_ACCEPT_LANGUAGE"] en-us _ENV["HTTP_HOST"] www.tsholom.net _ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) _ENV["AUTH_TYPE"] no value _ENV["AUTH_PASSWORD"] no value _ENV["AUTH_USER"] no value _ENV["CERT_COOKIE"] no value _ENV["CERT_FLAGS"] no value _ENV["CERT_ISSUER"] no value _ENV["CERT_SERIALNUMBER"] no value _ENV["CERT_SUBJECT"] no value _ENV["CONTENT_LENGTH"] 0 _ENV["CONTENT_TYPE"] no value _ENV["GATEWAY_INTERFACE"] CGI/1.1 _ENV["HTTPS"] off _ENV["HTTPS_KEYSIZE"] no value _ENV["HTTPS_SECRETKEYSIZE"] no value _ENV["HTTPS_SERVER_ISSUER"] no value _ENV["HTTPS_SERVER_SUBJECT"] no value _ENV["INSTANCE_ID"] 529953345 _ENV["LOCAL_ADDR"] 10.4.1.1 _ENV["LOGON_USER"] no value _ENV["PATH_INFO"] /sml/phpinfo.php _ENV["PATH_TRANSLATED"] \\\\frigga\\home\\users\\web\\b1874\\ph.d30053130\\sml\\phpinfo.php _ENV["QUERY_STRING"] no value _ENV["REMOTE_ADDR"] 69.115.140.60 _ENV["REMOTE_HOST"] 69.115.140.60 _ENV["REMOTE_USER"] no value _ENV["REQUEST_METHOD"] GET _ENV["SCRIPT_NAME"] /sml/phpinfo.php _ENV["SERVER_NAME"] www.tsholom.net _ENV["SERVER_PORT"] 80 _ENV["SERVER_PORT_SECURE"] 0 _ENV["SERVER_PROTOCOL"] HTTP/1.1 _ENV["SERVER_SOFTWARE"] Microsoft-IIS/6.0 _ENV["UNMAPPED_REMOTE_USER"] no value PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. Title: Re: Installation Problems - Lite Post by: admin on January 31, 2005, 09:16:26 AM
Quote from: RonG
You say their configuration of PHP is non-standard, and they say it's yours that is non-standard;
Hello, I've actually already looked at your php configuration. (This is the output from the phpinfo.php file.) There's two things to consider: 1) Snippetmaster is downloaded by about 200 people every day. Even if 1/10 of those people actually take the next step and try to install the software, I don't get very many posts in the forums or emails from folks having problems. If I do, it is usually a simple "path" problem which is fixed in minutes. 2) I have over 5000 customers. None of them have problems. 3) On your server, snippetMaster is producing a warning about some VERY basic php code. (Doesn't recognize the standard $_SESSION variable, which is a built-in php variable.) Now, I respectfully disagree with your host. 1) If snippetmaster were indeed the culprit, then don't you think more of my customers would be having problems? 2) Wouldn't the many people who download the free LITE version be having problems? The forums would be full of similar posts to yours if this were true. :wink: I'm not sure what else to say. I'm 100% confident that SnippetMaster does not require any "special" configuration or anything other then a normal/standard PHP setup. After many thousands of people using the software, I have a lot of experience to make this claim. I do wish you the best of luck with your web host. I'm quite confident that you're going to experience the same sort of problems with just about ANY php software that you decide to use. Title: Installation Problems - Lite Post by: RonG on January 31, 2005, 10:36:35 AM
Having now been kissed off on both cheeks, I feel like a Frenchman. So I guess it's time to say, "Ce qui sera, soyez" (Ok, ok, my French is no better than my PHP) and move on. Henri, I really do appreciate your effort on behalf of my organization and me, especially since it didn't fatten your pocketbook. I wish I could get a fraction of the service from those who profit from my business. Title: Installation Problems - Lite Post by: admin on January 31, 2005, 03:58:46 PM
Quote from: RonG
Having now been kissed off on both cheeks,
I hope I haven't come across as unwilling to help. :? I honestly believe that no matter how much I work on this problem, the issue lies squarly with an "unusual" php configuration on your server. Thus, I feel it would be pointless to continue... ... however, you're more then welcome to download the new release of SnippetMaster that will be coming in a few weeks. Hopefully, this new version might "fix" whatever is incompatible with your server and all will be well with the world. Good luck!
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
|