SnippetMaster Support Forums
Return to main website
 
January 18, 2006, 02:36:52 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?
January 18, 2006, 02:36:52 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Having Problems with Config « previous next »
Pages: [1] Print
Author Topic: Having Problems with Config  (Read 242 times)
phil4071
Beta Tester

Posts: 13


[-] Having Problems with Config
« on: November 15, 2005, 01:18:09 PM »

Hi can anybody offer any advise? when i go to the snippetmaster directory - http://www.haworthscouts.escouts.net/snippetmaster i get this:

Warning: usetemplate(/domains/haworthscouts.escouts.net/public_html/snippetmaster/templates/login.html): failed to open stream: No such file or directory in /home/haworth/domains/haworthscouts.escouts.net/public_html/snippetmaster/includes/shared.lib.php on line 135

Warning: usetemplate(/domains/haworthscouts.escouts.net/public_html/snippetmaster/templates/login.html): failed to open stream: No such file or directory in /home/haworth/domains/haworthscouts.escouts.net/public_html/snippetmaster/includes/shared.lib.php on line 135

Warning: usetemplate(): Failed opening '/domains/haworthscouts.escouts.net/public_html/snippetmaster/templates/login.html' for inclusion (include_path='.:/usr/local/lib/php') in /home/haworth/domains/haworthscouts.escouts.net/public_html/snippetmaster/includes/shared.lib.php on line 135


Also when i open it in firefox it says something about removing the links and i get sent an email about the error and that i must put the link back. - all i have changed is the values in the instucted file. This only happens in firefox though and not IE.

Report to moderator   Logged

My MSN Messenger Status - click 2 send me a message

If any1 wants an invite for web2messenger just message me Smile
admin
Forum Administrator
*
Posts: 1101

SnippetMaster Author


WWW
[-] Re: Having Problems with Config
« Reply #1 on: November 15, 2005, 02:59:45 PM »

For some reason, the script isn't finding the right "path" to your snippetmaster installation.

Is it possible you can give me an FTP un/pw to your SnippetMaster testing folder?  I'll log in and take a look to see what might be the problem.

Thanks!

Very Happy
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 1101

SnippetMaster Author


WWW
[-] Re: Having Problems with Config
« Reply #2 on: November 15, 2005, 03:06:10 PM »

Oh.. wait a second!

This is the old version of SnippetMaster.   Shocked  I thought you were a beta tester and having this problem.. I just noticed this thread isn't in the beta testing forum for the new version.

OK.. no problem.  The solution to your problem is to use the following values in your config.inc.php file:

$PATH = "/home/haworth/domains/haworthscouts.escouts.net/public_html/snippetmaster";

$ROOT = "/home/haworth/domains/haworthscouts.escouts.net/public_html";

This should fix your problem.

(I think you just have the wrong path's specified in this file.)

Let me know how that goes.  If you're interested in testing our the new version of Snippetmatser (beta test), feel free to check out this thread here:

http://www.snippetmaster.com/forums/index.php/topic,705.0.html

Cheers!   Very Happy
Report to moderator   Logged
phil4071
Beta Tester

Posts: 13


[-] Re: Having Problems with Config
« Reply #3 on: November 17, 2005, 10:20:08 AM »

Thanks i have chagend some of the file paths in the config file and it has worked thanks!
Report to moderator   Logged

My MSN Messenger Status - click 2 send me a message

If any1 wants an invite for web2messenger just message me Smile
zwaluw
Beta Tester

Posts: 5


[-] Re: Having Problems with Config
« Reply #4 on: November 18, 2005, 06:54:37 AM »

I am having problems as well in config.inc.php.
I do not get it working at all.
Maybe someone can help me out.

My url is: http://www.myname.com  (The domain is on my name)
I installed snippetmaster in the folder snippetmaster (http://www.myname.com/snippetmaster)

What do I fill in here?
$PATH = "/home/snippetm/public_html/lite";
and
$ROOT = "/home/snippetm/public_html";

Where are 'home, snippetm and public_html' standing for?

And, when installed right, how do I start.
With this url?: http://www.myname.com/snippetmaster
or http://www.myname.com/snippetmaster/index.php or?

Thanks

Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 33


[-] Re: Having Problems with Config
« Reply #5 on: November 19, 2005, 02:24:34 AM »

There is a simple way to find the path to a directory when the host company does not provide the information.

Copy this code into notepad and save it as path.php

Code:
<?php

echo "This file is located at: ". dirname(__FILE__);

?>


Then ftp it to the snippetmaster directory and call it in your browser  ( http://www.myname.com/snippetmaster/path.php )

As for running SnippetMaster once installed, http://www.myname.com/snippetmaster will be the address to go for.

Report to moderator   Logged

Kelvyn
admin
Forum Administrator
*
Posts: 1101

SnippetMaster Author


WWW
[-] Re: Having Problems with Config
« Reply #6 on: November 19, 2005, 08:07:26 AM »

It is also worth noting that the new version of SnippetMaster is "dynamic" and does not require you to enter in a path for any configuration.  Smile

If you're interested to try it out, it is now in beta testing and open to anyone who wants to help test:

http://www.snippetmaster.com/forums/index.php/topic,705.0.html

It also works with firefox and even the mac operating system... and allows unlimited users and unlimited snippets per page.  Smile
Report to moderator   Logged
zwaluw
Beta Tester

Posts: 5


[-] Re: Having Problems with Config
« Reply #7 on: November 19, 2005, 05:15:16 PM »

There is a simple way to find the path to a directory when the host company does not provide the information.

Copy this code into notepad and save it as path.php

Code:
<?php

echo "This file is located at: ". dirname(__FILE__);

?>


Then ftp it to the snippetmaster directory and call it in your browser  ( http://www.myname.com/snippetmaster/path.php )

As for running SnippetMaster once installed, http://www.myname.com/snippetmaster will be the address to go for.

Oké, thanks for your advice.
The "path php trick" did work, but it didn't solve the problem.
I did contact the maker of the program/script and he is looking in it.

EDIT:
The problem is solved!
I had to contact my provider and asked them to do a 755 chmod on my webroot.
Appearantly they had not done so by setting up the account.
All is working fine now.
« Last Edit: November 20, 2005, 12:55:34 PM by zwaluw » Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Having Problems with Config « previous next »
Jump to:  

Powered by MySQL Powered by PHP SnippetMaster Support Forums | Powered by SMF 1.0.5.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!