• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

"An unidentified error has occured"

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.
0
JonoBB
Asked:
JonoBB
1 Solution
 
alexhoganCommented:
Have a look at this TechNote;

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

http://www.interaktonline.com/Products/Free-Products/PHAkt/Technotes/Details/An+unidentified+error+has+occured+-+Dreamweaver+with+PHP.html?id_thn=57

It describes in detail what to do when confronted with this error.
0
 
JonoBBAuthor Commented:
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.

0
 
moduloCommented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now