1. Eikka
  2. RO CSVI
  3. Tuesday, 22 March 2016
  4.  Subscribe via email
After updated to Joomla! 3.5 cant import anything. Browser shows Internal server error and administrator/components/com_csvi/rantai error_log shows following:

[22-Mar-2016 13:57:10 Europe/Helsinki] PHP Fatal error: Uncaught RuntimeException: Could not connect to MySQL. in /home/xxxxx/public_html/libraries/joomla/database/driver/mysqli.php:183
Stack trace:
#0 /home/xxxxx/public_html/libraries/joomla/database/driver.php(1726): JDatabaseDriverMysqli->connect()
#1 /home/xxxxx/public_html/administrator/components/com_csvi/helper/settings.php(45): JDatabaseDriver->loadResult()
#2 /home/xxxxx/public_html/administrator/components/com_csvi/rantai/model.php(159): CsviHelperSettings->__construct(Object(JDatabaseDriverMysqli))
#3 /home/xxxxx/public_html/administrator/components/com_csvi/rantai/rantai.php(94): RantaiModel->__construct(Object(JInput))
#4 /home/xxxxx/public_html/libraries/joomla/application/web.php(260): Import->doExecute()
#5 /home/xxxxx/public_html/administrator/components/com_csvi/rantai/rantai.php(167): JApplicationWeb->execute()
#6 {main}
thrown in /home/xxxxx/public_html/libraries/joomla/database/driver/mysqli.php on line 183

The component and all plugins in use are version 6.5.4 and available fields updated. Also /tmp/com_csvi is writeable. The cvi file used in import is copied to tmp folder by the component so privilidges must be OK (755).
Accepted Answer Pending Moderation
Hello,

Have you set the Database type to mysqli in the Global configuration settings of Joomla?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
yes, the setting is MySQLi and when tested the other option, even preview don't work
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
cron-jobs works but manual jobs don't.
I had this similar problem some time ago and then it needed to allow access to rantai.php in htaccess file but now its something else because the file access is allowed and I also tested without any restrictions in htaccess.
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello Eikka,
We have reproduced this issue and working on it. We will post you the solution once we fix it.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Eikka,

The issue has been identified as Joomla no longer loading the configuration for us, so we load the configuration ourselves now. Attached is a patch file, please load that and run your import. It should run as before.

Let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
yep,
that solved the problem. Thanks
  1. more than a month ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!