Wash: Captain, didn't you know kissin' girls makes you sleepy? Mal: Well sometimes I just can't help myself.

'Our Mrs. Reynolds'


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!


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.


Theodosia - Jul 29, 2007 3:11:57 pm PDT #2283 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"

OK, when I RESTART my iBook and load MAMP before anything else, I can start phpMyAdmin with a URL like

http://localhost:8888/MAMP/frame.php? src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1 &language=English
(I've added a couple spaces so that it breaks OK)

The normal Start page is

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

All of this might as well be French to me. There's a reason that I'm a developer and not an admin.


§ ita § - Jul 29, 2007 3:13:41 pm PDT #2284 of 25496
Well not canonically, no, but this is transformative fiction.

What happens when you go to [link] ? I mean, assuming you have a file called whatever.php with code in.