Private Label and Cobranded VoIP Solutions
BrainCast internet & phone based message/memo recording & reminder organization system
Internet Phone Service and Broadband Phone Service by ViaTalk

Go Back   VoIP Forums, Internet Phone Service Forums, & Web Hosting Forums > CoderForums - Programming Discussion > General Programming Issues > Programming Languages & Technologies > PHP

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-25-2002, 01:22 AM
dahlfan dahlfan is offline
Registered User
 
Join Date: Jan 2002
Posts: 4
Gallery Photo Album

Hello--

I have a large number of photos I would like to put in a gallery on my website hosted by hostrocket. I would like to use the PHP based program Gallery to do it with. I have no experience with ssh. The installation instructions ask you to get into your gallery directory using ssh and run the command sh configure.sh to get to the install wizard. I have the gallery folder uploaded but I have no idea how to locate the directory and execute the command to install. Can anyone out there help me? I would really like to use this program.

Thanks,
Rebecca
Reply With Quote
  #2  
Old 01-25-2002, 03:54 AM
DCE's Avatar
DCE DCE is offline
On the run.....
 
Join Date: Jan 2001
Location: Here and there
Posts: 690
To run *configure.sh* you need shell access (ask support to enable it)
That particular file is located in the root directory of your gallery */home/username/public_html/gallery/configure.sh*

If you don't want to use ssh, follow the instructions in the *readme file* the relevant section is pasted below.

3. HOW DO I INSTALL GALLERY IF I HAVE ONLY FTP ACCESS?

The process is pretty much the same as if you have shell access.
The complicating factor is that you can't run the 'configure' and
'secure' shell scripts. You'll have to simulate running the
scripts by using FTP commands.

In order to FTP Gallery up to your web server you'll need to unpack it
locally and then use FTP to copy it file at a time to the web server.
The first time you configure it, you'll need to create two special
files called "config.php" and ".htaccess" on the remote server. The
easiest way to do this is to create an empty file (we'll call it
"empty-file") on your local machine. Then upload that file as both
"config.php" and ".htaccess" using ftp. ONLY DO THIS THE FIRST TIME
you install Gallery or you'll overwrite your existing config file!

YOU TYPE:
put empty-file config.php

YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for 'config.php'.
226 Transfer complete.

YOU TYPE:
put empty-file .htaccess

YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for '.htaccess'.
226 Transfer complete.

At this point, you need to make both of these files writable. You
can do this (in the gallery directory)

chmod 777 .htaccess
chmod 777 config.php
chmod 755 setup

Now you're all set to configure gallery so go to the Gallery web
page. When you're done and it prompts you to make the gallery secure
again, you need to change your permissions back again:

chmod 644 config.php
chmod 644 .htaccess
chmod 0 setup

That's all it takes! If you use CuteFTP or some other FTP program,
you may need to hunt around a bit to find the CHMOD command. In
CuteFTP, right-click the file you would like to CHMOD, slect "Change
File Attributes", then enter the mode manually (ie. 755) in the
"Manual" text box. If you can't figure it out, try asking your ISP or
reading the documentation for your FTP client.
__________________
DCE

If everything seems to be going well, you have obviously overlooked
something.
Reply With Quote
  #3  
Old 01-25-2002, 08:33 AM
tbj tbj is offline
leaving
 
Join Date: Jun 2001
Posts: 100
One added note...

I recently installed this script package. I found that I also needed to install the netpbm binaries as indicated in the docs. The config script could not find them (Host14).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump