Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Wamp V2 - Dreamweaver MX (6.1) DB Connections

New Here ,
Jan 06, 2009 Jan 06, 2009
Just for the record, if anyone is trying to develop using DW MX (V6.1) with a LOCAL Apache server (V2.2.x), running PHP v5.x.x and mySql uder Windows, it is likely that you will get problems generating database connections.
I spent a frustrating few days chasing down an "an unidentified error has occurred" message when trying to connect to a mySQL DB that I knew was good..
The solution is simple - in Wamp, select PHP/PHP settings and set the "register long arrays" setting.
The underlying problem is that $HTTP_POST_VARS was deprecated in PHP V5 needs the above setting to function as designed in the code inserted into PHP code under MX (v6.1).
Alternatively, use PHP v2.0 and Apache V4

YY
TOPICS
Server side applications
389
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2009 Jan 06, 2009
LATEST
yydelilah wrote:
> Just for the record, if anyone is trying to develop using DW MX (V6.1) with a
> LOCAL Apache server (V2.2.x), running PHP v5.x.x and mySql uder Windows, it is
> likely that you will get problems generating database connections.
> I spent a frustrating few days chasing down an "an unidentified error has
> occurred" message when trying to connect to a mySQL DB that I knew was good..
> The solution is simple - in Wamp, select PHP/PHP settings and set the
> "register long arrays" setting.
> The underlying problem is that $HTTP_POST_VARS was deprecated in PHP V5 needs
> the above setting to function as designed in the code inserted into PHP code
> under MX (v6.1).
> Alternatively, use PHP v2.0 and Apache V4
>
> YY

Or upgrade Dreamweaver to a version that isn't ancient ;)

Dooza
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines