Web Hosting Forum | Lunarpages


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



Login with username, password and session length
July 31, 2010, 09:26:08 PM

Pages: [1]   Go Down
  Print  
Author Topic: Scripts and more  (Read 469 times)
BPaulson
Newbie
*
Offline Offline

Posts: 2


Bob P


WWW
« on: January 17, 2010, 08:32:11 PM »

To say I’m a novice at programming is an understatement, but I’m growing, and will be appreciative any help “you” (one and all) can give me.  I’m having trouble understanding how to create and use paths / scripts in setting up my Coppermine account via Lunarpages.  I have Coppermine up and am getting some of it configured, but I think I still need to “link” or add some things to the acct: such as php GD, which tells Coppermine to automatically make 2 or 3 photo sizes from each uploaded photo.  

For lack of knowing a better term, I call these things links or bridges between Lunarpages and Coppermine.  Neither support group will give the details I need, saying it is the other group’s responsibility (or neither ones, but mine).  I’ve spent days and MANY hours looking at various websites, but can’t find a straight forward answer to such “basic” questions.  Can you help??

Previously Lunarpages’ Support has told me some of the paths I may need to use for this and other parts, such as:  

     /home/username/public_html/    
     /usr/local/lib/php        (libraries)
     /usr/local/php5/bin/php    


I’m embarrassed to say it, but the first problem is I don’t know what to add into the script to what.  For example, what goes to the left of paths shown above?  When I work on my website connection at Coppermine, one of the basic url scripts is:  http://photographyinnaturalsettings.com/coppermine/admin.php (in the unpublished mode there is no www)

Can you give me a concrete example of what this partial path (/home/username/public_html/) would look like in my case when complete (see red below)?    

       What goes to the left?  
   Exactly what do I plug in as my -----   home = ?
   What is called for here as my -----   Username = ?  

For the moment, assume my username at Lunarpages is “widget23”, but at Coppermine it is “picturetrue”.  Which of the two goes in these paths?  

Or, is my “home” name related to my MySQL database, which let’s say has the following user information?  
Username: widget23_BobP
Db name:  widget23_RTWDbLupg1  
MySQL User:  widget23_RTW@2psql01.lunariffic.com


In the path using  “/home/username/public_html/”  will it look like the path below when I’m ready?  

Path A:  
http://photographyinnaturalsettings.com/coppermine/widget23/public_html/


If not, exactly what goes where?  Please type out the whole sample path for me:  

Path B:  
http://  


Do I then simply plug this final product into an open web page’s URL address bar while working on Coppermine and press Enter, and it automatically loads it and needs no further attention?  

How do I know when to include the version number of php in a script (such as: /usr/local/php5/bin/php)?  This one has the 5 in one place and no # in the last spot.  


-------   I realize the answers to the above aren’t going to make my work simple from here on, but I do think this help will certainly get me over the next hurdle.  After this, Coppermine will be able to help me with the parts “inside Coppermine.”  

Do you know a good website for tutorials that will help me with programming, like the scripts above, and bbcode or HTML?  

What is a “sticky topic?”    ...What’s a child?  

I thank you, and appreciate all your patience.  

Bob Paulson
« Last Edit: January 17, 2010, 09:05:38 PM by BPaulson » Logged
BPaulson
Newbie
*
Offline Offline

Posts: 2


Bob P


WWW
« Reply #1 on: January 18, 2010, 03:31:23 PM »

 Applause    I've found part of the answer to my own question.  Does not tell me how to make the formula, but it does show me why I may not need them. 

In Lunarpages, go to LPCP (Control Panel), click on File Manager, and choose what you want to update.  I didn't think this would take me to Coppermine, but it does if I click on "public_html."   Then pick Coppermine and it takes me to a LONG list of stuff that is inside Coppermine and working in the background, including Albums, which when clicked on takes me to where I can add sub directories (folders). 

Oh, I feel so much better, knowing I don't (maybe) need the long paths.  However, it does NOT give me a way to download large blocks of photos.  I have to select them one at a time.  Same thing if I use the FTP function. 

Do you know a way around that?   

Also, I couldn't figure out how to get back into my previous post and add to it.  There is a way, isn't there? 
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12840


WWW
« Reply #2 on: January 19, 2010, 05:19:53 AM »

Wow, there's a lot to go over here. Smile  One place I would suggest you start researching for answers would be the web hosting wiki.  Lots of great tutorials and tips there to help out with some of these questions.

When you see an address referred to as:

Code:
/usr/local/lib/php

That usually means that this is the server's path for this particular function.  In comparison, your own files on the server would be located in:

Code:
/home/username/

Anything you want to have show up under your primrary domain name would belong in the "public_html" folder.  So how do you address it?

Rather than:

Code:
http://www.yourdomain.com/home/username/public_html/

You would use:

Code:
http://www.yourdomain.com

Anything inside the public_html folder will show up directly under your primary domain name. The web site visitor will never see the /home/username/public_html/.

Hope that helps out some! 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pages: [1]   Go Up
  Print  
 
Jump to: