Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
November 27, 2014, 11:28:38 AM

Pages: [1]   Go Down
  Print  
Author Topic: How to Install PhotoPost  (Read 16355 times)
Danielle
Guest
« on: April 24, 2004, 11:26:33 AM »

I recently purchased a copy of PhotoPost.  Since quite a few people have been sending tickets to support asking whether it is possible to install this on our servers as well as how to install this script, I am writing this installation guide for anyone who wonders about either.

I tested installation both on my Enterprise account (bestgarden.net) and on my danzig account (stoneofendar.com) which is on the EMC storage solution.  Since I only have 1 license for PhotoPost, I removed the stoneofendar.com one afterwards, but I wanted to provide the differences between the 2 installations so that people could adjust accordingly.

------------------------------------------------
MySQL database creation
[list=1]
  • Log into Cpanel, click on MySQL databases.
  • Under Databases, enter a database name in the Db: field.  I used gallery as the name for mine.
  • Click the "Add Db" button, and the database will be created with the full database name.  This full name is important for later on, so this is the name you will use in referring to your database.  Mine is bestga2_gallery (CpanelUsername_databasename).
  • Under Users, enter a user in the UserName: field and a password for that user in the Password: field.  I chose dani as my user.
  • After you are done, click "Add User"  The user that is created is like the database, there will be a full username that is in the form Cpanelusername_databaseusername.  Mine is bestga2_dani
  • Now add the user to the database.  If you do not do this, you will be unable to access the database.  Directly under Databases:, there is the name of the database, and directly under that are 2 dropdown boxes.  One has User: and a listing of users and the other has Db: and a listing of databases.  Select you user in the User: box and your database in the Db: box, then click the "Add User to Db" button underneath all the check boxes.[/list:o]

    File Manager Upload
    [list=1]
  • You should still be in Cpanel, click on Home to leave the MySql databases' area, then click on File Manager, then on the public_html folder icon.
  • Inside public_html, click on "Create New Folder" toward the top of the folders.
  • In the upper right, there will be a field to enter the folder's name. I called mine gallery (lowercase as Apache Linux is case-sensitive), then I clicked the "Create" button.
  • Click on the gallery folder icon, then click on the "Upload file(s)" black arrow.
  • Click the "Browse" button for the first empty box, browse to the zipped content of your PhotoPost file on your local computer (mine is called photopost47.zip) and select it with your mouse to highlight.
  • Click the "Open" button and the file's name should now appear in the box.  Click the "Upload" button.
  • You are taken back to the gallery folder and will see the newly uploaded file.  Click on the file's name (not the icon next to the file name) and in the upper right select "Extract File Contents" link.
  • PhotoPost will extract directly into the folder and you will get a new window showing all the files and folders extracted. Wait until that new window shows all files have been successfully extracted (i.e., it is no longer processing and the browser will have Done at the bottom left).  Click out of the new window, and you will not yet see these extracted files and folders in the gallery folder. Click on the folder icon next to "Up one level", then click on the folder icon next to the gallery folder to go back into it and you will see the extracted files (it is because the folder is caching the previous information that the extracted files don't show until you do this).
  • Look for your config-inc.php file in the listing of files (this is not inside the config folder for PhotoPost, it is a file directly in the gallery folder itself).  Check that the file permissions listed to the right of the file's name are 777.  If they are not, click on the file's name, and in the upper right click the "Change Permissions" link and then check each box and click the "Change" button.
  • Now create a new folder directly inside the gallery folder. Click on "Create New Folder" at the top of the folders (above the Upload file(s) arrow).  In the upper right, enter backups as the name and click "Create"[/list:o]

    Web Browser portion
    [list=1]
  • Fire up your web browser (Firefox, Internet Explorer, Opera, Netscape, etc.) and enter the url to the install.php file in your browser.  This url for my installation was http://bestgarden.net/gallery/install.php.  It would be the path online to install.php for your account.
  • You will get a greeting message "Welcome to PhotoPost Install"  Click the "Proceed to Configuration Verification" link.
  • There are many fields to enter now.  I have listed them below:
Quote
CONFIG-INC.PHP Variables

PhotoPost Database Host: localhost (do not change)
PhotoPost Database Name: bestga2_gallery
PhotoPost Database User: bestga2_dani
PhotoPost Database Password: my password I chose for bestga2_dani user in MySQL databases
PhotoPost Database Prefix (cannot be changed once set): left blank

User Database Host (enter same info as above if using Internal Registration System): localhost (I am not using VBulletin or any other forum's registration system)
User Database Name: bestga2_gallery
User Database User: bestga2_dani
User Database Password: my password I chose for bestga2_dani user in MySQL databases
Forum Cookie Prefix (if used, otherwise leave blank): left blank
VB3 License Number (if using VB3 integration, you must enter your license number here): ***YOUR VB LICENSE NUMBER*** (left this in that field, didn't change)

Gallery Status: open
Message to display when closed? kept default here

Gallery Language: english
Path for MOGRIFY executable: /usr/local/bin/mogrify
Path for JHEAD executable: /usr/bin/jhead
Path for JPEGTRAN executable: /usr/bin/jpegtran

Path for MYSQLDUMP: /usr/bin/mysqldump
MySQL database backup directory: /home/bestga2/public_html/gallery/backups (path from the server to the backups folder you created above; please note that if you are on an EMC server, you must place /nfs in front of /home in the path here, so /nfs/home/username/... or you will get an error when you try to backup)

Thumbnail Generator: GD2
Use on-the-fly watermarks: yes

Debug Setting: Display Errors
Cookie Path: /
Cookie Domain: .bestgarden.net
Botbuster Integration: no
Enable ZLIB compression: yes
Date Format: dow month dd, yyyy
GMT Time Offset: +6 (selected my timezone offset from Greenwich Mean Time)
IP Caching Timeout: 0


  • Click to save, and you are taken to a screen to confirm.
  • After clicking the confirmation, you should have a success screen noting that GD2 was verified, then choose the "Click here for a fresh Install" link.
  • You would then be at the PhotoPost database configuration area. Because I don't have a form to connect this to, I selected Internal User Registration.
Quote
Configuring PhotoPost

Admin Username: Miraenda
Admin Password: whatever I felt like putting
Enter Password Again: same thing as above
Administrator Email Address: danielle@bestgarden.net
Your website name (i.e.: TechIMO.com): bestgarden.net
Website URL to homepage: kept default
URL to PhotoPost main script directory: kept default
URL to PhotoPost IMAGES directory: kept default
URL to PhotoPost DATA directory: kept default
Full path to PhotoPost DATA directory (no spaces in path!): kept default (please note that if you are on an EMC server, you must place /nfs in front of /home in the path here, so /nfs/home/username/... or you will get an error after installation when you attempt to upload images)
URL to PhotoPost UPLOADS directory: kept default
Full path to PhotoPost UPLOADS directory (no spaces in path!): kept default (please note that if you are on an EMC server, you must place /nfs in front of /home in the path here, so /nfs/home/username/... or you will get an error after installation when you attempt to upload images)


  • Click the "Complete PhotoPost Installation" button and you would receive the "PhotoPost Installation is Complete" comfirmation screen.
  • Log back into CPanel and click on File manager, navigate to your gallery folder, and delete the file install.php[/list:o]

    You have now installed PhotoPost!

    To view my copy, please visit http://www.bestgarden.net/gallery

    I welcome any questions or comments.  I really like this software, so I am certainly happy to help anyone out with installing it or customization questions.

    Have a Blessed Day
Logged
abbaseball92
Intergalactic Superstar
*****
Offline Offline

Posts: 136



« Reply #1 on: April 25, 2004, 07:19:45 PM »

cool tutorial.  i might look into PhotoPost soon anyways so this will help.
Logged
CPonyGo
Trekkie
**
Offline Offline

Posts: 14


« Reply #2 on: March 01, 2005, 02:52:41 PM »

Photopost is a very awesome database...I had it on another server that my site(when I had it up) was running on.
Logged
Nakedheeler
Newbie
*
Offline Offline

Posts: 2


« Reply #3 on: November 06, 2006, 06:22:45 PM »

I'm new to lunarpages and need the path info for photopost installation.
Thank for the thread but I still have a question.
I'm transfering my photopost gallery from the old host to lunarpages and my server at lunarpages is Almach.
So my path to the photopost will be like this, am I correct ?
 
/almach/home/username/public_html/photopost

I don't know what you mean by EMC server.

Thank in advance for your help.
Logged
Priest
Guest
« Reply #4 on: November 06, 2006, 06:40:05 PM »

Hello,

The path to PhotoPost on your would be /home/CPANEL_USERNAME/public_html/path/to/photopost

EMC can safely be ignored as it is no longer in use on our servers.
Logged
Nakedheeler
Newbie
*
Offline Offline

Posts: 2


« Reply #5 on: November 06, 2006, 07:00:10 PM »

Hello,

The path to PhotoPost on your would be /home/CPANEL_USERNAME/public_html/path/to/photopost

EMC can safely be ignored as it is no longer in use on our servers.

I've a question.  Let say my user name to log in at lunarpages and C-panel is "heel".  My path then would be: "/home/CPANEL_HEEL/public_html/path/to/photopost" am I correct ?  I used this as path to my photopost in the config-inc.php but still couldn't connect to my gallery.

The CPANEL_HEEL has to be in Capital ?
« Last Edit: November 06, 2006, 07:01:46 PM by Nakedheeler » Logged
Priest
Guest
« Reply #6 on: November 06, 2006, 07:08:22 PM »

If your cPanel login username were 'heel' then the path to your public_html folder would be /home/heel/public_html

If you had photopost installed in the public_html/photopost folder, the path to it would be /home/heel/public_html/photopost
Logged
eguy
Newbie
*
Offline Offline

Posts: 1


« Reply #7 on: June 08, 2007, 09:02:01 PM »

Hi

Thank you for explaining the correct path which uncludes. home/cpanelusername/public/photopost_directoy (which is correct) on Lunarpages to install PhotoPost.

I would like to just ad something for the path for Image Magick path field that I, a novice in php would like people like me know:

For those of you who are given the sample path for Image Magick for example:

ImageMagick
/usr/local/bin/
/usr/lib/ImageMagick
/usr/local/lib/ImageMagick
/usr/share/ImageMagick


However, the correct absolute path is

/usr/local/bin/mogrify


(which is also included on the supplied list from Lunarpages support team, but further down the page if they send you a complete list of all path in general.

Hopes this helps

eguy
Logged
seascraps
Newbie
*
Offline Offline

Posts: 1


« Reply #8 on: February 26, 2008, 02:21:22 PM »

I followed your instructions to the letter but when I get to the put in your url to the install.php file-when I do this in a new web browser I get 500 Internal Server Error and I have  no idea what is wrong! Could someone help me I am not a web person, I am setting up photopost for the first time and was doing fine with the instructions from the following thread

http://www.lunarforums.com/lunarpages_how_tos/how_to_install_photopost-t14553.0.html

until I got to the web browser portion and then I got the error so I am still not able to get photopost installed.

My problem I believe is in this step you posted:
Look for your config-inc.php file in the listing of files (this is not inside the config folder for PhotoPost, it is a file directly in the gallery folder itself).  Check that the file permissions listed to the right of the file's name are 777.  If they are not, click on the file's name, and in the upper right click the "Change Permissions" link and then check each box and click the "Change" button.

I have a file that reads config-inc.php.NEW but it is a text file looks like-that is the only thing I have in the zip close to the above file and I just don't know where to go stuck here. I need plain english as like I said I"m new to this.

Sandra
« Last Edit: February 26, 2008, 05:32:13 PM by seascraps » Logged
gratianmasu
Newbie
*
Offline Offline

Posts: 1


« Reply #9 on: November 09, 2011, 09:01:55 PM »

This instruction provide good help for me.


(Spam content removed - Hush)
« Last Edit: April 02, 2012, 01:16:08 PM by Hush » Logged
Jacobdixon
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


« Reply #10 on: December 11, 2011, 10:43:25 PM »

What problem are you facing?


PHP Web Development
Logged
alijutt8
Newbie
*
Offline Offline

Posts: 1


« Reply #11 on: February 15, 2012, 02:02:59 AM »

sounds good to me
will come back and leave further comments


(Spam content removed - Hush)
« Last Edit: April 02, 2012, 01:17:04 PM by Hush » Logged
nayan007
Spacescooter Operator
*****
Offline Offline

Posts: 37


« Reply #12 on: February 17, 2012, 08:24:18 AM »

It is a useful tutorial and very helpful. I appreciate you for posting it here
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: