[Pro] Setting up Mamp

Hi everyone, I’ve seen there are a few posts concerning Mamp but there also seem to be varying comments on what you don’t and don’t need.

What I’m after is some way for me to check my sites built using Freeway & WebYep without having to upload them after every change. It doesn’t need to be accessible by the client, just for me to check over.

Can anyone give me a definitive explanation as to what I need and where to put stuff to make this work for me please?

thanks
Trev


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Trev,
Download MAMP and you’ll find an htdocs folder in the MAMP folder. When you start MAMP up this is where your sites will be served from. If you want to develop and test several sites at the same time look at MAMP Pro or Virtual Host X (http://clickontyler.com/virtualhostx/) which will allow you to map test domains (www.mysite.web for example) to specific folders inside the htdocs folder.
Regards,
Tim.

On 20 Dec 2012, at 17:38, Trevreav wrote:

Can anyone give me a definitive explanation as to what I need and where to put stuff to make this work for me please?


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Many thanks Tim, it’ll only be one site at a time, so I probably won’t need to go to the PRO version.

Hoping to have a run at it tomorrow!!

Trev

On 20 Dec 2012, at 17:56, Tim Plumb wrote:

Hi Trev,
Download MAMP and you’ll find an htdocs folder in the MAMP folder. When you start MAMP up this is where your sites will be served from. If you want to develop and test several sites at the same time look at MAMP Pro or Virtual Host X (http://clickontyler.com/virtualhostx/) which will allow you to map test domains (www.mysite.web for example) to specific folders inside the htdocs folder.
Regards,
Tim.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Good morning Tim, I’ve downloaded MAMP, extracted and installed, and all looks right compared to the instructions. My whole working site (html, css, resources etc.) is now transferrred into the htdocs folder, including the webyep-system, the index file is renamed index.php, so I think I’ve covered most bases. MAMP is running.

How do I view it? I’ve tried opening through Safari - it brings up a page of code, double clicking the ‘index.php’ file opens up ExtendScript Toolkit and shows a page of code also.

Sorry to appear stupid, but it’s the first time I’ve tried this - just got tired of uploading to the server to check every change - so any help and pointers much appreciated. On the plus side, I’m managing to put the whole site together as an inline layout, so one more hurdle crossed!

thanks
Trev

On 20 Dec 2012, at 17:56, Tim Plumb wrote:

Hi Trev,
Download MAMP and you’ll find an htdocs folder in the MAMP folder. When you start MAMP up this is where your sites will be served from.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve tried opening through Safari - it brings up a page of code,

Is it all running - if you can see the Mamp test page OK then it is. Click on the ‘Open Start Page’ button on the Mamp controller.

Your site will be at http://localhost:8888/yoursite/

David


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave, thanks for the quick reply, I’m obviously doing something wrong here.

Yes it’s all running. I see the test pages for MAMP > Start, phpinfo, XCache, phpMyAdmin etc. and it says “If you can see this page, MAMP is installed on your Mac and everything is working” and it also says both Apache and MySQL Servers are running in the preferences, so all good there. Is there anything within MAMP I need to configure?

So far I’ve tried:
localhost:8888/paultizzard.co.uk
localhost:8888/index.php
localhost:8888/MAMP/paultizzard.co.uk
localhost:8888/MAMP/index.php

and variations of these. All say page not found or similar

So just to confirm how I have it set up:

Applications > MAMP > htdocs > index.php (and all related files including webyep-system)

Once again, thanks in advance.
Trev

On 21 Dec 2012, at 09:02, DeltaDave wrote:

I’ve tried opening through Safari - it brings up a page of code,

Is it all running - if you can see the Mamp test page OK then it is. Click on the ‘Open Start Page’ button on the Mamp controller.

Your site will be at http://localhost:8888/yoursite/

David


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is getting stranger.

All of the html pages view fine, and I can also see the index.php page but it gets a big black band across it after about 1/2 second or so. I’ve uploaded to my webspace and the same is happening there:

http://www.trevreav.co.uk/PTtest

I have the Webyep init, logon button, loop start, short text, long text and loop end elements added as far as WY is concerned.

Could someone please have a look when you get a spare moment and see if you can work out what is causing the black band which covers the top half of the page?

thanks
Trev

On 21 Dec 2012, at 10:18, Trevor Reaveley wrote:

Hi Dave, thanks for the quick reply, I’m obviously doing something wrong here.

Yes it’s all running. I see the test pages for MAMP > Start, phpinfo, XCache, phpMyAdmin etc. and it says “If you can see this page, MAMP is installed on your Mac and everything is working” and it also says both Apache and MySQL Servers are running in the preferences, so all good there. Is there anything within MAMP I need to configure?

So far I’ve tried:
localhost:8888/paultizzard.co.uk
localhost:8888/index.php
localhost:8888/MAMP/paultizzard.co.uk
localhost:8888/MAMP/index.php

and variations of these. All say page not found or similar

So just to confirm how I have it set up:

Applications > MAMP > htdocs > index.php (and all related files including webyep-system)

Once again, thanks in advance.
Trev


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I now have it all working with MAMP, not a clue what the problem was - a restart seems to have done the trick, but the black band still persists:

http://www.trevreav.co.uk/PTtest

I have a feeling that it MAY be the code generated by Quicktime (to call on the correct movie for whichever device you’re using) when I exported the movie for web, as other pages are working fine. The QT instructions say:
“Use this code in the of your web page:”
In FW there’s no 'in the ', it’s either before or after. I have it after, but also tried before. Could it be this? In which case, any suggestions?

Trev

On 21 Dec 2012, at 11:50, Trevor Reaveley wrote:

This is getting stranger.

All of the html pages view fine, and I can also see the index.php page but it gets a big black band across it after about 1/2 second or so. I’ve uploaded to my webspace and the same is happening there:

http://www.trevreav.co.uk/PTtest

I have the Webyep init, logon button, loop start, short text, long text and loop end elements added as far as WY is concerned.

Could someone please have a look when you get a spare moment and see if you can work out what is causing the black band which covers the top half of the page?

thanks
Trev

On 21 Dec 2012, at 10:18, Trevor Reaveley wrote:

Hi Dave, thanks for the quick reply, I’m obviously doing something wrong here.

Yes it’s all running. I see the test pages for MAMP > Start, phpinfo, XCache, phpMyAdmin etc. and it says “If you can see this page, MAMP is installed on your Mac and everything is working” and it also says both Apache and MySQL Servers are running in the preferences, so all good there. Is there anything within MAMP I need to configure?

So far I’ve tried:
localhost:8888/paultizzard.co.uk
localhost:8888/index.php
localhost:8888/MAMP/paultizzard.co.uk
localhost:8888/MAMP/index.php

and variations of these. All say page not found or similar

So just to confirm how I have it set up:

Applications > MAMP > htdocs > index.php (and all related files including webyep-system)

Once again, thanks in advance.
Trev


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In FW there’s no ‘in the

In the head means after or before

The black band is an overlay that is being triggered - not sure by what.

But why are you not using one of the actions for QT stuff.

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the reply Dave.

I didn’t know there were ant QT actions!! I thought it was safer to export for web through Quicktime as the different file formats seem like a minefield to me.

At least I did manage to put the code in the right place!! I’ll go on Actionsforge this pm and look at what QT actions there are.

thanks
Trev

On 21 Dec 2012, at 13:35, DeltaDave wrote:

In FW there’s no ‘in the

In the head means after or before

The black band is an overlay that is being triggered - not sure by what.

But why are you not using one of the actions for QT stuff.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The QT Reference movie action allows you to determine which quality of video will play on each device (Core Action)

If you have output your movie using QT pro then you will have had the option to output different qualities - these can then be selected using the action.

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks to all who replied on this. I got it working and it saved so much time using MAMP as opposed to uploading the site/pages every few minutes.

I now have the whole site working fine locally on my Mac, but when I upload it, the links to the WbYep sections break, and each page comes out as my Freeway ‘template’, should this work when uploaded? Is there a path somewhere in a file that I need to change? Or do I simply have to repopulate the whole site again?

thanks
Trev


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

do I simply have to repopulate the whole site again?

You can transfer all the files that you have created locally to the server and re-astablish the links.

But using MAMP in this way should really be for testing rather than adding content. If your content is added at the start then does it even need to be done through WY.

Replace the “data” folder inside the webyep-system folder on the server with your local copy.

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave, I’ve done it this way to get the site up to the point that all of the content is the same as the client’s existing site - going live with all details as he has now. The client will be rewriting a lot of it over the holidays and changing during January, just about every page will have some sort of change on it, so there was some sort of method in my madness!

I’ve checked the data folder files on the server and all of the associated WY files are there, but they’re being ignored. I’ve done similar to this before by the following route:

www.mysite.co.uk/clientsite.co.uk (where the client could check it online) and just copied the contents of clientsite.co.uk to their server and it’s always worked fine, so I assumed the ‘clientsite.co.uk’ is the as the contents of the MAMP folder and copied that to the server, but at this point it went screwy. I just wondered if something with MAMP could have caused the problems, being the first time I’ve used it.

At the moment it exists at:

http://www.trevreav.co.uk/PaulTizzard and apart from the homepage (which I added some gobbledegook to to make sure it was seeing the WebYep folder) every other page is blank.

thanks for the reply.
Trev

On 24 Dec 2012, at 09:16, DeltaDave wrote:

do I simply have to repopulate the whole site again?

You can transfer all the files that you have created locally to the server and re-astablish the links.

But using MAMP in this way should really be for testing rather than adding content. If your content is added at the start then does it even need to be done through WY.

Replace the “data” folder inside the webyep-system folder on the server with your local copy.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry, that should read ‘every other page appears blank’. The content is actually there in the WY Data folder.

On 24 Dec 2012, at 09:33, Trevor Reaveley wrote:

http://www.trevreav.co.uk/PaulTizzard and apart from the homepage (which I added some gobbledegook to to make sure it was seeing the WebYep folder) every other page is blank.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

all of the associated WY files are there, but they’re being ignored

So you have transferred the contents of the Data folder from your Mamp setup to the live server. Have you also made sure the correct permissions have been set for the Data folder and its contents.

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave, yes, all permissions are fine. I’ve just uploaded the whole site again to a subfolder on my site and the same thing is happening.

I have another site in a subfolder also, and this one works fine, so not a clue what’s going on with this. As far as this is concerned I think a quick copy and paste to it’s final resting place will suffice, but thanks for all of the help.

Now onto the problem of jerky movies on the site!.

Trev

On 24 Dec 2012, at 10:13, DeltaDave wrote:

all of the associated WY files are there, but they’re being ignored

So you have transferred the contents of the Data folder from your Mamp setup to the live server. Have you also made sure the correct permissions have been set for the Data folder and its contents.

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

And do the relative paths mimic what was on the Mamp server

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave, sorry for the late reply - the wife cornered me into some last minute Christmas shopping!

Yes, I think so. The WebYep folder is at the same root level as the index and associated php pages in both the MAMP htdocs folder, and on the web. The only difference at the moment is that on the web the whole site is hosted on a subfolder until I have the go ahead to make it live. However, when I make any changes to a page on the (semi) live site, they’re all readable and WY works fine, so yes, I reckon it’s a path issue, although as I said before I have another site doing exactly the same thing and that’s working fine.

Thanks for all of the support on this Dave, wishing you a Merry Christmas/Happy Holidays along with all of the rest of the Freeway Christmas Elves.

Trev

On 24 Dec 2012, at 13:25, DeltaDave wrote:

And do the relative paths mimic what was on the Mamp server

D


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options