jDiction Forum

English => Install & Configure jDiction => Topic started by: aggelikouli on March 16, 2014, 01:05:28 pm

Title: Not loading site after jdiction installation & configuration (SOLVED)
Post by: aggelikouli on March 16, 2014, 01:05:28 pm
Hello,
I've used jdiction in several sites & never had any problem. I use Joomla 3.2.3, my default site language is Greek and need to also have it in English.

After installing jdiction, I did all needed settings in the backend, which means that I:

2. Enable plugins: Smart Search - jDiction content plugin
              System - jDiction multilanguage package

3. Enable module jdlanguage (normally shown in the front end)

4. All wanted languages are in language manager-content

5. Check in public_html/media/com_jdiction/images/flags  that all the name flags (compare them to those in language content) are correct

6. In  Global configuration-server-database driver, change from Mysql to Mysqli_jdiction

7. Go to jdiction component and make a check



I noticed 2 things:
- When I enable LanguageFilter plugin, the site doesn't show at all (I get a redirection error)
- When I choose Jdiction_MySqli, the site loads, but it shows a blank page.

If I turn these two in their default position, then everything works, but there's no translation of anything.

After uninstalling these, I got the message attached.

Any idea????

( PHP Version    5.4.26
Web Server    Apache/2.4.7 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Joomla! Version    Joomla! 3.2.3 Stable [ Ember ] 6-March-2014 14:30 GMT
MySQL version    5.1.73-cll )


Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 02:38:05 pm
Could you please check the permissions of the content language?
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 03:24:19 pm
The folder public_html/language/el-Gr and the same one in English are 755. The contents in these folders are 644.
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 04:39:05 pm
I mean in joomla. Extentions-languages-content
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 04:40:48 pm
Also please activate error reporting you maybe enable display_errors on in php.ini
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 04:48:07 pm
All public. I enabled the error reporting in Joomla
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 05:46:42 pm
what do you mean with blank page?

does the backend work?

does the language plugin without jdiction work?
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 05:55:29 pm
By default the languagefilter plugin is inactive. Then everything worked normally with or without jdiction.

When I choose Jdiction_MySqli, the site loads, but it shows a blank page. The url loads, but the page is all white.

The weird thing is that in every action I do, even if the frontend does not work, the backend works.

I cannot understand what's wrong, as I have already use jdiction in other Joomla 3 sites.
 :o
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 05:58:51 pm
please activate display_errors, it seams that the server doesn't output any errors.

http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors

add this lines to .htaccess:
Code: [Select]
php_flag display_startup_errors on
php_flag display_errors on
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 06:26:30 pm
I added the code to .htaccess and I got 500 error.

I uploaded an older backup I had and now the blank page is gone! There's another problem now, the greek language doesn't load, although the english loads.

Take a look at this:

http://tselinatseliou.eu/index.php/en

http://tselinatseliou.eu/index.php/el
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 06:30:09 pm
And also this:
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 06:32:00 pm
is  display_errors on now? because the greek version stops at
Code: [Select]
<h1 class="sitename"><a href="/" id="logo">That seams that the code that tries to get the title, fails....

You could also try the current test build.
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 06:37:15 pm
No, it's not on, as I could work on the backend.

Please give me some minutes in order to try the new package.

I'd like to ask you something else: my default lang is greek. Is it normal that when i try to translate an article with jdiction, it requires a translation in english AND in greek? all the previous times I translated something in a site, I was asked to give only the english translation, not the language I had as default.
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 06:56:42 pm
I'd like to ask you something else: my default lang is greek. Is it normal that when i try to translate an article with jdiction, it requires a translation in english AND in greek? all the previous times I translated something in a site, I was asked to give only the english translation, not the language I had as default.

Thats not normal, if you have 2 content languages jdiction should only display one language (the not default language)
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 07:00:47 pm
I have the same problem,, even if I installed the new package. Two language translations needed and the greek not showing.

I really don't know what else to do. I'm really sorry for spending your time. Do you want me to give you access to the backend? I suppose I do something wrong...
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 07:14:05 pm
yes please send me a superuser account per pm, and please activate the display_errors option in .htaccess thats important!
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 07:30:53 pm
hmm somthing is wrong with the .htaccess values.

could you please only add
Code: [Select]
php_flag   display_errors       On
and if a internal server error comes please check the error.log
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 07:44:49 pm
Sorry, again an interval server error. I pm you the errors I got.
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 07:47:13 pm
good and please remove the php_flag display_errors On line from .htaccess so I can check the backend.
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 07:55:42 pm
Ok, i've removed it so you can access it.

I also attached the errors.
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 08:06:12 pm
the contant language tag is one of the most important things, it must be the same as the translation tag.

Problem fixed.
Title: Re: Not loading site after jdiction installation & configuration
Post by: aggelikouli on March 16, 2014, 08:14:18 pm
A big big THANK YOU for your time and patience!!!

Could you please tell me what you finally did, so I know it in the future?
Title: Re: Not loading site after jdiction installation & configuration
Post by: Harald Leithner on March 16, 2014, 08:24:19 pm
I changed the content language tag from el-EL to el-GR