jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Harald Leithner

Pages: 1 ... 106 107 [108]
1606
General Questions / Re: Estonian translation of jDiction
« on: June 26, 2012, 12:18:20 pm »
Thx, I added it to the download section and will integrate it into the next release.

1607
General Questions / Re: Breaks in 2.5.6
« on: June 26, 2012, 12:03:20 am »
So I fixed the problem and released a new Version, atm not only for download from the website.
Autoupdate will follow.

1608
General Questions / Re: Breaks in 2.5.6
« on: June 24, 2012, 12:28:11 pm »
Thx for the info, I was a bit scared on testing 2.5.6 because I read the Joomla Bugtracker and it was full with problems ;-)

So I found out that the problem is that the Joomla Core renamed the JDatabase::query function to JDatabase::execute so the translation could not intercept the query.

I will release a new version tomorrow, when I'm back at the office.

If you are interested to fix the problem your self you have to change the query() function in libraries/jdiction/database/jddatabase.php at line 388 to:
Code: [Select]
        public function execute() {

                // Check if we want and are ready to translate this query
                if (($this->jd_translate and $this->jd->getStatus())
                                // We only translate SELECT queries atm
                                and (strtoupper(substr(ltrim($this->sql), 0, 6)) == 'SELECT')) {

                        $origsql = $this->sql;
                        $origlimit = $this->limit;
                        $origoffset = $this->offset;
                        $sql = $this->addJoinKeys((string) $origsql);
                        $this->limit = $origlimit;
                        $this->offset = $origoffset;
                        $this->sql = $sql;
                        try {
                                parent::execute();
                                //restore original query
                                $this->sql = $origsql;
                        } catch (JDatabaseException $e) {
                                // there was a Problem with the query so we fallback to the unmodified
                                // version and try again
                                $this->sql = $origsql;
                                parent::execute();
                        }
                } else {
                        parent::execute();
                }

                if ($this->jd_translate || !$this->jd->getStatus()) {
                        $this->collectTranslationTables();
                }
                return $this->cursor;
        }
This will fail on version older then 2.5.5 I think

1609
General Questions / Re: Module Flags
« on: June 12, 2012, 09:23:18 pm »
Thx I will put it on the todolist.

1610
Install & Configure jDiction / Re: Problem in other language
« on: June 08, 2012, 10:51:44 pm »
Hi,

did you activated the jdiction plugin and changed your database driver to jdiction_mysqli?


1611
General Questions / Welcome to jDiction Forum
« on: May 13, 2012, 07:17:14 pm »
Please post your questions and help other people to solve there problems if you can.

Pages: 1 ... 106 107 [108]