-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Stream Timeouts #238
Comments
Γεια σου Τάσο,
Έχεις το Debug Site ενεργοποιημένο; Γιατί το μήνυμα σου λέει πως το πρόβλημα είναι με το LogEntry που χρησιμοποιείται από το Joomla όταν τρέχεις SQL queries με το Debug Site ενεργοποιημένο.
… On 16 Jan 2025, at 19:33, Tassos Marinos ***@***.***> wrote:
I upgraded a Joomla 3 site to Joomla 4 and Akeeba Release from 6.0.3 to 7.4.0.
Now, when accessing an XML stream (Normal Directory Type) with 100+ releases, it results in the following error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/site/public/libraries/src/Log/LogEntry.php on line 126
It works if I increase the memory limit from 128M to 256M.
There's no error if I access other XML streams with fewer releases.
Is it normal?
Can I limit the releases in the XML? The category in question uses the Normal Directory Type.
PS: The same XML stream URL in Joomla 3 with Akeeba Release 6.0.3 works fine and loads instantly.
Environment:
Joomla 4.4.10
PHP 8.3.15
Akeeba Release 7.4.0
—
Reply to this email directly, view it on GitHub <#238>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAB6QKK2R7NVE3OWPFDR5732K7UPRAVCNFSM6AAAAABVKEYQJGVHI2DSMVQWIX3LMV43ASLTON2WKOZSG44TGMZWGQZDQMY>.
You are receiving this because you are subscribed to this thread.
|
Εάν μπορείς να έχεις regex στα environments του ARS. Φτιάχνεις ένα environment για κάθε έκδοση του Joomla:
J! 3.8 => joomla/3.8
J! 3.9 => joomla/3.9
J! 3.10 => joomla/3.10
J! 4.0 => joomla/4.0
J! 4.1 => joomla/4.1
J! 4.2 => joomla/4.2
J! 4.3 => joomla/4.3
J! 4.4 => joomla/4.4
J! 5.0 => joomla/5.0
J! 5.1 => joomla/5.1
J! 5.2 => joomla/5.2
J! 5.3 => joomla/5.3
J! 5.4 => joomla/5.4
Προσθέτεις και τα 13 environments σε κάθε item. Στο update XML το ARS θα βρει αυτόματα ποία είναι η μικρότερη regex που μπορείς να χρησιμοποιήσεις.
Αν ενεγοποιήσεις το liar mode (ενεργό εξ ορισμού) θα προσθέσει όλες τις minor εκδόσεις κάθε major που υπάρχει στα environments, και επιπροσθέτως ολόκληρη την επόμενη major έκδοση. Γιατί; Ώστε να είναι δυνατό το upgrade μεταξύ major εκδόσεων του Joomla.
Για παράδειγμα έχουμε το Akeeba Backup 8 το οποίο είναι συμβατό με Joomla! 3.9, 3.10, και 4.0 καθώς το 2021 που το έβγαλα δεν υπήρχε νεότερη έκδοση. Οι νεότερες εκδόσεις του Akeeba Backup δεν υποστηρίζουν Joomla! 3, αλλά υποστηρίζουν Joomla! 4.1+. Αν πας να κάνεις upgrade από το Joomla! 3.10 θα θέλει να εγκαταστήσει το 4.4 και ψάχνει να βρει μια έκδοση που είναι συμβατή ΚΑΙ με το 3.10 ΚΑΙ με το 4.4. Επειδή τέτοια έκδοση δεν υπάρχει, το Joomla! σου λέει πως το Akeeba Backup δεν είναι συμβατό.
Αντί να πηγαίνω να ενημερώνω κάθε 6 μήνες τα environments σε παλιές εκδόσεις, ενεργοποιώ το Liar Mode και το ARS λέει πως το Akeeba Backup 8 είναι συμβατό με Joomla! 3.9, 3.10, 4.*, και 5.*. Αν πας να κάνεις update από το Joomla! 3 δεν θα έχει πρόβλημα.
Προφανώς και ξέρω πως οι τελευταίες εκδόσεις συμβατές με 3.10, 4.4, 5.4 κ.ο.κ. μπορούν να τρέξουν επαρκώς στην επόμενη major έκδοση, ή πάω και τους αλλάζω λίγο τον κώδικα και βγάζω νέο update για τα παλιά site όταν χρειάζεται (μέχρι στιγμής δεν έχει κάτσει τέτοιο πράγμα). Αυτό μου γλυτώνει πολύ χρόνο και προστατεύει την φήμη του Akeeba Backup ως το πρώτο component που είναι κάθε φορά συμβατό με επερχόμενη έκδοση του Joomla!.
… On 17 Jan 2025, at 09:10, Tassos Marinos ***@***.***> wrote:
Καλημέρα Νίκο,
Αυτό ήταν! Δεν πήγε καν το μυαλό μου.
Κάτι τελευταίο. Γιατί το παρακάτω environment μου το βγάζει πλέον λάθος;
joomla/((3\.(8|9|10|11))|(4\.(0|1|2|3|4|5))|(5\.(0|1|2|3|4|5)))
image.png (view on web) <https://github.com/user-attachments/assets/345f22bf-2b62-4745-b8e3-31939ee571cf>
—
Reply to this email directly, view it on GitHub <#238 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAB6QKPUDTCDFC5FC3ZBSPD2LCUG3AVCNFSM6AAAAABVKEYQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJXGU3TMOBRHE>.
You are receiving this because you commented.
|
Υποθέτω ήθελες να γράψεις "Δεν μπορείς". Εξαιρετική ιδέα το Liar mode. Θα το υλοποιήσω όπως λες. Να'σαι καλά. Καλημέρα! |
Ναι, ήθελα να γράψω ΔΕΝ μπορείς.
… On 17 Jan 2025, at 10:09, Tassos Marinos ***@***.***> wrote:
Εάν μπορείς να έχεις regex στα environments του ARS.
Υποθέτω ήθελες να γράψεις "Δεν μπορείς".
Εξαιρετική ιδέα το Liar mode. Θα το υλοποιήσω όπως λες.
Να'σαι καλά. Καλημέρα!
—
Reply to this email directly, view it on GitHub <#238 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAB6QKIRL4QXV7XFGVRN32L2LC3EDAVCNFSM6AAAAABVKEYQJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJXGY2TQMRYHE>.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I upgraded a Joomla 3 site to Joomla 4 and Akeeba Release from 6.0.3 to 7.4.0.
Now, when accessing an XML stream (Normal Directory Type) with 100+ releases, it results in the following error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/site/public/libraries/src/Log/LogEntry.php on line 126
It works if I increase the memory limit from 128M to 256M.
There's no error if I access other XML streams with fewer releases.
Is it normal?
Can I limit the releases in the XML? The category in question uses the Normal Directory Type.
PS: The same XML stream URL in Joomla 3 with Akeeba Release 6.0.3 works fine and loads instantly.
Environment:
The text was updated successfully, but these errors were encountered: