Oz is the highest-scoring person ever to fail to graduate.

Willow ,'Him'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Kevin - Jul 29, 2007 10:53:11 am PDT #2273 of 25496
Never fall in love with somebody you actually love.

Open your Firefox, go to [link]

You go via the web server (Apache) on your laptop (127.0.0.1)


amych - Jul 29, 2007 10:58:53 am PDT #2274 of 25496
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Where are you storing the files? If you're using the version of Apache that comes with the Mac, php is automatically enabled, but you'll need to be sure to store your files in the Sites folder inside your home folder. (It's possible to tweak Apache to use something else, of course, but for now, easiest to go with the default.)

edit: and after that, what Kevin said (which I should've made more clear). But trying to open files that are on the desktop or wherever is the most common mistake I see with this.


Theodosia - Jul 29, 2007 11:03:13 am PDT #2275 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

When I followed Kevin's link, I got an error:

Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1.

MAMP actually does run right on the Mac, and stores the database files under the Applications folder. I can run queries against them just fine, but when I try to open the .PHP file, it gives a screen with obvious errors in it that makes it clear that the boxes are not being filled by the MySQL queries that the PHP is supposed to be running.


Theodosia - Jul 29, 2007 11:04:33 am PDT #2276 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

And damn, I just realized I'm late to meet a friend. Back to this problem later. SIGH


Kevin - Jul 29, 2007 11:14:22 am PDT #2277 of 25496
Never fall in love with somebody you actually love.

Theodosia, when you go into PHPMyAdmin, what does the address bar look like? I don't know how MAMP works, but it might be running on a different port. In which case it's [link] (if 6000 was the port). amych's advice is also very correct.


amych - Jul 29, 2007 11:14:35 am PDT #2278 of 25496
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

It sounds like apache isn't running, if it can't find localhost. But I need to get out of this thread too!


DCJensen - Jul 29, 2007 1:32:22 pm PDT #2279 of 25496
All is well that ends in pizza.

Did you turn on personal web sharing in System Preferences?


omnis_audis - Jul 29, 2007 1:35:50 pm PDT #2280 of 25496
omnis, pursue. That's an order from a shy woman who can use M-16. - Shir

OK, something for the collective brain. An idea came to me while getting into an oven baked car this summer. Here in CA, the Gubenator has the "Million Solar Roofs" initiative. I had the added idea of Solar Parking Lots. It's not an original idea (see Google headquarters and US Navy Depot in San Diego). My thought was, what if the cities/counties started an initiative that did Solar Parking lots for all the public parking areas, esp at the beach where there is little or no buildings causing shade. The idea being a double benefit. Folks cars would be cooler, and the area would generate power, reducing the need for the coal, oil & natural gas power places. What if they expanded the program, gave incentives to box stores, supermarkets, malls to do the same? Anywhere there are large blacktop expanses. In theory, it would provide power, provide shade, and if adopted on a larger scale, could help reduce city warming (if less blacktop absorbs solar energy, then it would re-radiate less heat during day/eveing)

So the question is... aside from cash to do it, what are the draw backs? What am I missing? Assuming one builds it high enough to accommodate 18-wheelers and such. I would love to post this idea to my Mayor (who drives an EV Rav-4) and our Gubinator.

(x-posted in my LJ)


Theodosia - Jul 29, 2007 2:51:35 pm PDT #2281 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

Apache is definitely running, FWIW -- the MAMP controller says it is. But I have a hell of a time getting MySQL to start running most of the time.


Theodosia - Jul 29, 2007 2:53:49 pm PDT #2282 of 25496
'we all walk this earth feeling we are frauds. The trick is to be grateful and hope the caper doesn't end any time soon"

Also: the local PHPAdmin page URL is:

http://localhost/MAMP/?language=English

This DOES open the PHPAdmin when MySQL actually starts the way it's supposed to. As you can see, it's looking locally for files, and it finds them just fine. Except that I can't see why it isn't recognizing a .PHP file to pick up on.