"An unidentified error has occured"

Posted on 2005-04-06
Last Modified: 2010-04-25
I have set up Apache, PHP and MySQL on a windows network.

I am running Win XP SP2, Apache 2.0.53, PHP 5.0.4, MYSQL4.1.10a.

I have set up a php-mysql website in Dreamweaver and confirmed that Apache and PHP work fine (I can access any PHP coded page across the network) and MySQL works fine (I can connect using Query Manager, Administrator or an ODBC connection across the network).

However, when trying to connect to the mysql database via dreamweaver, I get one of the most infuriating errors that I have ever come up against - "An unidentified error has occured".

I have scoured these forums and the net and tried to implement very possible solution, and still come up with the same error.

I have tried to connect from the PC hosting the MySQL server, from my PC, both with the same result. I have made changes to the php.ini file, etc.

Any help suggestions much appreciated. If I could make this question worth more than 500 points I would.
Question by:JonoBB
    LVL 8

    Expert Comment

    Have a look at this TechNote;

    PHAkt Technote Details :: An unidentified error has occured - Dreamweaver with PHP

    It describes in detail what to do when confronted with this error.
    LVL 8

    Author Comment

    I managed to get this sorted out last night after running though every possibility, and as I suspected, the error was with the php.ini file. Not with the file itself, but its location. It seems that Apache/PHP have a list of places to look for the file in a certain order, and it was using the php.ini file in C:\WINNT before the one stored in C:\PHP. A simple file copy and paste sorted this out.

    Thanks for the reply anyway - indeed a good article.


    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    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

    Suggested Solutions

    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 …
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    745 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

    19 Experts available now in Live!

    Get 1:1 Help Now