Solved

Beginner Problems setting up web application in dreamweaver

Posted on 2004-04-18
7
153 Views
Last Modified: 2012-05-04
Hi, I was wondering if anyone can help me.

I have been following the getting started tutorial, and have had no problems until I get to the 'Developing a web application ' part. First I tried to do it in ColdFusion, but when I tried to view the live data for the comments-view page, I got an error saying I needed a browser that supported frames!? I have mozilla and IE6. The comments-add page wouldn't preview properly either.

Now I am trying to use PHP. I have Apache2, PHP and mySQL installed and working (I think) on my machine. But again when I try to view the live data for the comments-view page, I get an error saying:

The testing server did not execute any of the scripts in your document! Possible explanations include:
1/ The testing server is not working.
2/The testing server ignores files with the ".php" file extensions.
3/Your document does not contain any script

I am new to all this, but everything seems to be going smoothly until I try to view the live data. When I try to preview the comments-view or comments-add pages I just get a blank page.

It appears to me as though the problem is in the setup in DW. If anyone has the solution to any if not all these problems then please let me know.

Thanks in advance
James
0
Comment
Question by:JimmyTree
  • 2
  • 2
7 Comments
 
LVL 19

Expert Comment

by:webwoman
Comment Utility
Do you have a web server? If you don't, you can't use live view for any server side scripts.
0
 
LVL 10

Expert Comment

by:Havin_it
Comment Utility
Are you sure this is a DW configuration problem?  ie Can you view any pages normally through your brow ser with an address like http://localhost/index.php (or even index.html)?
0
 

Author Comment

by:JimmyTree
Comment Utility
I can view pages with the address  http://localhost/....., everything seems to be working ok, until I get to the section in the tutorial about setting up a web application.

When I try to view the pages in this section through my browser I get a blank screen.

Isn't Apache my server. I'm hosting locally.
0
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
Comment Utility
Sounds like you don't have SQL and/or PHP set up correctly. They should have test data, try using that BEFORE you try to set up something in DW.

Because unless you know FOR SURE you have PHP/SQL set up right, you don't know WHERE the problem could be.
0
 

Author Comment

by:JimmyTree
Comment Utility
I have now solved this error by using phpdev, which has php, apache, and mysql preconfigured in one package.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now