View Full Version : ASCII and CHMOD help!!!! I'm lost...


Miss_Thang
09-18-2004, 03:22 PM
I downloaded megabook from here (http://www.pixelfx.org) now go to tutorials>>cgi/php and click page 2. There's the tutorial and download for megabook. Now it says something about changing the things and wat not and I'm COMPLETELY lost with it!! Is that with my host or in my FTP where I have to do that stuff??? *yes my host does support cgi/php/mysql.* ;) Umm and when I upload it to my site do I put it in publichtml? or in the cgi folder? cgi right? thanks...hope you can help me understand this! I'm lost... :bufly:

starlet
09-18-2004, 03:40 PM
CGI-BIN folder is where megabook should go yeah. You do CHMOD stuff via your ftp program, which one do you use? Generally if you right click the file there should be a 'chmod' or 'change mode' option there...

pb&j
09-18-2004, 03:55 PM
or CHMOD is sometimes called "Permissions".

and about the ascii part... some files must be uploaded in BINARY or ASCII. basically it is two different ways of transferring data. in your FTP program, it is probably set to AUTO which is usually ok, but i like to make sure i follow the instructions and change it to ASCII to make sure the program doesnt accidentally choose the wrong transfer mode.

BINARY is usually for images.
ASCII is usually for document files.

Miss_Thang
09-18-2004, 04:25 PM
Ok...I use smart FTP

I got the CHMOD thing...what I did was unzip them and put ALL the files in my cgi folder, and change the CHMOD to what the person said. Did i do that right? How do I make sure it's in ASCII mode?

pb&j
09-18-2004, 04:37 PM
How do I make sure it's in ASCII mode?
1. connect to online area.

2. along the top are some icons. look for 3 together that say...
ASC, 010, A10
that stands for ASCII, BINARY, AUTO.
click on the correct one then upload the file you desire. after it is uploaded, change the CHMOD of the file in the online area to whatever the instructions say.

Miss_Thang
09-18-2004, 04:50 PM
Got it!! :D thanks. Now I'm just having one more problem, in the tutorial it said:

Now you need to log into Megabook, depending on where you installed it, try this URL:
http://www.(yourdomain).com/(yourcgidir)/admin.cgi.

so i put mydomain.com/cgi-bin/admin.cgi and that didn't work. Where or how would i know where my cgi dir is? i know it's a stupid ? but i can't figure it out

kittycat
09-18-2004, 05:19 PM
If you put it directly in the cgi-bin then that would be the right url. Are you getting a 404 error or a different one?

Miss_Thang
09-18-2004, 05:39 PM
I keep getting a 404 page. :confused:

*sry* it says on the top HTTP 500 internal server error. On the page it says The page cannot be displayed...blah, blah, blah :( :confused:

Miss_Thang
09-18-2004, 05:41 PM
*sry* it says on the top HTTP 500 internal server error. On the page it says The page cannot be displayed...blah, blah, blah :( :confused:

kittycat
09-18-2004, 05:51 PM
Then there was probablya problem with uploading/CHMODing the file. Double check to make sure you did upload in ASCII and CHMOD to the right permissions.

Miss_Thang
09-18-2004, 06:01 PM
I did it...all the files are in the right permissions! I don't understand :( I even made sure all the spelling and caps were the same. This is difficult...lol

Miss_Thang
09-18-2004, 07:39 PM
Ok, I did everything over and it worked :) but how can I make the link transaction...like her's (http://tiffanithiessen.org/cgi-bin/guestbook.cgi) and the "image background" that's where i put my image like: gbook.jpg" to show up like her's right? thnx!

kittycat
09-18-2004, 09:30 PM
I think this is the link thing:
http://nadyakwandibens.myknet.org/codes
Make sure you put any image, CSS, JS files outside the cgi-bin and link to them accordingly otherwise they won't work.