My client claimed, that languages didn't switch. They had two langs: RU and UZ
In admin panel I found two additionally created lang columns: uz1 and uz2 with only a couple of pages in the column. I think that client created them by mistake - by creating pages and manually setting slugs with "_uz" or something..
After deleting those pages I again had two langs. BUT! The website stopped opening: respof.kr.uz
Though admin part is working, however I now cannot edit pages, since editor part is not opening fully (see attachment).
Can you please suggest, what error was there and how to fix it?
2013-07-27, 03:24:13 (This post was last modified: 2013-07-27, 03:28:57 by 0zz.)
Thank you! Now when I open page I see:
Code:
Warning: file_get_contents(/var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/data/pages/otdel-socialnoj-zashhity.xml): failed to open stream: Too many open files in /var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/admin/inc/caching_functions.php on line 240 Notice: Trying to get property of non-object in /var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/admin/inc/caching_functions.php on line 243 Fatal error: Call to a member function children() on a non-object in /var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/admin/inc/caching_functions.php on line 249
the errorlog contains a lot of strings:
Code:
[26-Jul-2013 22:25:09] PHP Warning: SimpleXMLElement::asXML(/var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/data/other/pages.xml): failed to open stream: Permission denied in /var/www/vhosts/kr.uz/subdomains/resprof/httpdocs/admin/inc/caching_functions.php on line 272
ok, I did successfully update the website and some plugins, including I18N of course.
I've also changed permissions of pagex.xml to 777
But! I've just noticed, that I have "UZ" and "UZ" language columns, not "RU" and "UZ". When i try to set "RU" as a default lang for creating pages, the left column becomes "RU", however it turns back to "UZ" when I refresh the "pages" page.. ((
Hello again! I found this old topic because I've faced similar problem again - the editor is not loading, only page title and option are showing.
The debug mode shows following error:
Quote:Warning: simplexml_load_string(): Entity: line 299: parser error : CData section not finished <table border="0" cellpadding="0 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
Warning: simplexml_load_string(): Entity: line 299: parser error : Premature end of data in tag content line 2 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
Warning: simplexml_load_string(): Entity: line 299: parser error : Premature end of data in tag item line 2 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
Have you tried searching in the i18n topic? http://get-simple.info/forums/showthread.php?tid=1221
Problem is related to that plugin it seems, so maybe someone has found a solution in that topic, or you can ask there.
Yes, I've mentioned above. There are mistakes related to caching, but no sure:
Quote:Warning: simplexml_load_string(): Entity: line 299: parser error : CData section not finished <table border="0" cellpadding="0 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
Warning: simplexml_load_string(): Entity: line 299: parser error : Premature end of data in tag content line 2 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
Warning: simplexml_load_string(): Entity: line 299: parser error : Premature end of data in tag item line 2 in /var/www/vhosts/../httpdocs/admin/inc/caching_functions.php on line 283
There is probably something got messy while writing page data.
You need to manually check your .xml files /data/other/pages.xml as well as /data/pages/index.xml and /data/pages/*.xml files. In particular, you should take a closer look at the data of the page that is causing the problems.
(2019-07-23, 17:02:00)Bigin Wrote: There is probably something got messy while writing page data.
You need to manually check your .xml files /data/other/pages.xml as well as /data/pages/index.xml and /data/pages/*.xml files. In particular, you should take a closer look at the data of the page that is causing the problems.
Yes, you are right! This is client's website and they have a "No title" page in the Pages list which cannot be deleted (wafter deleting it disappears but after refreshing it remains in the list. The page has no slug and cannot be edited or deleted. I've tried to find it in the pages.xml but unsuccessfully (there are about 200 pages in this websites)...