Recent content by canina

  1. C

    XF 2.2 A malfunction in the number of queries caused by the site and a load on the database

    What are the technical data of the site (number of users) and the server (cores, cpu, ram, etc.)
  2. C

    XF 2.2 disable the protection layer of two-step verification

    How can I disable the protection layer of two-step verification?
  3. C

    Awaiting feedback registering username in Hebrew

    What I did in the end is that I changed the function isValid in the file src/XF/Validator/Username.php line 26 So: //$usernameLength = utf8_strlen($username); $usernameLength = mb_strlen($username, 'UTF-8');
  4. C

    Awaiting feedback registering username in Hebrew

    I followed the username validation in the src\XF\Pub\Controller\Misc.php file For some reason the validation in the actionValidateUsername function returns empty, so the getPrintableErrorValue function (in src\XF\Validator\Username.php) returns the above result as if it were empty, Although he...
  5. C

    XF 2.2 do_not_have_permission error when requesting to modify a post

    I implement the code below for thread change. The API key is Super user and with full permissions but I get a do_not_have_permission error // Set the API endpoint URL $endpoint = 'http://112.45.67.890/api/threads/1'; // Set the API key and API secret // Set the request parameters $params =...
  6. C

    XF 2.2 Help with rest api

    I have the forum in version 2.1.12. I am trying to access using the rest api and without success. (I want to respond to threads) I have this code - but there is a 403 error. <?php error_reporting(E_ALL); ini_set('display_errors', 1); $apiKey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; $threadId =...
  7. C

    Awaiting feedback registering username in Hebrew

    When registering a new user, the forum does not allow registering user names in Hebrew
  8. C

    XF\Db\Exception: MySQL statement prepare error [2006]: MySQL server has gone away

    Thanks. I upgraded and it did go away. I didn't think in this direction since I have previously installed xenforo countless times and it was always on no more than 1Gb ram
  9. C

    XF\Db\Exception: MySQL statement prepare error [2006]: MySQL server has gone away

    Clean server ubuntu 20.04.5 with lamp. I am installing a xenforo forum and during the installation the following error occurs: XF\Db\Exception: MySQL statement prepare error [2006]: MySQL server has gone away in src/XF/Db/AbstractStatement.php at line 230...
  10. C

    Redirection Script for phpBB 3.2/3.3+ (without SEO URLs) htaccess

    This code links to the thread but does not link to the correct post in this thread For example: https://tora-forum.co.il/viewtopic.php?f=194&t=21436#p330422 https://tora-forum.co.il/viewtopic.php?f=194&t=21436&p=332817#p330431 The link to different posts but the result is the same
  11. C

    XF 2.2 Convert PHPBB style url links to XENFORO

    I have embedded the code of this HTACCES file And that helps partially. It links to the correct thread but not to the correct post For example on this page Thanks
  12. C

    error import

    XF\Db\DuplicateKeyException : שגיאת שאילתת MySQL [1062]: ערך כפול '10014' עבור מפתח 'PRIMARY' ב- src/XF/Db/AbstractStatement.php בשורה 230 XF\Db\AbstractStatement->getException() ב- src/XF/Db/Mysqli/Statement.php בשורה 198 XF\Db\Mysqli\Statement->getException() ב- src/XF/Db/Mysqli/Statement.php...
  13. C

    XF 2.2 Importing the likes to the forum

    I'm moving a phpbb forum to xenforo. I made a sql query to update the likes table in xenforo. DROP PROCEDURE IF EXISTS CALCPERFORMANCE; DELIMITER ;; CREATE PROCEDURE CALCPERFORMANCE() BEGIN DECLARE length INT DEFAULT 0; DECLARE counter INT DEFAULT 0; SELECT COUNT(*)FROM...
Top Bottom