Fatal error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Fatal error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER

Postby Amlogic » 17. October 2014 16:47

Hello, hope someone can help me :)

Steps i made to run my XAMPP webserver on Windows 7:

Installed Xampp server 1.83 successfully. Server is up and running (Apache and MySQL). I am able to open the localhost ( )
page correctly.
Extracted a odm-web-master.zip to: C:\xampp\htdocs\odm
Created a new databank in phpMyAdmin: odm / uttf_unicode_ci
Imported odm.sql successfully
now i see 4 tabels: gcm_data, gcm_messages, gcm_users, users
Now open IE: http://localhost/odm/

Results in fatal error:

Fatal error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE' in C:\wamp\www\odm\include\db.php on line 7
Call Stack
# Time Memory Function Location
1 0.0030 148480 {main}( ) ..\index.php:0
2 0.0080 205352 dbconnect( ) ..\index.php:4

Any idea where it went wrong?

Thanks a lot!
Posts: 1
Joined: 17. October 2014 16:37
Operating System: Windows 7

Re: Fatal error: Undefined class constant 'MYSQL_ATTR_MAX_BU

Postby Nobbie » 17. October 2014 20:45

You should ask in an odm-webmaster forum (whatever that is), because this is an programming error, the software *should* evaluate, it there is such constant (before using it).
Posts: 8941
Joined: 09. March 2008 13:04

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests