SnippetMaster Support Forums
Return to main website
 
May 21, 2018, 10:12:57 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?
May 21, 2018, 10:12:57 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: install not working « previous next »
Pages: [1] Print
Author Topic: install not working  (Read 4742 times)
dukewill

Posts: 6


[-] install not working
« on: August 04, 2003, 05:49:32 PM »

I'm fired up about using this but I can't make it work. It is installed in...

/usr/www/domainname/cgi-bin/snippetmaster

I'm confused from the getgo about that what should these be...

$PATH
$ROOT
$PREVIEW
$URL

It says "PHP4 (register_globals must be on)." What's that mean?

The page I am putting the snippet is in /usr/www/domainname/htdocs

And the URL is thus http://www.domainname.com/pagename.html

I chmoded the pagename.html to 666.

I don't understand what this "location" stuff means but this is what I put in there. Is the location the snippet name?

$UPLOAD_INFO[1][PATH] = "/usr/www/domainname.com/location1";
$UPLOAD_INFO[1][NAME] = "Upload Location #1";
$UPLOAD_INFO[1][OVERWRITE] = 1;

So, what do I put in between the quotes here?
<snippet name="You can name the snippet here">
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] install not working
« Reply #1 on: August 04, 2003, 10:17:20 PM »

Have you read the readme file and installation documentation?

The config.inc.php file should also have some "self describing" documentation for each variable.

Let me specifically what you need help with...
Report to moderator   Logged
dukewill

Posts: 6


[-] install not working
« Reply #2 on: August 05, 2003, 05:07:06 AM »

Thank you for replying. Yes, I have read the readme and everything. I have spent three hours at it. I'm not an expert programmer but I've got 19 years of computing. The lingo in the config file is cryptic to me... I do not understand what you are saying about those $ variables. As far as specifics, everything I put in post 1 was specific... that's what I did, went through there and came up with those specifics. Again...

It is installed in...

/usr/www/domainname/cgi-bin/snippetmaster

The HTML page I am putting the snippet is in...

/usr/www/domainname/htdocs

And the URL is thus http://www.domainname.com/pagename.html

I chmoded the pagename.html to 666. What other permissions do I have to set?

I'm confused from the getgo about what should these be. Based on answers above, what should the below be?

$PATH
$ROOT
$PREVIEW
$URL

It says "PHP4 (register_globals must be on)." What's that mean?

I don't understand what this "location" stuff means. WHAT IS A LOCATION? I see no other reference to a "location" other than right here. Are you asking for a page name or a path or what? Or is the location the snippet name?

$UPLOAD_INFO[1][PATH] = "/usr/www/domainname.com/location1";
$UPLOAD_INFO[1][NAME] = "Upload Location #1";
$UPLOAD_INFO[1][OVERWRITE] = 1;

So, what do I put in between the quotes here? I assume it is a snippet name. Where else do I put whatever I'm putting between the quotes below?

<snippet name="You can name the snippet here">

(I am just using ONE snippet on one page.)
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] install not working
« Reply #3 on: August 05, 2003, 09:08:03 AM »

No problem.   Very Happy

>> It says "PHP4 (register_globals must be on)." What's that mean?

This is a "switch" that tells the php programming language to use "global" variable scope.  If you're a programmer, that will make sense... if not.. then it just means it's a setting (very common one) that must be set by your web host when they installed php.

>> I don't understand what this "location" stuff means. WHAT IS A LOCATION?

"Location" means where you want the uploaded files to be placed when a user makes an upload.  You can specify an unlimited number of  folders/directories.  Each one is a "location"... and your users will be presented with a drop down list to select the desired location when they do the upload.  

Usually, most people will pick something like this.. /home/account/www/images

Because they are usually uploading images into the "images" location.

>> <snippet name="You can name the snippet here">

For starters, you should just use a "plain" snippet tag, and then you can modify it to see what happens.. (trial and error).  

Here's what you need:

<snippet>
   Your code goes here that you want to modify....
</snippet>

(Be sure the snippet tags are on their own lines!

>> I'm confused from the getgo about what should these be. Based on
>> answers above, what should the below be?

Based on what you have provided... here is the answer:

$PATH = "/usr/www/domainname/cgi-bin/snippetmaster";
$ROOT = "usr/www/domainname/www";   <-- This is your "web root" and might be different then what I put..
$PREVIEW = "http://www.domainname.com";
$URL = "http://www.domainname.com/snippetmaster";

If this doesn't work, then let me know and send me your config.inc.php file and I'll try to investigate for you.

Cheers!   Very Happy
Report to moderator   Logged
dukewill

Posts: 6


[-] I am usually not stupid
« Reply #4 on: August 05, 2003, 04:25:24 PM »

}}}
My comments are between "}}}" I am doing this snippet thing for a friend who is in a band and wants to change his dates where he will be playing.
}}}

>> I don't understand what this "location" stuff means. WHAT IS A LOCATION?

"Location" means where you want the uploaded files to be placed when a user makes an upload.  You can specify an unlimited number of  folders/directories.  Each one is a "location"... and your users will be presented with a drop down list to select the desired location when they do the upload.  

Usually, most people will pick something like this.. /home/account/www/images

Because they are usually uploading images into the "images" location.

}}}
Well, I am confused again. What does this have to do with an image? I have a snippet around text that my friend will be able to change. TEXT. And the snippet is within a plain old HTML page which is located at...

/usr/www/domainname/htdocs/pagename.html

and the URL for the HTML page is thus...

http://www.domainname.com/pagename.html
}}}

>> <snippet name="You can name the snippet here">

For starters, you should just use a "plain" snippet tag, and then you can modify it to see what happens.. (trial and error).  

Here's what you need:

<snippet>
   Your code goes here that you want to modify....
</snippet>

(Be sure the snippet tags are on their own lines!

}}}
Okay, so you are saying DO NOT use name=whatever. Okay. The text that my friend will be able to change is between...
<snippet>
</snippet>
}}}

>> I'm confused from the getgo about what should these be. Based on
>> answers above, what should the below be?

Based on what you have provided... here is the answer:

$PATH = "/usr/www/domainname/cgi-bin/snippetmaster";
$ROOT = "usr/www/domainname/www";   <-- This is your "web root" and might be different then what I put..

}}}
I am totally lost. If I start at root, for example, it goes...
/
/usr
/usr/www
/usr/www/domainname
/usr/www/domainname/cgi-bin
/usr/www/domainname/cgi-bin/snippetmaster
}}}

$PREVIEW = "http://www.domainname.com";

}}}
If what you have above is correct, that sure is not evident by your instructions. As you have it above, what will that do? That would only go to index.html. Which is not where the snippet is.
}}}

$URL = "http://www.domainname.com/snippetmaster";

}}}
If what you say above is correct, I don't understand that either. What would that do? I don't have anything in a directory like that.
}}}


}}}
After all of the install is done, I still don't know what to do next. What "page" or routine do I call? You say for the client to "go to the login page." WHAT login page?
}}}
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] install not working
« Reply #5 on: August 05, 2003, 04:31:33 PM »

I don't know what to tell you.. I have about 300 downloads a day for this software, and very few people get stuck with the installation.

Rather then continue to go back and forth with this forum thread... how about if you just send me your config.inc.php file and I'll make the necessary settings for you.

Or if you prefer, you can just give me an ftp username/password and I'll install the whole thing for you.

Cheers!   Very Happy
Report to moderator   Logged
dukewill

Posts: 6


[-] otay
« Reply #6 on: August 05, 2003, 05:05:25 PM »

Well if 300 people a day get this sucker done with no help, I really feel like an idiot. I am not a programmer but I do HTML stuff pretty well but I can't follow many of your instructions. I appreciate the help. If I can make this work right, maybe it'll be worthwhile for both of us in the long run. I will email. I guess you mean through this forum.
Report to moderator   Logged
dukewill

Posts: 6


[-] install not working
« Reply #7 on: August 05, 2003, 09:32:17 PM »

Thank you, I think it is working after your help.
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] install not working
« Reply #8 on: August 05, 2003, 09:33:38 PM »

Very Happy   Groovy!  Let me know if I can assist further at all..

Cheers!
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: install not working « 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!