54 replies [Last post]
Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

...do not seem to get along...or at least have a minor problem.

I realise I've made this a bit more difficult with my "fluffy" editor instead of installing something you have which you can just go and check...but you're all such cleverclogs I live in eternal hope Smile

So I installed editrocket and tried to open a file in the browser (FF3). It did this with one file. When I try another it can't do it and gives me -

Quote:

Failed to Connect

Firefox can't establish a connection to the server at localhost.

Though the site seems valid, the browser was unable to establish a connection.

* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.

Try Again

The address bar shows http://localhost/index.php which is not correct (see below)

Tried the original file again (3 or 4 times) and it showed in the browser again. I then saw (in the left panel of the editor) that it was creating copies of the file and appending a 4-digit number before the .html

Quote:

file://localhost/Users/vck/Deb-Web/msavers/aboriginal-mhfa-course-outline2476.html

This is the correct path with the "extra" number.

I cannot get this file to show in the browser this morning - it keeps coming up with the "Failed to Connect" error along with the others.

I've attached a snap of the web server info in ER. I figured this wasn't working with Mac's own Apache and because I didn't have MAMP installed, so have been downloading and nearly got to the end when the connection failed *groan*.

However...when I closed the app windows down last night, there was a FireFTP box!!!! giving the old 530 login error! The same number of times as I had new numbered files. Was it trying to use FireFTP somehow? It wasn't open.

Any ideas/help appreciated as always.

AttachmentSize
ER_webserverinfo.gif27.93 KB

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Tags:
Triumph (not verified)
Anonymous's picture
Guru

Finding localhost.

"http://localhost" or "http://127.0.0.1" does not point to hard drive root. It is at "/Library/WebServer/Documents" (which is not your Documents folder, it's a different Documents folder).

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Hi Triumph I didn't

Hi Triumph Smile

I didn't actually put that in - it's what was there. So are you saying I should replace the top line with...ummm...what?

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

No. I'm saying you're not

No. I'm saying you're not putting the files in the right place.
Go to your "Go" menu choose "Go to folder ..." type in "/Library/WebServer/Documents" put your stuff in there.

You can't just make a folder called localhost and expect it to work. I'm sure there is some way to make any folder work as localhost but I've never done it.

When you type http://localhost it looks in "/Library/WebServer/Documents". If you have a site named "slingniche" http://localhost/slingniche will point to "/Library/WebServer/Documents/slingniche/index.php" (or .html).

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:When you type

Quote:

When you type http://localhost it looks in "/Library/WebServer/Documents". If you have a site named "slingniche" http://localhost/slingniche will point to "/Library/WebServer/Documents/slingniche/index.php" (or .html).

Very Important Stuff you just added! Smile However when I open the editor it is set to see the "/users/vck/etcetc so I can't see the files I've just moved Sad

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

The editor should be able to

The editor should be able to open any files anywhere on the hard drive.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Yes, I know. But the path is

Yes, I know. But the path is being preset somewhere and I'll have to find where. That's okay.

Now back to the web browser setup I attached above. What if anything do I have to change in those 2 lines please?

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Smee wrote:Yes, I know. But

Smee wrote:

Yes, I know. But the path is being preset somewhere and I'll have to find where. That's okay.

Now back to the web browser setup I attached above. What if anything do I have to change in those 2 lines please?

no idea but if I had to guess I'd say if the folder you dropped into "/Library/WebServer/Documents" is named msaver then I'd put "/msaver" in the second line. Leave the http://localhost alone.

Where are you seeing those settings?

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Okay then I'll try that.

Okay then I'll try that.

It's a setting called "Set Local Web Server Properties" under Tools in ER.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Okay,, just typed the new

Okay,, just typed the new path in the ER as /Library/WebServer/Documents/msavers then opened a file and hit the "web browser" button and it says

"Please enter a valid path for the document root"

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

try "msaver" instead of

try "msaver" instead of "/msaver"

Triumph (not verified)
Anonymous's picture
Guru

Using EditRocket is like

Using EditRocket is like playing "Dr.Jekyll and Mr.Hyde" on NES.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Ack! You replied while I

Ack! You replied while I was trying to edit to add...

ETA: So I went back to the ER browser settings and put the full /Library/WebServer/Documents/msavers in there and we're back to the original "Failed to Connect" error

What's NES? Laughing out loud

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Nope...that produced the

Nope...that produced the "Please enter a valid path" thing. Seems the http://LocalHost/ isn't pointing to that full path? I have to enter it on the second line to invoke the browser which still can't find msavers.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Type

Type "http://localhost/msaver" in your browser.

Triumph (not verified)
Anonymous's picture
Guru

Smee wrote:What's NES?

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:Type

Quote:

Type "http://localhost/msaver" in your browser.

"Failed to Connect"

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Have you bothered to turn on

Have you bothered to turn on your Web server?

Apple menu -> System Preferences... -> Sharing -> Turn on Personal Web Sharing.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

No! Just did though I only

Shock No! Just did though I only have Web Sharing or Internet Sharing - nothing "Personal"

ER gives a new message in the browser...

Quote:

Not Found

The requested URL /index.php was not found on this server.

The address bar has http://localhost/index.php which is the file I'm trying to load to the browser.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

I'm going Full Metal Jacket over here.

Smee wrote:

Shock No! ...

AHHHHHHHHHHHHHHHHHHHHHHHHHHH!

Well, is there a file called index.php in /Library/WebServer/Documents/
?

Just do http://localhost in your browser and tell me if anything comes up.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Sorry...reading "something

Sorry...reading "something awful" - which it is. Tongue

Yes - index.php is msavers home page.

Yaaaaay....progress....got the Apache message...

Quote:

If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
Seeing this instead of the website you expected?

This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues.

The Apache documentation has been included with this distribution.

You are free to use the image below on an Apache-powered web server. Thanks for using Apache!

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Great. So type in

Great. So type in http://localhost/msavers

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Got the "Index of/msavers" -

Got the "Index of/msavers" - i.e. a listing of the parent directory.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:I'm going Full Metal

Quote:

I'm going Full Metal Jacket over here.

Tongue Just imagine how much more you'll know when I've finished with you Laughing out loud

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Smee wrote:Got the "Index

Smee wrote:

Got the "Index of/msavers" - i.e. a listing of the parent directory.

What's in the msavers folder? It's looking for either index.html or index.php

I'm going to bed.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

I've taken a snapshot so you

I've taken a snapshot so you can see what's in there - yes index.php is the home page.

AttachmentSize
lib-webserver-docs-msavers.gif 30.96 KB

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:I'm going to bed. I'm

Quote:

I'm going to bed.

I'm not surprised it's that time - thanks Triumph Smile

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Triumph (not verified)
Anonymous's picture
Guru

Smee wrote:I've taken a

Smee wrote:

I've taken a snapshot so you can see what's in there - yes index.php is the home page.

Have you installed PHP?

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Ummm...not that I'm aware of

Ummm...not that I'm aware of :?

Sorry T....this is painfully slow because of the MAMP dnload. It's taking forever just to switch between csscr screens. Thank you for your patience but it's probably better to leave it till tomorrow when I'll have hopefully installed it and we can go from there.

Where do I get PHP and I'll do that too.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

rofl You need MAMP

rofl

You need MAMP really.

IIRC the default Apache install either didn't come with PHP installed or it was a problem in some respect, MAMP is a better offering the advice I came across for Macs and personal web servers was avoid the default install.

To test place a file in the main doc root localhost/index.html in that write

hello i'm a plain old dot html file without any pretences to something more sophisticated

If you do manage to get MAMP downloaded and installed, remember to go and turn off personal web sharing.

Setting up VHOSTS is the way to go and releases you from http://localhost/newsite/ although this isn't a huge problem as long as you are sussed and create a directory structure that mirrors your web host i.e the directory /newsite/ would equate to the web host doc root (htdocs, htmldocs or however they have named it) the actual folder /newsite/ is never itself uploaded only it's contents.

Localhost is a general naming convention that always means the current machine you're working on, the web server is set to see http://localhost/ as the servers doc root, later when you get settled we'll explain how to create a folder structure that can exist anywhere on your machine, how to dibble dabble with your hosts file to set dev urls i.e newsite.com.dev so that http://newsite.com.dev would point to your dev directory structure and how to create vhost entries to httpd.conf or httpd-vhosts.conf to set up site structures

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Triumph (not verified)
Anonymous's picture
Guru

Hugo wrote:rofl

Hugo wrote:

rofl

You need MAMP really. ...

I'm calling in R. Lee Ermey. I didn't want to but ...

Hey, Hugo. I've got to take my car into the shop and I'll be gone most of the day. You taking over on this?

Smile

I usually just use the pre-installed version of Apache on the Macs here and install php and mysql from here.

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 9 years 35 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

MAMP does make things easier

MAMP does make things easier and for a relative newcomer, if you need PHP I think its the best way to go.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:I'm calling in R. Lee

Quote:

I'm calling in R. Lee Ermey. I didn't want to but ...

Hey, Hugo. I've got to take my car into the shop and I'll be gone most of the day. You taking over on this?

Drill instructors worked seven days a week, fifteen to seventeen hours a day in many cases, with no time off in between platoons.
R. Lee Ermey

tsk, tsk, tsk - one day and he's gone....Tongue

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Hugo wrote:rofl You need

Hugo wrote:

rofl

You need MAMP really.

Hello Hugo Wink I've got MAMP!! Smile *preens*

1. MAMP installed to Applications
2. Widget installed to Dashboard*
3. msavers now in /Applications/MAMP/htdocs/msavers**
4. Apple/system preferences/sharing/web server = unticked
5. Changed ER's local web server preferences (see attached)

* Have started server but "open start page" does nothing.
** put this path in edit rocket (ER) and it found my files Smile

Pressed the world ("show in web browser button") - "Failed to Connect" Sad

ETA: My feeling is that I have to redirect the http://localhost/ in the ER web services preference but since I can only find a Mac support article to do this for the installed Mac Apache - I don't want to tackle it without guidance for MAMP.

AttachmentSize
ER-webprefs.gif 35.28 KB

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 9 years 35 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Drop a test page into

Drop a test page into /Applications/MAMP/htdocs. Just something simple that says "Yippeee! It works!!". If your test page is called "testpage.html", try viewing it by putting http://localhost/testpage.html in your browser.

In ER, it could be you need either:
- the PHP URL to be, http://localhost/msavers, or
- the document root to be, /Applications/MAMP/htdocs

Strictly the second one is correct, that directory is your document root and msavers is in a sub-directory.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Hi Chris Okaaaaay! Did the

Hi Chris

Okaaaaay!
Did the testpage .html and put it in htdocs
Changed ER web server properties to http://localhost/ and the PHP doc root to /Application/MAMP/htdocs/

Hit the "world" button in ER and IT WORKED!! Smile

file://localhost/tmp/testpage51664.html was in the address bar it's stuck a number on it again Sad

So it found it because I put it in htdocs and not the htdocs/msavers folder - but I need to keep my web pages in their "home" folder within htdocs e.g. bbakehouse, nasmsite, msavers.

AttachmentSize
ER-webserverprops.tiff 0 bytes

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 45 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

okay - i bet i can fix the

okay - i bet i can fix the problem!!

try http://localhost:8888/msavers/ or http://localhost:8888/testpage.html

If that works, it's because you are using the default MAMP settings.

Open up MAMP, click Preferences, Click the Ports tab and then click the box labeled "Set to default Apache and MySQL ports".

Hit okay and the Apache and MySQL servers will restart automagically.
After you get greenlights, try it without the :8888

Lemme know how that works!

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Yaaaay Deuce! The first

Yaaaay Deuce! Smile

The first one worked! (http://localhost:8888/msavers/)

Stick around a bit please while I try the rest...

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

BINGO!!! *clapping

BINGO!!!

*clapping wildly*

{mwah} to all who helped Smile

No doubt there's more to come but at least I can get on with msavers - thank you so much Deuce Smile

ETA: I forgot to add it works with my "fluffy" editor toooo Smile

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 9 years 35 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

Smee wrote:So it found it

Smee wrote:

So it found it because I put it in htdocs and not the htdocs/msavers folder - but I need to keep my web pages in their "home" folder within htdocs e.g. bbakehouse, nasmsite, msavers.

We'll get to that later Smile

Hugo's mentioned it before. You will need to setup "Virtual Hosts", which is a way of making one webserver map different host names to different directories - giving you multiple independent websites. If you want to go ahead with that now, just ask Wink.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:If you want to go

Quote:

If you want to go ahead with that now, just ask Wink

Really sweet of you Chris but since I definitely need to get on with getting msavers live by next Monday - I'll leave it till then please. Thanks again Smile

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

missed loads of posts not

Smile missed loads of posts

not much useful to add so I'll waffle regardless Smile

So your good to go for the moment?

Understanding of the fact that http://localhost/ refers to the physical directory called htdocs ?

setting a folder in that htdocs i.e htdoc/msavers/ for the moment would need to accessed as http://localhost/msavers/

as for uploads you would consider /msavers/to represent htdocs - or whatever it's called - on your hosting account, so only the files and folders under /msavers/ would be transferred into the hosting accounts doc root i.e htdocs you are in effect transposing /msavers/ to htdocs live or loosing one folder; live http://localhost/ becomes http://example.com/ and as it does locally refers to the docroot.

When ready Vhosts does make life a lot simpler as you can mirror a hosting account in literal structure this has benefits where server side scripting is concerned or where you need to work from relative paths as what works locally will work live.

shout and one of us will guide you through the basics of simple vhost configuration, I'll defer to Chris's greater experience in these matters though but will happily help where possible

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Quote:as for uploads you

Quote:

as for uploads you would consider /msavers/to represent htdocs - or whatever it's called - on your hosting account, so only the files and folders under /msavers/ would be transferred into the hosting accounts doc root

Yes I'm happy with that - it's what I was used to - remember you got me to install Xampp and I later changed it for Xampplite. So I'm reasonably happy that I have some field of reference here.

The guys were great! Triumph's initial efforts helped me understand how things interlocked when I didn't have MAMP to do it for me and I was getting somewhat frustrated because I could see it was going to be something simple...something wasn't pointing at the right something as it were (very techie) - and I'm definitely relying on you all for further troubleshooting Smile

Hey! I've said before if it can't be solved here, chances are it can't be done Smile

I'll exhume this thread, or start a new one more likely, for VHosts in about a week.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Another minor thing if you

Another minor thing if you will guys?

When I press the "world" in ER for browser view, it's fine, it goes to FF and opens a new tab.
Except I'm drowning in new tabs. PSPad used to simply open it in the active tab.
Is there anyway to get ER to do this? In other words, is it ER, MAMP or FF?

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 12 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Arghh! With the buttons

Arghh! With the buttons again.

Save your work, switch apps (alt-tab in Linux or Windows), then refresh (f5 or ctl-r in Linux or Win). Then it's alt-tab back to the editor. Keep your hands on the keyboard. If I've told you once, I've told you thrice. What I've told you three times is true.

See my sig.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Pretzel-r... Ta Gary!

Pretzel-r... Ta Gary! Smile

ETA: Still seems long-winded instead of click from css to any one of perhaps 6 files I have open in the editor and then click world - how do you select the particular file you want to display when you've just finished the css change and want to display the changed file? Bearing in mind as I said, you could have 6 open.

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 12 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

How would you view different

How would you view different documents in your browsers anyway? If you're working on a css file, save and switch to your browser. It'll be open to the last page you viewed. Rotate through your history, or tabs, if you've got the docs open that way, to see all the pages that css file controls.

When you've seen what you need, switch back to the editor and continue working.

Up to several keystrokes is always faster than using a GUI pointer.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 4 years 48 weeks ago
Adelaide, Oz
Timezone: GMT+9.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Wgy Gary...I do believe

Why Gary...I do believe you're beginning to convince me! Laughing out loud

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Do I get the impression here

Do I get the impression here that we are trying to use features of the editor that simply are not necessary? what is this 'world' thing?

Gary has said all this but in the editor having made and saved a change one simply alt-tabs to the browser application and hits a force refresh combo then alt-tab back to the editor. I don't want the editor doing any more for me than that, I don't want any previews etc I open files from a project tree where I have set up network access directly to top level folders or ftp access so hitting ctrl-s always saves back to the correct folder, I usualy have multiple files open in the editor and cycle through those using ctrl-tab. It's a simple life but effective.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 12 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

that's command tab in OS X

in OS X it's command tab to switch applications and command R to refresh (or reload) browser tabs

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Quite right it is both of

Quite right it is both of those and I shouldn't have been speaking Windows, but that key, here on this thread, is referred to as the pretzel key please Smile

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me