jDiction Forum
English => Install & Configure jDiction => Topic started by: intrelis on October 10, 2013, 04:28:19 pm
-
Be it an article, a module or a menu title, it always shows in the default site language. I have both backend and front end languages the same (ES), the content languages are set properly, the plugins and module are activated, and all articles' and modules' language is set to "all". The jdiction plugin is nÂș1 on the list as well. I am using JCK editor. Tried changing to tiny, but I couldn't save the articles, getting a "If you leave this page content will be lost" alert when pressing save.
Version
Library Version: 0.9.9.10
Joomla Version 2.5.14 is untested.
Plugin
JDiction Plugin is enabled
Languagefilter is enabled
Database
jDiction Database Driver is not selected
Language
Seam to be good
Module
Module is enabled
The problem seems to be the driver, right? However, I tried to change the database in the global config and all I got was the "Can't connect to database" error. Had to change it back from config.php. I am getting cross-eyed here... :D
-
what database do you use?
-
mysql
-
what happens if you use mysqli as database driver?
-
Database connection error (2): Could not connect to MySQL.
Also tried to downgrade to .8, with same results.
-
so your host doesn't support mysqli... could you switch your host ;-) ?
-
I... don't think so. :D Is that the issue? The host needs to support mysqli in order for jdiction to work?
-
yes but only because I didn't write a mysql driver, you could try it by change the file: libraries/jdiction/database/driver/mysqli.php
change the line
require_once(JPATH_LIBRARIES.'/joomla/database/driver/mysqli.php');
class JdDatabaseAdapter extends JDatabaseDriverMySQLi {
require_once(JPATH_LIBRARIES.'/joomla/database/driver/mysql.php');
class JdDatabaseAdapter extends JDatabaseDriverMySQL {
(remove the "i")
-
Database
jDiction Database Driver is not selected
Nothing's changed, except that the english flag disappeared. The links and everything are still there, just the image is gone. >_>
Just checked and supposedly my host does support mysqli... Will call them now to ask.
-
did you activated the jdiction driver after changing the file?
-
I hadn't... Now I did and am getting the same "cannot connect" error.
And the english flag is still gone.
-
thats strange, could you send me a pm with superadmin rights?
Because jdiction shouldn't do anything that could do that.
-
Done.
Edit: Made the flag reappear by changing the image prefix from en to gb. Go figure...
-
you database setting was wrong you had a ":" after the server name.
I fixed it now it should work.
-
Incredible, and the site still worked before that with this error?
How stupid not to see it, eh? Thank you for your time, it does appear to be working properly now. Really, thanks for the fast support.
-
As also please consider to write a review in JED, see Signature.
-
Already did, but it looks like the moderator is lazy and hasn't aproved it yet.
Also, if you need help that doesn't involve coding, but rather translating, testing or whatever, I have some free time, so I could help.
-
Thx, I will comeback to you if I need help for translation.
Atm I didn't have a good system that could hand joomla translation strings, but I hope I find one ;-)