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 | 1020 views | 8 replies

Eric Mittman

It seems that you have the db and site setup correctly and the globals setting look fine also. What does not seem rite though is the message you are getting at the top of the page, I think the message you are getting with the link to the login page is the same issue. It seems that your php server is not running or turned on. If php were running you should not see the php code, you should only see the output of this code in your page. The only way you should be able to see the php code on your page is if you are viewing the .php page in DW or another editor or through the file protocol in a browser.

To do a test of the php server you will need to make a php info page. You can do this by having any php page with this as the first line:

php:
<?php phpinfo(); ?>



You can have a page that has only this line of code on it, you just need to ensure that it is a .php page. Test this page out and it should give you all the details for you PHP server.

Someone else looking at this thinks that your testing server URL may not be set correctly in your testing server, what do you have for the URL prefix in your testing server settings in DW? The testing server url prefix should be like you have here in the globals file:

test_store/

Please check these things and let us know what you discover, also let us know what is present in the address bar when you attempt to preview one of these pages.

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...