Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Rekomendowane odpowiedzi

Opublikowano

pierwszy mail

Cytat

Exception:
IPS\Db\Exception Object
(
    [query] => DELETE FROM `core_view_updates` WHERE classname=? AND id=?
    [binds] => Array
        (
            [0] => IPS\forums\Topic
            [1] => 11401
        )

    [message:protected] => Prepared statement needs to be re-prepared
    [string:Exception:private] =>
    [code:protected] => 1615
    [file:protected] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Db/Db.php
    [line:protected] => 671
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Db/Db.php
                    [line] => 1280
                    [function] => preparedQuery
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /*IPS\core\tasks\_viewupdates::IPS\core\tasks\{closure}:356*/ DELETE FROM `core_view_updates` WHERE classname=? AND id=?
                            [1] => Array
                                (
                                    [0] => IPS\forums\Topic
                                    [1] => 11401
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/applications/core/tasks/viewupdates.php
                    [line] => 60
                    [function] => delete
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => core_view_updates
                            [1] => Array
                                (
                                    [0] => classname=? AND id=?
                                    [1] => IPS\forums\Topic
                                    [2] => 11401
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Task/Task.php
                    [line] => 356
                    [function] => IPS\core\tasks\{closure}
                    [class] => IPS\core\tasks\_viewupdates
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/applications/core/tasks/viewupdates.php
                    [line] => 99
                    [function] => runUntilTimeout
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Closure Object
                                (
                                    [this] => IPS\core\tasks\viewupdates Object
                                        (
                                            [caches:protected] => Array
                                                (
                                                )

                                            [_data:protected] => Array
                                                (
                                                    [id] => 1841
                                                    [key] => viewupdates
                                                    [frequency] => P0Y0M0DT0H5M0S
                                                    [next_run] => 1567119661
                                                    [running] => 1
                                                    [enabled] => 1
                                                    [plugin] =>
                                                    [app] => core
                                                    [lock_count] => 0
                                                    [last_run] => 1567116063
                                                )

                                            [_new:protected] =>
                                            [changed] => Array
                                                (
                                                )

                                            [skipCloneDuplication] =>
                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Task/Task.php
                    [line] => 255
                    [function] => execute
                    [class] => IPS\core\tasks\_viewupdates
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Task/Task.php
                    [line] => 224
                    [function] => run
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/applications/core/interface/task/task.php
                    [line] => 62
                    [function] => runAndLog
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

 

 

D

Cytat

Exception:
IPS\Db\Exception Object
(
    [query] => SELECT core_reputation_index.member_received as themember, SUM(rep_rating) as rep FROM `core_reputation_index`  LEFT JOIN `core_members` ON core_members.member_id=core_reputation_index.member_received WHERE member_received > 0 AND rep_date BETWEEN ? and ? AND 1=1 GROUP BY `themember` ORDER BY rep DESC, themember ASC LIMIT 4
    [binds] => Array
        (
            [0] => 1566950401
            [1] => 1567036799
        )

    [message:protected] => Prepared statement needs to be re-prepared
    [string:Exception:private] =>
    [code:protected] => 1615
    [file:protected] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Db/Db.php
    [line:protected] => 671
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Db/Select.php
                    [line] => 373
                    [function] => preparedQuery
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /*IPS\core\tasks\_leaderboard::execute:255*/ SELECT core_reputation_index.member_received as themember, SUM(rep_rating) as rep FROM `core_reputation_index`  LEFT JOIN `core_members` ON core_members.member_id=core_reputation_index.member_received WHERE member_received > 0 AND rep_date BETWEEN ? and ? AND 1=1 GROUP BY `themember` ORDER BY rep DESC, themember ASC LIMIT 4
                            [1] => Array
                                (
                                    [0] => 1566950401
                                    [1] => 1567036799
                                )

                            [2] => 1
                        )

                )

            [1] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Db/Select.php
                    [line] => 271
                    [function] => runQuery
                    [class] => IPS\Db\_Select
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/applications/core/tasks/leaderboard.php
                    [line] => 84
                    [function] => setKeyField
                    [class] => IPS\Db\_Select
                    [type] => ->
                    [args] => Array
                        (
                            [0] => themember
                        )

                )

            [3] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Task/Task.php
                    [line] => 255
                    [function] => execute
                    [class] => IPS\core\tasks\_leaderboard
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/system/Task/Task.php
                    [line] => 224
                    [function] => run
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /home/klubmalawi/domains/forum.klub-malawi.pl/public_html/applications/core/interface/task/task.php
                    [line] => 62
                    [function] => runAndLog
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

rugi mail

  • 2 miesiące temu...
  • Manager
Opublikowano
W dniu 15.06.2019 o 10:12, DawPi napisał:

No nie wiem. Pełno zależności jest. Najprościej napisać, choć w 99% będzie to odpowiedź w stylu "U nas ok, proszę zoptymalizować skrypty". Tylko skoro coś działa cały czas, nic nie było robione, to co najmniej dziwne jest, że nagle przestaje i wina skryptu. Choć są różne sytuacje tak naprawdę.

To? To śpiewka "serwermanów". IPS4 sam w sobie jest na bieżąco optymalizowany i ma wszelkie możliwe i dobre systemy cache. Redisa próbowaliście?

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Opublikowano (edytowane)

Włączyli nam redis ale ACP to samo co przy poprzednim screenie. Nie da się zaznaczyć. 

Do pisali aby pamiętać aby w ustawieniach PHP włączyć redis. 

Edit. 

Aha w ust. PHP na serwerze. W ACP pojawiła się możliwość włączenia. 

Edytowane przez Klub Malawi

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.