Conversion of kernel classes to Doctrine DBAL
The conversion required lengthy testing, and a variety of other changes that cover the same space have been included:
- User passwords hashes now use bcrypt ("blowfish") for increased security
- Module update process now automatically performs schema updates
- Patchwork UTF-8 libraries added to implement a "Unicode all the way" approach
- SQL prepared statements and bound parameters implemented in core classes
- Unified preloads/preload.php file now used reducing the number of files involved
- Several improvements for some debugging tools
Note: running composer update is required for these changes as several packages were added and/or updated. (see this info to learn more about Composer, and how to install it. There is also this good article here)
You can merge this Pull Request by running
git pull https://github.com/geekwright/XoopsCore master
Or view, comment on, or merge it at:
- Add cURL to the recommended php extension list
- Doctrine conversions, and Bcrypt ("Blowfish") password encryption.
- Schema conversions comments and images modules
- Fix a few inssues introduced in doctrine conversion
- Implement a unified preload file in some modules
- Allow absolute urls in button links
- Add RotatingFileHandler option for logs versioned by date
- Doctrine conversion missed earlier
- Declare classes as abstract
- More unified preload file changes
- Start conversion of kernel classes to namespaces
- A few module updates for recent namespace changes
- A few fixes for issues found in testing of recent changes
- Convert userconfigs to module from extension
- Add caller info to deprecated message
- Add transaction to add and update. Fix pass by ref error.
- Fix incorrect grouping of some where clauses.
- Move userconfigs from extension to module list
- Fix namespace issues
- Fix an odd expression case involving a null 'IN' clause.
- Add schema synchronize step to module update process
- Fix issues introduced in recent conversion.
- Add Patchwork UTF-8 support
- Update for PHP 5.5 compatibility
I just tried installing this version locally. In step 6, I do not know what to choose!
Ok but in all cases there Stocket or port and if I leave empty it does not work.
We can have an installation tutorial with a simple mysql database?
Create a category
Fill the following form in order to create a new category. The newly created category will be automatically displayed in the user side.
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY weight ASC' at line 1' in C:\xampp\htdocs\xoopsalpha3\htdocs\xoops_lib\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php:698 Stack trace: #0 C:\xampp\htdocs\xoopsalpha3\htdocs\xoops_lib\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(698): PDO->query('SELECT * FROM x...') #1 C:\xampp\htdocs\xoopsalpha3\htdocs\class\database\connection.php(216): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM x...', Array, Array, NULL) #2 C:\xampp\htdocs\xoopsalpha3\htdocs\xoops_lib\vendor\doctrine\dbal\lib\Doctrine\DBAL\Query\QueryBuilder.php(204): XoopsConnection->executeQuery('SELECT * FROM x...', Array, Array) #3 C:\xampp\htdocs\xoopsalpha3\htdocs\xoops_lib\Xoops\Core\Kernel\Model\Read.php(68): Doctrine\DBAL\Query\QueryBuilder->execute() #4 C:\xampp\htdocs\xoops in C:\xampp\htdocs\xoopsalpha3\htdocs\xoops_lib\vendor\doctrine\dbal\lib\Doctrine\DBAL\DBALException.php on line 91
Anyone else having these problems?
Setup: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 mysqlnd 5.0.10.
I can user this version now??? or still has errors for correct???