View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Set up your MySQL database with MAMP

Thread began 1/08/2010 12:59 pm by keithlogan347721 | Last modified 1/13/2010 12:34 pm by keithlogan347721 | 1029 views | 8 replies

keithlogan347721

Hi Eric,

To be honest this is my first time in setting up MAMP, creating the database etc

As far as I can tell the database is correct, if I use phpMyAdmin I can see the database that I created and also the tables that I copied in from PowerStore database. I then followed the instructions on how to link it with DW, I can then see that the database and the included tables with the database dialog in DW.

So, if I open a browser (FireFox) and navigate to the test_store directory. I choose the index.php and hit open. The page opens but at the very top I see the following code:

GetContent(); ?> redirStr != "") { header("Location: ".$WA_Store_Cart->redirStr); } ?>

If I click on the Login link in the top right hand corner I get the following error:

Firefox can't find the file at /Applications/MAMP/htdocs/test_store/<?php echo($assumedRoot); ?>users_LogIn.php.

I'm not sure I have the info correct in the WA_Globals file. Here is what I have:

<?php
$WAGLOBAL_Root_URL = "http://localhost/test_store/" ;
$WAGLOBAL_Site_Name = "My Store" ;
$WAGLOBAL_Address = "8899 University Center Ln Suite 330";
$WAGLOBAL_City = "San Diego";
$WAGLOBAL_State = "CA";
$WAGLOBAL_Zip = "92122";
$WAGLOBAL_Country = "US";
$WAGLOBAL_GoogleAPIKey = "ABQIAAAAXafbUiGiRYj0bogExLhVCRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxT5czkOfeMRZCjwJ7_QG4gFmJ1OGQ";
$WAGLOBAL_localRoot = "/test_store/";
$WAGLOBAL_remoteRoot = "/";

Does this help?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...