Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Website is not responding and editor disappeared
#1
GS Version 3.1.

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?

Thank you!


Attached Files Thumbnail(s)
   
Reply
#2
Turn debug mode on and check for errors or check data/other/logs/error.log
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
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
Reply
#4
You are using an old version of GS so i am not really sure those lines of code.

But the second one hints at a permissions issue on pages.xml.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
well, should i start with GS update, then? I'll try to do it..
Reply
#6
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.. ((
Reply
#7
Sounds like a cookie or session issue, this is a i18n plugin issue ask in the plugin thread you will get more specific responses.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#8
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

What does this mean?
Reply
#9
It's a warning, probably not related to that. Perhaps JS, what does browser console show?
Reply
#10
No, the Chrome console shows no errors
Reply
#11
The editor appears when i18n plugin is off. But then menu doesn't work of course (
Reply
#12
Debug mode on?
Reply
#13
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.
Reply
#14
(2019-07-22, 03:17:00)Bigin Wrote: Debug mode on?
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
Reply
#15
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.
Reply
#16
(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)...
Reply




Users browsing this thread: 1 Guest(s)