Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 7th, 2004, 04:20 AM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to malachany
Default A unidentified error has occured.

I am new to the whole PHP and MYSQL idea. My problem right now is that I installed everything. As in my IIS, PHP, MYSQL. I can access all three outside of dreamweaver. So I know htey all work fine. When I am in dreamweaver and try to setup the MySQL connection with the database it gives me a message that reads, "A unidentified error has occured.". Ive read online at the macromedia site and it says to do a couple of things like change info in the php.ini file or the connection file in dreamweaver connections directory. Neither worked. It also said to try and download the updater. But it wont install, keeps reading "Dreamweaver MX not in the directory." It is in the appropriate directory. Does anyone have any ideas? 2 days of trying is making me upset. lol. Thanks in advance for your assistance.
   -Jerry

Reply With Quote
  #2 (permalink)  
Old December 7th, 2004, 03:14 PM
Registered User
 
Join Date: Dec 2004
Location: Hutchinson, MN, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to jimmart Send a message via AIM to jimmart Send a message via MSN to jimmart Send a message via Yahoo to jimmart
Default

What version of MySQL are you using?
Dreamweaver uses the OLD password system.
You can get more info at http://dev.mysql.com/doc/mysql/en/Old_client.html

Jim Martinson
jmartinson@ridgewater.edu
Instructor - Computer Systems Technology
http://cst.ridgewater.edu http://JimMartinson.com
Ridgewater College - Hutchinson Campus
http://ridgewater.edu
2 Century Avenue S.E.
Hutchinson, MN  55350
1-320-234-0335
1-800-222-4424
Reply With Quote
  #3 (permalink)  
Old December 8th, 2004, 04:16 PM
Authorized User
 
Join Date: Nov 2004
Location: York, , United Kingdom.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problems and spent about a week with constant headaches over this problem, but allowing old passwords cured the "unidentifed error" problems, but trust me there will be a lot more to come, as I am currently experiancing at the moment...
Make sure you have your php.ini file set up to work with MySQL too.
Reply With Quote
  #4 (permalink)  
Old December 8th, 2004, 08:57 PM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to malachany
Default

Cool. Thanks everyone for all the help.
   -Jerry

Reply With Quote
  #5 (permalink)  
Old December 21st, 2004, 03:15 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I recently had the "An Unexpected Error has occurred" problem after setting up an existing site on a new computer and trying to connect to the database.

The solution for me was simple. A testing server has to be configured for database access to work. Since I was working with existing pages, it didn't notify me that I had forgotten to set up the testing server. After setting up the testing server, everything works fine.

Hope this is helpful to someone!

--
Brian
Reply With Quote
  #6 (permalink)  
Old January 10th, 2005, 05:14 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem too.

how do I check the setup of my php.ini?

I remove the ';' of all the extensions in the php.ini file.

I tried few different suggestions but none of them work.
is it my server set, php or mysql setup?? I am confused


cheers

I am using apache 2.0.52, mysql 4.1.7, php 5.0.2, dreamweaver 7.0.1




Reply With Quote
  #7 (permalink)  
Old February 4th, 2005, 10:31 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

(The forum added some underlines to this post. Please ignore the underlines.)

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
Reply With Quote
Reply


Thread Tools
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
Generic error occured in GDI+ labby C# 0 December 19th, 2006 09:57 AM
An unidentified error has occured p2ptolu MySQL 0 October 28th, 2005 08:40 AM
Error message exeption occured Toran Classic ASP Databases 0 March 10th, 2004 06:32 PM



All times are GMT -4. The time now is 05:37 AM.


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