Jump to content

Can´t install LanguageSupport module


L. Leopold
 Share

Recommended Posts

Hi everyone,

I got a serious problem with the LanguageSupport module. I already found a forum thread regarding the topic, but it doesn't work in my case.

https://processwire.com/talk/topic/7207-can%C2%B4t-install-languagesupport/

My problem is, that "ProcessLanguage" can get installed but "LanguageSupport" doesn't. I can uninstall ProcessLanguage via the Module configuration, but that doesn't change anything.  I always get this Error:

language3.jpg

I've found a "Languages" Page under Admin/Setup and deleted it with this code

https://processwire.com/talk/topic/7207-can´t-install-languagesupport/?p=69520

<?php
$pag = $pages->get( 'name=languages, template=admin' );
$pag->status = Page::statusSystemOverride;
$pag->status = 0;
$pag->delete();
?>

I also deleted the LanguageSupport module via FTP from the server and uploaded the newest version of it. The error still occurs. 

I'm still a beginner and don't know how to deal with it. Please help me!

I'm using the Blue-VR Site Profile made by Gayan Virajith, if that information helps.

Thanks a lot in advance,

Leo

Link to comment
Share on other sites

Hi,

I think there's a hickup in your database - the sqlstate error hints that there's a duplicate entry.

make sure to empty the trash in pw backend and if possible look directly in the database and look out for the "language-22" entry in "name_parent_id", my guess is this is in the pages table. I'm afraid that you deleted the admin page for the language settings (id 22?), possibly this needs to be present.

not sure tho, maybe someone else has more experience with that…

cheers

tom

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

A suggestion someone posted in the original thread regarding this topic solved. The problem was in the database, I just had to delete it and start a new one.

https://processwire.com/talk/topic/7207-can´t-install-languagesupport/?p=106245

hey guys,

I had the same problem. I connected a database that was connected to processwire in a previous installation.

After installing processwire with a fresh database everything works fine for me.

Thank you very much for you help!

Leo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...