Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2019-05-16 09:33:21

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Backlight 2 & MAMP

Hi,

Looking to design a new website in Backlight 2 and as my host is running an old php container 5.2, I will be transitioned to a newer container running php 7.2 or 7.3 in a week or so. As I've designed TTG CE3 websites in a local host MAMP before, I was wondering whether I can work on my site locally before uploading via FTP to server once the php has been updated? I was also wondering when setting up Backlight 2 in MAMP (local host vs online host) do I use the same installation process as shown in Matt's video?

Cheers
Sam

Offline

#2 2019-05-16 12:54:13

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 16,345
Website

Re: Backlight 2 & MAMP

I tried this with WAMP some time ago. If I remember correctly, it was a pretty straight forward installation.

I didn’t try uploading but I imagine it would be just like developing in a test subdomain, and either moving it or downloading to the pc and then uploading to main site.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2 test site, Pangolin test site

Offline

#3 2019-05-16 13:45:22

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Thanks Rod, Once i've developed the site on the local host (MAMP), with Backlight 2 installed, would I then need to install the Backlight 2 software onto the main site and move the files over, or could I drop the files over and they would retain all of the installation details?

Sam

Offline

#4 2019-05-16 13:56:35

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,989

Re: Backlight 2 & MAMP

Backlight was developed under MAMP, and installation should work without issue.
Whether you can just copy a site to your server depends on how permissions are handled. Backlight creates and changes files under backlight/data and galleries directories. If those files are given ownership of the web server then you may run into permission problems after uploading those working files. They’ll be owned by your FTP user and then Backlight won’t be able to make changes to them as Backlight will be trying to access them as the web server user.
You can see whether this is the case by installing on your web server and seeing who is marked as the owner of files under backlight/data within your FTP program. If those files are owned by the same user as the backlight directory itself, then you should be fine to sync your local site via FTP.

Offline

#5 2019-05-16 17:34:56

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Thanks Ben, I appreciate the extra details. If I do run into permission issues, what would you suggest? As you may have read, my web-host won't transition my site to a newer container running php 7.2 or 7.3 for a week or so, and I'd like to start putting the site together. MAMP is my preferred local host which I'm familiar with, but don't want to complicate the process if transferring the site is a major headache. I guess the one installation on MAMP is all I need, rather than installing Backlight 2 on the web server before copying over?

Thanks again, hoping to understand the basics before getting in over my head.

Sam

Offline

#6 2019-05-17 02:33:06

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,331
Website

Re: Backlight 2 & MAMP

Sam Sampson wrote:

Thanks Ben, I appreciate the extra details. If I do run into permission issues, what would you suggest? As you may have read, my web-host won't transition my site to a newer container running php 7.2 or 7.3 for a week or so, and I'd like to start putting the site together. MAMP is my preferred local host which I'm familiar with, but don't want to complicate the process if transferring the site is a major headache. I guess the one installation on MAMP is all I need, rather than installing Backlight 2 on the web server before copying over?

Thanks again, hoping to understand the basics before getting in over my head.

Sam

You always can export the page templates from your MAMP hosted site and import them in your new host. So I would go ahead and use Backlight on your MAMP installation. This way you can get familiar with all the bells and whistles.


Daniel Leu | Photography   
DanielLeu.com

Offline

#7 2019-05-17 10:02:54

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Thanks Daniel, I'm guessing one installation of Backlight 2 on the MAMP host is all I need? Would I need to do a new install on the new host for the exported files to be compatible?

Sam

Offline

#8 2019-05-17 10:14:16

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,331
Website

Re: Backlight 2 & MAMP

1) Yeah, just install BL2 and have fun. I have one installation on my MAMP and it works well.

2) Yes, you would do another install on the new host and import the previously exported templates.


Daniel Leu | Photography   
DanielLeu.com

Offline

#9 2019-05-17 10:31:45

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Daniel, thanks for pointing me in the right direction.

Looking inside the Backlight 2 installer, when it's up and running where are the page templates located? Or would I copy over the the Backlight 2 folder and the Galleries folder to complete the transfer?

Sam

Offline

#10 2019-05-17 11:33:10

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,331
Website

Re: Backlight 2 & MAMP

There is something called documentation wink


Daniel Leu | Photography   
DanielLeu.com

Offline

#11 2019-05-17 14:22:12

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Thanks for the link Daniel...and your previous posts.

Cheers
Sam

http://www.samsampson.co.nz/

Offline

#12 2019-05-18 01:19:08

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,331
Website

Re: Backlight 2 & MAMP

smile Have fun playing with Backlight. It is a so much better experience than with CE3.


Daniel Leu | Photography   
DanielLeu.com

Offline

#13 2019-05-23 13:40:53

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

After installing 'Backlight 2' with Matt's informative video onto MAMP, I logged in with username: 'admin', password: 'ttg8888'. I was wondering whether this is the permanent log-in for the admin, or if there is a place I can personalize both in the Admin panel?

I logged out, and found I couldn't get back in, so had to reinstall the software. I'm a little wary of logging out in case it rejects my admin password.

Any ideas?
Sam

Offline

#14 2019-05-23 15:11:59

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,567
Website

Re: Backlight 2 & MAMP

Sam Sampson wrote:

After installing 'Backlight 2' with Matt's informative video onto MAMP, I logged in with username: 'admin', password: 'ttg8888'. I was wondering whether this is the permanent log-in for the admin, or if there is a place I can personalize both in the Admin panel?

I logged out, and found I couldn't get back in, so had to reinstall the software. I'm a little wary of logging out in case it rejects my admin password.

Any ideas?
Sam

On first login, you should have completed the Quick Setup, which requires you to set a new password. Your login thereafter would be "admin" and your own password.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#15 2019-05-23 15:15:35

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,331
Website

Re: Backlight 2 & MAMP

Sam Sampson wrote:

After installing 'Backlight 2' with Matt's informative video onto MAMP, I logged in with username: 'admin', password: 'ttg8888'. I was wondering whether this is the permanent log-in for the admin, or if there is a place I can personalize both in the Admin panel?

I logged out, and found I couldn't get back in, so had to reinstall the software. I'm a little wary of logging out in case it rejects my admin password.

Any ideas?
Sam

Yes, you definitely should set your own password: Admin > Users > Administrators. If you can't log in, you can reset the password via email.


Daniel Leu | Photography   
DanielLeu.com

Offline

#16 2019-05-23 15:27:41

Sam Sampson
Member
Registered: 2019-05-16
Posts: 8

Re: Backlight 2 & MAMP

Many thanks Matt & Daniel. Daniel actually pointed me in the right direction. Maybe with MAMP it doesn't give me a secondary 'Quick Setup' step...but I was able to change it through the Admin > Users > Administrators, as Daniel pointed out.

All good,

Cheers
Sam

http://www.samsampson.co.nz/

Offline

#17 2019-05-23 20:37:13

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,989

Re: Backlight 2 & MAMP

Sam Sampson wrote:

Maybe with MAMP it doesn't give me a secondary 'Quick Setup' step...

I have a nagging suspicion that there is a scenario that prevents the Quick Setup page from appearing. Too many customer requests of late mention their admin passwords still being the default.
I haven't seen this myself - the Quick Setup always shows for me on first login, including in MAMP installations.

Offline

Board footer

Powered by FluxBB