Closed tigefa4u closed 8 years ago
If you check the readme.html file it states:
Requirements Server-Side Client-Side PHP >= 5 MySQL >= 4 Ruby >= 1.8 (optional) Enabled JavaScript Enabled Cookies Flash Plugin >= 9 (optional) So the version of PHp you are using is not supported.
On Mon, Dec 28, 2015 at 4:15 AM, sugeng tigefa notifications@github.com wrote:
got this on PHP 7 [image: :dash:]
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChat has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatphp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatDataBase has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatDataBasephp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatDataBaseMySQL has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatMySQLDataBasephp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatMySQLQuery has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatMySQLQueryphp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatDataBaseMySQLi has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatMySQLiDataBasephp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatMySQLiQuery has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatMySQLiQueryphp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatHTTPHeader has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatHTTPHeaderphp on line 11
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatLanguage has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatLanguagephp on line 10
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AJAXChatTemplate has a deprecated constructor in C:\xampp\htdocs\wordpress\chat\lib\class\AJAXChatTemplatephp on line 11 Database tables created successfully - please delete this file (installphp)
— Reply to this email directly or view it on GitHub https://github.com/Frug/AJAX-Chat/issues/219.
it just install.php
but smooth on other pages :+1:
It's not really just install.php. You're seeing output on install.php because it sets the error level to E_ALL at the top of that script. Your default error log level is probably set not to display deprecated messages. I will not be supporting php7 until it's released but this is a valid issue. Classes should all use __construct rather than a method with the same name.
You must be using an old version of ajax chat. __construct appears to be used in all those files already.
got this on PHP 7 :dash: