-
- 5,888 Posts
I think this is related to system-settings like here:
https://forums.modx.com/thread/100630/multilanguage-site-with-migxmultilang#dis-post-543718
you will need to change both of this system-settings to the correct path, since bezumkin had to move the class-pathes out of the modx-core.
So he has added a system-setting, where you can specify the pathes to custom classes.
-
- 142 Posts
Tried with these settings:
pdoFetch.class: pdotools.linguafetch
pdofetch_class_path: {core_path}components/linguapdotools/model/
but no luck. Get the same error: Could not load class: pdofetch from pdotools.pdofetch.
-
- 5,888 Posts
pdotools.linguafetch is wrong
I think it has to be linguapdotools.linguafetch
-
- 142 Posts
It would be nice to exclude untranslated languages from lingua.selector -menu too. But i guess this is another case, since this is for pdoTools.
-
- 5,888 Posts
Quote from: wintertribe at Aug 03, 2016, 07:22 AMThat did the trick, Thanks. Should it be changed here also?
https://github.com/Bruno17/linguaPdoTools
done
-
- 34 Posts
On one of my installations I get this message in my error log on each site i load in the frontend (even without any template assigned to it):
[2016-12-13 13:20:18] (ERROR @ index.php) /core/components/lingua/model/lingua/linguarequest.class.php
[2016-12-13 13:20:18] (ERROR @ index.php) LinguaRequest::getResource
[2016-12-13 13:20:18] (ERROR @ index.php) 298: $resourceArray: Array
(
[id] => 12
[type] => document
[contentType] => text/html
[pagetitle] => ProblemPage
[longtitle] =>
[description] =>
[alias] => problempage
[link_attributes] => redakteur-default
[published] => 1
[pub_date] => 0
[unpub_date] => 0
[parent] => 0
[isfolder] =>
[introtext] =>
[content] => <p>some text here</p>
[richtext] => 1
[template] => 0
[menuindex] => 4
[searchable] => 1
[cacheable] => 1
[createdby] => 1
[createdon] => 2014-10-27 11:05:24
[editedby] => 1
[editedon] => 2016-12-13 13:03:49
[deleted] =>
[deletedon] => 0
[deletedby] => 0
[publishedon] => 2014-10-27 11:05:00
[publishedby] => 1
[menutitle] =>
[donthit] =>
[privateweb] =>
[privatemgr] =>
[content_dispo] => 0
[hidemenu] =>
[class_key] => modDocument
[context_key] => web
[content_type] => 1
[uri] => problempage.html
[uri_override] => 0
[hide_children_in_tree] => 0
[show_in_tree] => 1
[properties] =>
)
Is this a Lingua based problem? I have no clue where to search for that..