J4 Issue ?
avatar CiverBlack
CiverBlack
31 Aug 2017

Steps to reproduce the issue

  1. Install Joomla with a MySQL Database. Not MySQLi.

  2. Create a new Article.

  3. Try to save it.

Expected result

You are able to save your Article

Actual result

It throws an error and does not let you save.

@icampus

avatar CiverBlack CiverBlack - open - 31 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Aug 2017
avatar CiverBlack CiverBlack - change - 31 Aug 2017
Title
[4.0] Not able to save Article in MySQL
[4.0] Not able to save Article with MySQL
avatar CiverBlack CiverBlack - edited - 31 Aug 2017
avatar brianteeman
brianteeman - comment - 31 Aug 2017

Joomla 4 is >= php 7

http://php.net/manual/en/mysql.php

Depending on the version of PHP, there are either two or three PHP APIs for accessing the MySQL database. PHP 5 users can choose between the deprecated mysql extension, mysqli, or PDO_MySQL. PHP 7 removes the mysql extension, leaving only the latter two options.

avatar mbabker
mbabker - comment - 31 Aug 2017

Just a note, because of the Framework Database package structure, the $dbtype in the config will be "mysql" if using the MySQL PDO driver. Unless a merge went bad, the option should still be labeled in the UI as "MySQL (PDO)" (or something like that).

avatar CiverBlack
CiverBlack - comment - 31 Aug 2017

I meant MySQL (PDO). That is what is not working

avatar roland-d
roland-d - comment - 31 Aug 2017

In the installation process it is shown as MySQL and not as MySQL (PDO)

Edit: Ok, I found out why that is in this case. The "calculated" language is English (United States). This language file has not been updated yet to show MySQL (PDO) for the mysql value.

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Aug 2017
Category com_content SQL
avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Aug 2017
Status New Discussion
avatar alikon
alikon - comment - 31 Aug 2017

experiencing the same issue with PDO,
can someone help me to understand onTableBeforeReorder event stand for ???

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman
brianteeman - comment - 22 May 2018

Unable to replicate on current 4.0 branch when using pdo

I am closing this - it can always be reopened if required

avatar brianteeman brianteeman - change - 22 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-22 21:44:15
Closed_By brianteeman
avatar brianteeman brianteeman - close - 22 May 2018

Add a Comment

Login with GitHub to post a comment