Author |
Message |
01/12/2004 23:03:46
|
Anonymous
|
I'm trying to install the PNG Counter but I don't understand what it means to write permissions to the directory and on the counter.
Installation:
Give write permissions on the directory and on the counter file.
- pages 777 (drwxrwxrwx) (directory)
count.txt 666 (-rw-rw-rw)
What am I supposed to do? I did something, but my counter is a broken image. :/
http://www.thedesignthatcould.com/shitpile/xmas2.htm
|
|
02/12/2004 07:33:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
It means to set the CHMOD. You will need to read the manual for your FTP client or Cpanel to see how to do it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/12/2004 15:23:39
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Just when you think you've heard it all... Fortunately, I don't believe in Christmas Paganism.
Here are some posts that might help.
Explanation of Chmod File Permissions:
http://proxy2.de/forum/viewtopic.php?p=10072&highlight=#10072
How to change File Permissions from the CPanel:
http://proxy2.de/forum/viewtopic.php?p=10713&highlight=#10713
The Counter:
http://proxy2.de/forum/viewtopic.php?t=3924
|
|
02/12/2004 15:52:32
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Christmas Paganism? care to explain that one?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/12/2004 16:03:27
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Referring to the information on the site that was asking for help - "have a !@&%y Christmas." I was just stating that if I believed in Christmas I would probably be offended.
As far as Christmas paganism, that's a topic having nothing to do with the scripts on this site. However, I would love to discuss it if anybody is interested. Your site forum or mine?
|
|
02/12/2004 16:09:17
|
Anonymous
|
amber222 wrote:Referring to the information on the site that was asking for help - "have a !@&%y Christmas." I was just stating that if I believed in Christmas I would probably be offended.
As far as Christmas paganism, that's a topic having nothing to do with the scripts on this site. However, I would love to discuss it if anybody is interested. Your site forum or mine?
Hey, it's a punk rock comp. Love it or hate it, the title works.
But thanks for the help.
|
|
02/12/2004 16:23:33
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I'm always open to discussing paganism. My forum would be the better location for it though.
Nothing wrong with the title album, I usually do anyway. Makes a change from all then sentimental clap trap they churn out each year in a bid to cash in.
And yes, a search of this site would of found you the thread you wanted.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/12/2004 16:32:25
|
Anonymous
|
Okay, it's still not working.
http://www.thedesignthatcould.com/shitpile/xmas2.htm
Installation:
Give write permissions on the directory and on the counter file.
- pages 777 (drwxrwxrwx) (directory)
count.txt 666 (-rw-rw-rw)
I went into the CPanel and changed my permissions. My directory (shitpile?) is set at 777 and my counter folder (counter) is set at 666. The first counter on the bottom is the one I was trying to do, and the one below it is me trying to copy and paste the cold that amber suggested in one of those posts.
<tr>
<td align="center" height="100"><img src="counter.php?page=xmas2.htm&digit=scoreboard" alt="Counter" border="0"></td>
</tr>
Except, of course, I changed the name of the page to the one the counter is on. I also tried moving "config.inc.php" and "counter.php" out of the counter folder, into the public_html folder (didn't work) and into the shitpile folder (didn't work either).
Did I do something wrong? I'm sorry, this is my first time trying to use php.
|
|
02/12/2004 16:36:15
|
Anonymous
|
Carbonize wrote:And yes, a search of this site would of found you the thread you wanted.
Sorry, I did search and I saw two of the three pages amber posted. Believe me, if I could have searched and figured this out on my own I would have -- no offense, but help from a forum is not always guaranteed. Sometimes people just don't respond or take too long to respond.
I want answers now, darnit!
|
|
02/12/2004 16:40:27
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
hmmmmm try count.txt 777 (drwxrwxrwx)
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/12/2004 16:47:36
|
Anonymous
|
Carbonize wrote:hmmmmm try count.txt 777 (drwxrwxrwx)
Inside the file or in the File Manager? If I try to change permissions on that one file, I get a message saying:
Unable to change directory to /home/thedesig/public_html/shitpile/counter! You do not seem to have access permissions! (System Error: Permission denied)
|
|
02/12/2004 16:49:22
|
Anonymous
|
And it looks like changing the permissions on the whole "counter" folder to 777 doesn't change anything, either.
Arg, I must have messed up something.
|
|
02/12/2004 17:17:08
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I'll download it when I get home and play around.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/12/2004 19:48:44
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
The document you want the counter on needs to have the .php extension. From your post, it looks like that is xmas2.htm. So change the name to xmas2.php. Then there is no need to place the extension inside the code:
If your counter.php file is not in the same directory as xmas2.php, then you need to adjust the path.
The instructions say:
Give write permissions on the directory and on the counter file.
- pages 777 (drwxrwxrwx) (directory)
count.txt 666 (-rw-rw-rw)
Chmod the "pages" directory to 777 and the "count.txt" file in the "pages" directory to 666. The "Counter" directory remains at 755. Also, you didn't need to change permissions on your directory that has the xmas2.php file.
Another question: Are you using a flatfile or database?
It works: http://www.pauldelacour.thepraisegates.net/
|
|
02/12/2004 20:31:48
|
Anonymous
|
WOW. Okay, I figured it out.
I reset all my directories or folders or whatever to what they were before I tampered with them. Then I changed the two that you just mentioned and only those two. It still wasn't working, so I was like what the heck. So I took everything out of my "counter" folder and stuck it in the same directory as my xmas2 document. I made an xmas2.php in addition to my xmas2.htm and both seem to be working with the counter. (Why, I don't know, but as long as it's running I'm happy!)
THANK YOU ALL FOR HELPING ME FIGURE THIS OUT. I think I have a better understanding of PHP and my control panel. Thankyouthankyouthankyou!
|
|
|