Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old August 10th, 2004, 03:45 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

To what account did you give permissions where? Did you give permissions to the database file, or to the folder it resides in?

Can you elaborate a bit about your setup? E.g. OS, format of disk, location of files and the suer accounts you're using?

Cheers,

Imar
  #12 (permalink)  
Old August 16th, 2004, 08:38 PM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mylai
Default

Thanks for the reply.

I gave the permissions to both the database file and the folder it resides in.

I tried on 2 computers. One is using XP as OS and Dreamweaver MX. Another is using XP and MX2004. The one using MX works well but error occurs in MX2004. The way I did for both is exactly the same.



Quote:
quote:Originally posted by Imar
 To what account did you give permissions where? Did you give permissions to the database file, or to the folder it resides in?

Can you elaborate a bit about your setup? E.g. OS, format of disk, location of files and the suer accounts you're using?

Cheers,

Imar
  #13 (permalink)  
Old August 17th, 2004, 01:57 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

This is really weird. When the Everyone group can access the database and the folder that the database is located in, you shouldn't get this error.

Are Dreamweaver and the database located on the same machine? If not, where do you test the database connection?
And does the same problem occur at run-time?

Cheers,

Imar
  #14 (permalink)  
Old August 30th, 2004, 01:51 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mylai
Default

Both Dreamweaver and the database are located on the same machine.

I uninstalled Dreamweaver MX2004 and installed Dreamweaver MX and it now works well.

Thanks, anyway.

Quote:
quote:Originally posted by Imar
 This is really weird. When the Everyone group can access the database and the folder that the database is located in, you shouldn't get this error.

Are Dreamweaver and the database located on the same machine? If not, where do you test the database connection?
And does the same problem occur at run-time?

Cheers,

Imar
  #15 (permalink)  
Old December 6th, 2004, 12:50 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running XP SP1, Access 2002 and DW MX. I had the same problem, I just re-installed (without uninstalling) MDAC (microsoft data access components, version 2.8 in my case), everything is working fine again even without the need for a reboot. Hope this works for you also.

  #16 (permalink)  
Old February 4th, 2005, 10:30 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SUMMARIZING 4 TROUBLESHOOTING POINTS FOR MYSQL CONNECTION

1) In Dreamweaver, go to Sites/Manage Sites/Advanced, in “Testing Server,” be sure to configure URL prefix: http://localhost/ .... See Check the URL Prefix in the Site Definition at Macromedia.com. (Note that the URL prefix does not always need to point to http://localhost/. Right now, we are just using localhost as the troubleshooting web site. The important thing is for “URL prefix” to point to the document root address of whichever testing web site you are connecting to.)

2) Make sure that the MySql extension is activated in php.ini. Take the ; off the left side of the line in order to activate: extension=php_mysql.dll

3) Make sure that extension_dir = “c:\php\ext” is activated in php.ini, and that it points to the correct directory where php_mysql.dll is located.
For PHP5: extension_dir = “c:\php\ext”
For PHP4: extension_dir = “c:\php" Use this if you followed PHP4 installation instructions and copied all the extensions from c:\php\extensions to c:\php.

4) Make sure that PHP is working in Apache server. Does browsing to your http://localhost/phpinfo.php page display PHP graphics and data?

BLANK PAGES AND ERROR CODES IN DREAMWEAVER

The Dreamweaver Tutorial has you create PHP code on two pages: comments-view.php and comments-add.php. The problem is that after you complete the tutorial instructions, both pages display as blank pages in your Internet browser.
If you’re working on those pages in Dreamweaver, when you click on “Live Data View” you get the following error code:

The testing server did not execute any of the scripts in your document. Possible explanations include:
1) The testing server is not running.
2) The testing server ignores files with the ".php" file extension.
3) Your document does not contain any scripts.

This is caused by a parsing problem in PHP, i.e the PHP code hangs up and your Apache server gives you a blank page. The solution is to make a change in the php.ini file. Change short_open_tag = on to make it read: short_open_tag = off

Good luck. I hope this helps.

REFERENCE:
 http://www.thriftyplaces.com/html/dr...hp___apac.html
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 12 Error with binding Calendar? rsearing BOOK: Beginning ASP.NET 2.0 and Databases 2 October 9th, 2006 07:51 AM
DB Connection error please help koco ASP.NET 1.0 and 1.1 Basics 3 June 8th, 2006 09:08 AM
Minor textual error chapter 12 bottom of page 406 haguna BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 April 16th, 2006 05:48 PM
Chapter 12 code error rsteph7 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 34 August 18th, 2004 01:53 PM



All times are GMT -4. The time now is 06:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.