Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create a Banner (with PDO driver in MySQL 5.6.6+) #9455

Closed
andrepereiradasilva opened this issue Mar 17, 2016 · 1 comment
Closed

Can't create a Banner (with PDO driver in MySQL 5.6.6+) #9455

andrepereiradasilva opened this issue Mar 17, 2016 · 1 comment

Comments

@andrepereiradasilva
Copy link
Contributor

Steps to reproduce the issue

This is similar issue as the one solved in #9380.

  1. Use latest staging or RC4 with a MySql server 5.6.6+
  2. Set the database driver as "PDO (MySQL)" in global configuration.
  3. Create or edit a banner.
Note

If you don't have MySql 5.6.6+ you can emulate the error by setting the sql_mode in pdomydriver file. For that, add, after this line https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/database/driver/pdomysql.php#L149 the following code:

$this->connection->query("SET @@SESSION.sql_mode = 'STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION';");

Expected result

Banner saved.

Actual result

Doesn't work:
image

System information (as much as possible)

Latest staging / RC 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants