Virtual Dhamma-Vinaya Vihara

Studies, projects & library - [Studium, Projekte & Bibliothek] (brahma & nimmanarati deva) => Translation projects - [Übersetzungsprojekte] => Studygroups & Dhamma Dana - [Studiengruppen & Dhamma Dana] => Zugang zur Einsicht - [Access to Insight] => Topic started by: Dhammañāṇa on September 21, 2018, 04:45:48 PM

Title: [ATI.eu] various errors
Post by: Dhammañāṇa on September 21, 2018, 04:45:48 PM
Error accuses now also on the German start-page http://accesstoinsight.eu/de/index althought not such a uge page at all and nothing really changed longer time.

Code: [Select]
Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/clients/client2157/web5417/web/inc/parser/lexer.php on line 142

Title: Re: [ATI.eu] Fatal error: Maximum execution time...
Post by: Dhammañāṇa on September 21, 2018, 04:57:24 PM
As it seems, it's again the large pts-file, listed via changes-plugin and also prased to build up the list.

Atma has removed the large content and uploaded the current edit-file as zip.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on October 25, 2018, 11:50:34 AM
When editing and saving larger pages, like book 006 here, sometimes the error:

A PCRE backtrack error occured. Try to increase the pcre.backtrack_limit in php.ini


would be displayed after execution and mostly the content saved is incomplete.
Title: spelling errors book 006
Post by: Dhammañāṇa on October 25, 2018, 01:36:34 PM

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "spelling errors book 006 (http://forum.sangham.net/index.php/topic,8915.msg16259.html#msg16259)" eröffnet, dem angehäng.
One or more posts have been cut out of this topic here. A new topic, based on it, has been created as "spelling errors book 006 (http://forum.sangham.net/index.php/topic,8915.msg16259.html#msg16259)" or attached there.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on January 12, 2019, 08:58:19 PM
Getting following error when open pages in the dictionary section appearing around the use of the search result page:

Code: [Select]
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

There is also a strange "update" reminder since longer, see attachment.
Title: Re: [ATI.eu] various errors
Post by: Moritz on January 13, 2019, 01:33:23 AM
Vandami Bhante _/\_

That looks like it has to do with the new PHP version.
These "errors" are actually "only" warnings, which are only shown to admins when they are logged in but not for everyone else. So nothing is really broken yet. It is just that the new PHP version has become a bit more strict in checking certain conditions which might lead to an error when the programmer was not careful enough, and so it is warning about something that looks a bit uncertain.

I suspect that  the update reminder is already pointing to the solution. I am doing a backup of the current state now and will try to install the update tomorrow when it is finished.

 _/\_

Getting following error when open pages in the dictionary section appearing around the use of the search result page:

Code: [Select]
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2157/web5417/web/lib/plugins/data/syntax/entry.php on line 168

There is also a strange "update" reminder since longer, see attachment.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on January 13, 2019, 07:12:47 AM
May person does not think that it is an upgrade but points to the old current again.

Sadhu.
Title: Re: [ATI.eu] various errors
Post by: Moritz on January 13, 2019, 07:27:46 PM
May person does not think that it is an upgrade but points to the old current again.

It seems there was a small update from "2018-04-22a" to "2018-04-22b", probably on the same day.

Quote from: DokuWiki Changelog (https://www.dokuwiki.org/changes#release_2018-04-22a_release_greebo)
Hotfix 2018-04-22b

  * fix PHP 7.3 compatibility 2622 (https://github.com/splitbrain/dokuwiki/issues/2622)
  * fix ACL check https://github.com/splitbrain/dokuwiki/pull/2609 (https://github.com/splitbrain/dokuwiki/pull/2609)

So there was some small change for PHP 7.3 compatibility. I am trying to install that now.

But looking closer now, the warning messages Bhante got came from the "Data Plugin", which is already the newest version.
Seems like the Data plugin would need some changes, too, to stop the warning messages.

_/\_
Title: Re: [ATI.eu] various errors
Post by: Moritz on January 13, 2019, 08:15:20 PM
Okay, I upgraded to "2018-04-22b", which had only some very smal changes in two files.

But just as assumed, the warning messages stemming from the Data plugin persist.

I am not very familiar with PHP, especially what has changed in the new version, so I don't know how to fix it now.
But as already mentioned, I think the new PHP version is just checking certain conditions more strictly and giving warning advice, even though no real error happens. So it is probably nothing to worry much for the time being.

I have opened an issue on the GitHub page (https://github.com/splitbrain/dokuwiki-plugin-data/issues/218) for the Data plugin. Maybe someone will have an idea on what to change to satisfy PHP 7.3.

_/\_
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on January 13, 2019, 08:24:47 PM
Sadhu

Let's see also in regard of quick-fixes Nyom made previous, hopefully not lost.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on February 10, 2019, 09:29:52 PM
It seems that the matter above is related mostly to the "include" mod, possible not in DWs own sphere.

Another: while batching, regexing, around this
Code: [Select]
/var/www/clients/client2157/web5417/web/data/locks/25e24da8e5760cc858255b43de63918a.lock failed
came up twice while opening the editor on another page.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on February 14, 2019, 09:59:05 AM
Currently having a lot of errors, some of them are like:

Code: [Select]
Writing /var/www/clients/client2157/web5417/web/data/attic/de/lib/authors/kelly/warder-key/exercise-19.1550063291.txt.gz failed
Writing /var/www/clients/client2157/web5417/web/data/attic/de/lib/authors/kelly/warder-key/exercise-19.1550112721.txt.gz failed
Writing /var/www/clients/client2157/web5417/web/data/attic/de/lib/authors/kelly/warder-key/exercise-21.1550112721.txt.gz failed
Writing /var/www/clients/client2157/web5417/web/data/attic/de/lib/authors/nanananda/wheel183.1550112722.txt.gz failed
Writing /var/www/clients/client2157/web5417/web/data/attic/de/lib/authors/thanissaro/bmc1/bmc1.ch07-2_old.1550112723.txt.gz failed...

when using batch edit.

When simple open normal page:

Code: [Select]
Warning: session_write_close(): write failed: Disk quota exceeded (122) in /var/www/clients/client2157/web5417/web/doku.php on line 117

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/clients/client2157/web5417/tmp) in /var/www/clients/client2157/web5417/web/doku.php on line 117

Possible to do with running out of memory?

Also this accures when making a preview with batchedit now:

Code: [Select]
Warning: Unknown: POST data can't be buffered; all data discarded in Unknown on line 0

Warning: Cannot modify header information - headers already sent in /var/www/clients/client2157/web5417/web/inc/init.php on line 46

Warning: Cannot modify header information - headers already sent in /var/www/clients/client2157/web5417/web/inc/auth.php on line 1239

Warning: Cannot modify header information - headers already sent in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/action.php on line 63

Warning: Cannot modify header information - headers already sent in /var/www/clients/client2157/web5417/web/inc/actions.php on line 38

Warning: Cannot modify header information - headers already sent in /var/www/clients/client2157/web5417/web/lib/tpl/dokuwiki/main.php on line 12

leaving no action done.

And the pages changed by the last action are shown empty although containing content when using editor.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on February 14, 2019, 10:32:14 AM
Currently having a lot of errors, some of them are like:


Possible was a memory issue. Having moved 1GB from sangham to ati now, and having made a "clear temp memeory" by saving the admin page, it seems to be fine for now.

Quote from: current overview
Webseiten-Speicherplatz Domain / Webseite    Verwendet    Soft Limit    Hard Limit
sangham.net    5587.82 MB    7000 MB    7001 MB    

zugangzureinsicht.org    687.66 MB    800 MB    801 MB    

accesstoinsight.eu    11200.28 MB    12200 MB    12201 MB    
Title: [ATI.eu] maintenance (revisions, cache)
Post by: Dhammañāṇa on February 18, 2019, 06:23:02 PM

Aramika   *

Ein oder mehrer Beiträge wurden hier im Thema abgeschnitten und damit in neues Thema "[ATI.eu] maintenance (revisions, cache) (http://forum.sangham.net/index.php?topic=9144.0)" eröffnet, dem angehäng.
One or more posts have been cut out of this topic here. A new topic, based on it, has been created as "[ATI.eu] maintenance (revisions, cache) (http://forum.sangham.net/index.php?topic=9144.0)" or attached there.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on February 21, 2021, 11:36:51 PM
Trying to open https://sangham.net/km/tech/delta-chat/string.xml/index gives an Error 500 for Atma. It contains 663 "include" request. Maybe thats the issue, but thete had been larger, thought on dictionaryies.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on March 12, 2023, 12:24:08 PM
Atma currently encounters an error, at least by opening https://sangham.net/de/tech/ati.eu_syntax , Nyom Moritz .

Title: Re: [ATI.eu] various errors
Post by: Moritz on March 12, 2023, 04:23:27 PM
_/\_ _/\_ _/\_

Atma currently encounters an error, at least by opening https://sangham.net/de/tech/ati.eu_syntax , Nyom Moritz .
I only see an empty page (showing only the general sangham.net interface around), also missing the toolbar for editing and seeing older revisions. And first loading takes a long time.
The last modification of the file was 2019-07-25.
So it seems the error comes not from recent changes but maybe from the new DokuWiki version.

Trying to open https://sangham.net/km/tech/delta-chat/string.xml/index gives an Error 500 for Atma. It contains 663 "include" request. Maybe thats the issue, but thete had been larger, thought on dictionaryies.
This page meanwhile is working for me at the moment. But loading takes a long time.
Last modification here was 2021-02-21, so also very long ago.


I have for a long time not really followed what is going on at the sangham.net DokuWiki, don't understand most of the syntax, structure of content etc. So it will take some time for me to figure out what is wrong here.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on March 12, 2023, 04:49:34 PM
The secound file is jjust' huge. The first, synrax, english, german as well, maybe contains syntax no more supported, or of plugins no more up to date, Nyom.

Generally it's very similar like the syntax page at dokuwiki, explaining it's use.

Sadhu for care.
Title: Re: [ATI.eu] various errors
Post by: Moritz on March 13, 2023, 11:16:44 AM
In the case of ati.eu_syntax (in both English and German) the problematic line seems to be
Code: [Select]
<catlist en:tech: -exclupage:"en:tech:[^a-m]" -noHead -columns:4 -sortAscending>

I installed the CommentSyntax plugin (https://www.dokuwiki.org/plugin:commentsyntax) and used comment syntax
Code: [Select]
/*
<catlist en:tech: -exclupage:"en:tech:[^a-m]" -noHead -columns:4 -sortAscending>
*/
to comment out that particular catlist, so that it is ignored. Then the page is rendered without problem.

What apparently happens with the catlist example here is that there is an infinite or very long loop looking for free "section ID" names to use. Not sure why.

Used on other pages like https://sangham.net/de/dictionary/akkharakrama (https://sangham.net/de/dictionary/akkharakrama) catlist works fine, with many examples like this:
Code: [Select]
<catlist de:dictionary: -excluPage:"de:dictionary:[^k]|kh" -noHead -columns:4 -sortAscending -noAddPageButton>

I will try to find out more later.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on March 13, 2023, 04:49:07 PM
<code> for divisions or %%... %% for spans should work for commanding out, Nyom. Many syntax might cause unwished.

Atma remembers that catlist was always hard to comprehend.

Atma remembers Nyom saying that he adjusted some settings in regard of js in the past.

Sadhu
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on May 03, 2023, 09:40:00 PM
By adding an additional "include" here https://sangham.net/km/tipitaka/sut/sn/index#sut.sn.25 after

Code: [Select]
{{section>km:tipitaka:sut:sn:25:sut.sn.25#សង្ខេប&inline&nouser&nodate&noheader&noeditbutton&readmore}}

the attached error arose (maybe to many includes?) and page could no more be loaded till removing again.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on July 11, 2023, 09:43:08 AM
Small images, buttons, doo currently not appear, seem to get not loaded, having tried two different browser, it seems to be not on broowser side.

Add: it seems to work again (maybe was connectivity related).
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on November 12, 2023, 09:43:24 PM
Nyom No Name reported error for uploading medias, Nyom Moritz . Atma trying to upload here, got an 500 server error as well. Maybe memory full?
Title: Re: [ATI.eu] various errors
Post by: Moritz on November 14, 2023, 01:04:21 AM
Vandami Bhante _/\_ _/\_ _/\_

Yes, the disk was full. A good part of it comes from logs that Dokuwiki puts out. I have now deleted all logs that were older than 3 months, freeing 20 Gigabytes again. I changed the settings to not log so much (only log errors if they occur). I will add a script that automatically deletes logs older than three months.
Title: Re: [ATI.eu] various errors
Post by: Dhammañāṇa on November 14, 2023, 01:40:29 AM
Sadhu Sadhu