jDiction Forum

English => Install & Configure jDiction => Topic started by: Tonio on July 16, 2013, 09:50:20 pm

Title: Php error when displaying the translate windows
Post by: Tonio on July 16, 2013, 09:50:20 pm
Hello,

I'm trying to use your component but I run into some troubles, I'm guessing it's just a setup issue but can't figure out what I've done wrong.

I'm using Wamp to test my website in local.
I installed Jdiction following the instructions here : http://jdiction.org/en/documentation/installation

I'm using Joomla 2.5,

The Plugin is enable :
(http://antoinepissot.fr/Images/JdictionForum/PluginEnable.png)

Database Setting is setup:
(http://antoinepissot.fr/Images/JdictionForum/DatabaseSettings.png)

I've installed French and Spanish language and made sure that the language tag match the installed package:
Content Language:
(http://antoinepissot.fr/Images/JdictionForum/ContentLanguagePack.png)

Installed Language Pack:
(http://antoinepissot.fr/Images/JdictionForum/InstalledLanguagePack.png)

The system language filter is activated :
(http://antoinepissot.fr/Images/JdictionForum/SystemLanguageFilter.png)

The module Jdlanguage is activated:
(http://antoinepissot.fr/Images/JdictionForum/ModuleJLanguage.png)

But here is my problem when I try to do a translation:
(http://antoinepissot.fr/Images/JdictionForum/PhpError.png)

I can save translation but as you can imagine it's not working.

Any ideas what I'm doing wrong here, my joomla website is almost a fresh install form scratch

Thanks in advance for any help you can provide.



Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 16, 2013, 10:13:38 pm
You have so many nice images but not the output of the check page ;-)

But the solution could be by deactivate notices warning.

Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 16, 2013, 10:35:57 pm
Where can I find the ouptut of the check page ?

I don't think desactivating the warning will work as I imagine that with or wothout the warning, if it was working, I could see the changes being reflected on my website

I tried to add some translation for some menu titles but when I change the language with the module provided the text stays in the native language (i.e. english)
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 16, 2013, 10:44:19 pm
open this url on your domain:

administrator/index.php?option=com_jdiction&view=check
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 16, 2013, 11:53:30 pm
Here are the result of the check:

Test   Result
 
Version   
  Library Version: 0.9.9.8
  Joomla Version 2.5.11 is ok.

Plugin   
  JDiction Plugin is enabled
  JDiction Plugin is loaded at position 0 should be 1
  Languagefilter is enabled

Database   
  jDiction Database Driver is selected

Language   
  Seam to be good

Module   
  Module is enabled


I changed the ordering of the "jDiction multilanuage package" plugin to the first position instead of 0,
  => the above warning in bold is removed but I still have the same problem as before
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 17, 2013, 10:46:24 am
please change your php_error settings to some more production value in php.ini like:
Code: [Select]
error_reporting =  E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

I will see if I can fix this notice, but its not system critical.
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 05:01:15 pm
I changed php.ini to what you suggested, i.e.:

Code: [Select]
error_reporting =  E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
The error message dissapeared after that, Having a look at http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting it makes sense as it display less errors than before.

I changed it to :
Code: [Select]
error_reporting =  E_ALL | ~E_STRICT
And I have a few more details here but I don't know if that's relevant :
(http://antoinepissot.fr/Images/JdictionForum/MoreError.png)


I was wondering if it could be an issue because I don't pick the good translation pack from Joomla, I used the french pack available here : http://extensions.joomla.org/extensions/languages/translations-for-joomla/5314
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 05:43:08 pm
I hade to modify JForm because else mutlilanguage forms are not possible, maybe somethings in jform has changed but JDForm use only used by jdiction so you can ignore this script warning, if you don't have a problem.

but thx for reporting
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 05:55:49 pm
Ok I ignore this one but I still have the main issue (Translation are not working :))

The error in my previous post was what I had after changing "error-reporting" but I still have this :

(http://antoinepissot.fr/Images/JdictionForum/MainError.png)

When I change the language in the front end, it doesn't do anything except putting a "fr" in the url instead of "en" but the menu is not translated
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:00:12 pm
please change the display_error = Off in php.ini and try again.

I only wanted to know if the problem is the error logging or jdiction itself.
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 06:05:16 pm
I changed display_error to set it to Off

And the error message disappeared
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:05:53 pm
good and translation works now?
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 06:14:32 pm
No Still not, exactly the same thing as before. I change the transalation in the admin but when I cahnge the language in the front end it doesn't do anything

It would have been surprising that the fact to don't display error will actually solve them.  :)
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:23:22 pm
the problem could that it doesn'T save the translation.

does the content translation work?

Do you use a custom theme?
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 06:34:51 pm
Saving the translation seems to work as I can see in the admin the previous translation I entered.

I tried translating an article and it didn't work either.  :(
It's still the article in the original language that is displayed on the front end

I installed a Template on my website : http://wright.joomlashack.com/demo/module-positions
But I don't have any other customisation.
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:38:48 pm
could you please try the default template
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 06:47:29 pm
No luck, Ecept screwing up the look of my website, the content is still not translated
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:50:38 pm
Sorry but this makes no sense ...

Do you have installed any plugin/module/component/template?
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 06:53:52 pm
I installed only one component : Phocagallery (which comes also with a module and a plugin):
http://extensions.joomla.org/extensions/photos-a-images/galleries/photo-gallery/3150?qh=YToxOntpOjA7czo1OiJwaG9jYSI7fQ%3D%3D

Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 06:55:57 pm
try to deactivate the plugin of the component.
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 19, 2013, 07:02:51 pm
Sorry I gave a wrong information, there was no plugin with the component, please find the list of pluggin installed on my JOOMLA :

   Plug-in Name   Status   Ordering   Type   Element   Access   ID
Display #
    Authentication - Joomla          authentication    joomla    Public    401
    Authentication - GMail          authentication    gmail    Public    400
    Authentication - LDAP          authentication    ldap    Public    402
    Captcha - ReCaptcha          captcha    recaptcha    Public    439
    Content - Load Modules          content    loadmodule    Public    406
    Content - Joomla          content    joomla    Public    435
    Content - Smart Search          content    finder    Public    441
    Content - Email Cloaking          content    emailcloak    Public    404
    Content - Code Highlighter (GeSHi)          content    geshi    Public    405
    Content - Pagebreak          content    pagebreak    Public    407
    Content - Page Navigation          content    pagenavigation    Public    408
    Content - Vote          content    vote    Public    409
    Editor - CodeMirror          editors    codemirror    Public    410
    Editor - None          editors    none    Public    411
    Editor - TinyMCE          editors    tinymce    Public    412
    Button - Article          editors-xtd    article    Public    413
    Button - Image          editors-xtd    image    Public    414
    Button - Pagebreak          editors-xtd    pagebreak    Public    415
    Button - Readmore          editors-xtd    readmore    Public    416
    Extension - Joomla          extension    joomla    Public    434
    Smart Search - jDiction content plugin          finder    jdcontent    Public    10013
    Smart Search - Categories          finder    categories    Public    442
    Smart Search - Contacts          finder    contacts    Public    443
    Smart Search - Content          finder    content    Public    444
    Smart Search - Newsfeeds          finder    newsfeeds    Public    445
    Smart Search - Weblinks          finder    weblinks    Public    446
    Quick Icon - Joomla! Update Notification          quickicon    joomlaupdate    Public    437
    Quick Icon - Joomla! Extensions Updates Notification          quickicon    extensionupdate    Public    438
    Search - Categories          search    categories    Public    417
    Search - Contacts          search    contacts    Public    418
    Search - Content          search    content    Public    419
    Search - Newsfeeds          search    newsfeeds    Public    420
    Search - Weblinks          search    weblinks    Public    421
    System - jDiction multilanuage package          system    jdiction    Public    10012
    System - Language Filter          system    languagefilter    Public    422
    System - P3P Policy          system    p3p    Public    423
    System - Logout          system    logout    Public    430
    System - Debug          system    debug    Public    425
    System - Log          system    log    Public    426
    System - Redirect          system    redirect    Public    427
    System - Remember Me          system    remember    Public    428
    System - Highlight          system    highlight    Public    440
    System - SEF          system    sef    Public    429
    System - Cache          system    cache    Public    424
    System - Language Code          system    languagecode    Public    436
    User - Profile          user    profile    Public    433
    User - Contact Creator          user    contactcreator    Public    431
    User - Joomla!

Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 19, 2013, 07:06:08 pm
I'm sorry I can't find any non standard plugin in this list so that should not be the problem.

The last thing you could try is to install joomla a second time into a separate location and only install jdiction if this fails then there is a bigger problem that I can solve only by typing in forums messages.
Title: Re: Php error when displaying the translate windows
Post by: Tonio on July 21, 2013, 05:50:29 pm
Hello,

I did a fresh new copy in Local from my live website and re-do exactly what I've done before to install/configure jdiction

And it worked!!!!!

I guess we will never know why there was problem in the first place.

Thanks a lot for your effort trying to help me.
Title: Re: Php error when displaying the translate windows
Post by: Harald Leithner on July 21, 2013, 05:52:38 pm
good to know that it works now.