GetDotted Domains

Viewing Thread:
"Creating a Guestbook"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 24/10/08 at 13:52
Regular
Posts: 45
I'm trying to configure a guestbook but need guidance on where to upload files and chmod settings. Your documentation states:

Full URL To CGI Script:
Your web address with '/cgi-bin/' added to the end (e.g. www.bob.spursfans.com/cgi-bin/).

Uploading CGI Scripts
CGI scripts must be placed within your 'cgi-shl' directory in your web space account otherwise it will not work. The file MUST be transferred in 'Text' or 'ASCII' mode and NOT in 'Automatic' or 'Binary' mode.

How can it be that files are uploaded to the cgi-shl directory but to access them you type www.bob.spursfans.com/cgi-bin/

My Guestbook Installation and Configuration: (I tried the following using chmod 755 and 777 but when I tried accessing the install.cgi it doesn't exist. Are the instructions wrong for a freeola set-up.

1. Upload files and folders

+ Upload all files and folders to the cgi-bin directory

+ Files and folders to upload in ASCII-Mode:
- install.cgi
- fpg.cgi
- asimg.cgi
- fpg_ascii (and all files inside)
+ Files and folders to upload in BINARY-Mode:
- fpg_binary (and all files inside)

2. Chmod (set access permission - only applicable on Unix hosts)

+ Skip this step if your server is running on a Windows machine
+ All files and folders: chmod 755
+ It means:
Owner: read, write, execute
Group: read, -- , execute
Other: read, -- , execute

3. Installation

+ Open your browser and point it to the file install.cgi
(for example: http://www.you.com/cgi-bin/install.cgi)
+ In the installation window, fill in all fields to continue
+ During the instalation, the installer will:

- make the guestbook working directory (fpg_files) in your cgi-bin
- make sub-directories in the working directory:
+ configs
+ languages
+ skins
+ restrictions
+ session
+ antispam
- make the public directory (fpg_public) in your document root
(for example: http://www.yoursite.com/fpg_public)
- copy the ascii-files (configs and template files) to the sub-directories
- copy the binary files (image files) to the public directory

+ Directory tree after the installation:

+ cgi-bin/
+------ + fpg_files/
+ +------ + configs/
+ +------ + languages/
+ +------ + skins/
+ +------ + restrictions/
+ +------ + session/
+ +------ + antispam/
+ + your_existing_files_and_folders
+ fpg_public/
+-------+ your_binary_files

+ After the installation is complete, log in as administrator
and configure your new guestbook

4. Configuration

+ Follow the screen guide to configure your guestbook
+ Use the forum if you have a question or want to share your experience

5. Note
+ If the public directory cannot be created, FPG will use external links
for displaying your icons and loading javascripts:

http://www.vitinh.de/fpg_public/

In this case you can manually create a non-cgi directory and upload
the icons and javascripts to help vitinh.de save bandwidth.

+ To change the layout of the guestbook, you may edit all .tpl files in the
directory fpg_files/skins.

+ If you disable an input field, you must remove its place holder in the file
"sign.tpl" too.
Sun 26/10/08 at 15:18
Regular
Posts: 45
i was confused having a cgi-bin and a cgi-shl so i took a look at a more recent freeola domain i purchased and noticed there was only a cgi-shl so I decided to upload the script files to that domain and directory and successfully got install.cgi to work (to a degree). Previously I only uploaded to the cgi-bin of another domain and was planning also trying the cgi-shl.

Anyway, in 3 cgi files I had to change absolute paths, ie as an example (i changed my exact numbers slightly plus added a space to be under maximum 50 characters for allowed posting):

################ FPG on a Windows Machine with IIS ######################
# Use absolute path for the 4 varialbles below if you want to use FPG #
# on a Windows Machine with IIS. For example: #
# my $dir = "/freeola/users /9/5/sr0940379/cgi-shl/fpg_files"; #
# my $fpg_public = "/freeola/users /9/5/sr0940379/cgi-shl/fpg_public"; #
# my $libdir = "/freeola/users /9/5/sr0940379/cgi-shl/fpg_ascii"; #
# my $bindir = "/freeola/users /9/5/sr0940379/cgi-shl/fpg_binary"; #
########################

my $dir = "fpg_files";
my $fpg_public = "fpg_public";
my $libdir = "fpg_ascii";
my $bindir = "fpg_binary";

You can see the stage I've reached http://www.inverness-apartment.com/cgi-bin/install.cgi

but on filling-in details and clicking on continue I get (added space after weblinks to be under 50 characters):

Cannot create guestbook folder fpg_files! Permission denied at /freeola/users /weblinks /www.inverness-apartment.com/cgi-shl/install.cgi line 693.

I think this relates to:
mkdir($dir, 0755) or die "Cannot create guestbook folder $dir! $!";

If you look at the install guide on my initial posting (3. Installation), extract:

During the instalation, the installer will:

- make the guestbook working directory (fpg_files) in your cgi-bin

Any ideas why its failing?
Sat 25/10/08 at 17:29
Moderator
"Are you sure?"
Posts: 5,000
Hi Leakest_Wink - I'll have a go until you get a better response!

" How can it be that files are uploaded to the cgi-shl directory
but to access them you type www.bob.spursfans.com/cgi-bin/"

That the way it works! ;¬)
Try following these instructions and see how things work - when I get into trouble with some CGI/SSI scripts I try both ways to see if that helps!

"...when I tried accessing the install.cgi it doesn't exist. Are the instructions wrong for a freeola set-up."

Very likely.
Not knowing or being familiar with the CGI script you are trying to install anything is possible. Try executing the install file using both 'CGI' paths mentioned above.

Often scripts have a manual install option - so rather than execute an install script you just go through a sequence of steps - this has always been more successful for me with Freeola sites.

Hope that helps :¬)
I don't like to see an unanswered question!

Search Freeola Chat My Freeola Instant Site
Fri 24/10/08 at 13:52
Regular
Posts: 45
I'm trying to configure a guestbook but need guidance on where to upload files and chmod settings. Your documentation states:

Full URL To CGI Script:
Your web address with '/cgi-bin/' added to the end (e.g. www.bob.spursfans.com/cgi-bin/).

Uploading CGI Scripts
CGI scripts must be placed within your 'cgi-shl' directory in your web space account otherwise it will not work. The file MUST be transferred in 'Text' or 'ASCII' mode and NOT in 'Automatic' or 'Binary' mode.

How can it be that files are uploaded to the cgi-shl directory but to access them you type www.bob.spursfans.com/cgi-bin/

My Guestbook Installation and Configuration: (I tried the following using chmod 755 and 777 but when I tried accessing the install.cgi it doesn't exist. Are the instructions wrong for a freeola set-up.

1. Upload files and folders

+ Upload all files and folders to the cgi-bin directory

+ Files and folders to upload in ASCII-Mode:
- install.cgi
- fpg.cgi
- asimg.cgi
- fpg_ascii (and all files inside)
+ Files and folders to upload in BINARY-Mode:
- fpg_binary (and all files inside)

2. Chmod (set access permission - only applicable on Unix hosts)

+ Skip this step if your server is running on a Windows machine
+ All files and folders: chmod 755
+ It means:
Owner: read, write, execute
Group: read, -- , execute
Other: read, -- , execute

3. Installation

+ Open your browser and point it to the file install.cgi
(for example: http://www.you.com/cgi-bin/install.cgi)
+ In the installation window, fill in all fields to continue
+ During the instalation, the installer will:

- make the guestbook working directory (fpg_files) in your cgi-bin
- make sub-directories in the working directory:
+ configs
+ languages
+ skins
+ restrictions
+ session
+ antispam
- make the public directory (fpg_public) in your document root
(for example: http://www.yoursite.com/fpg_public)
- copy the ascii-files (configs and template files) to the sub-directories
- copy the binary files (image files) to the public directory

+ Directory tree after the installation:

+ cgi-bin/
+------ + fpg_files/
+ +------ + configs/
+ +------ + languages/
+ +------ + skins/
+ +------ + restrictions/
+ +------ + session/
+ +------ + antispam/
+ + your_existing_files_and_folders
+ fpg_public/
+-------+ your_binary_files

+ After the installation is complete, log in as administrator
and configure your new guestbook

4. Configuration

+ Follow the screen guide to configure your guestbook
+ Use the forum if you have a question or want to share your experience

5. Note
+ If the public directory cannot be created, FPG will use external links
for displaying your icons and loading javascripts:

http://www.vitinh.de/fpg_public/

In this case you can manually create a non-cgi directory and upload
the icons and javascripts to help vitinh.de save bandwidth.

+ To change the layout of the guestbook, you may edit all .tpl files in the
directory fpg_files/skins.

+ If you disable an input field, you must remove its place holder in the file
"sign.tpl" too.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Continue this excellent work...
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do, I am delighted.
Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.