This morning I got an unusual error in my XenForo log, which suggests that the forum software might need a fix (I'm currently using the latest public release of XF 2.2.13).
GuzzleHttp\Exception\ClientException: Error submitting sitemap to...
On a new UBUNTU install on a hyperv VM, accessing http://localhost/community/install/ reports PHP needs to be greater than 7.0.0 but I am on v 8.3.0
<?php
$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
die("PHP 7.0.0 or newer is required. $phpVersion does not...
Hi,
is it possible to perform search from XenForo, but include search results from external php/mysql web app?
Any API calls or Add-ons available for that?
Thank you.
Hello everyone,
I recently took over the admin role for ~150 XenForo Instances. Shortly after I embarked on testing PHP 8.1. However, despite our utilization of a minimal number of plugins, the testing instance was non-functioning after the change to PHP 8.1. This situation poses a challenge...
I set up a new Windows Server 2019 install on a home server. I have php 8.x.x (the latest available download) and MySQL server/databases. Everything is working as expected until I put my upload folder in my wwwroot directory.
It will not let me access the files/pages for some reason. I get an...
I don't know if this bug report has been reported, but today I am getting such an error in the resource manager for the operation I have done on localhost.
PHP version: 8.1.2
#0 [internal function]: XF::handlePhpError(8192, '[E_DEPRECATED] ...', 'C:\\xampp\\htdocs...', 104)
#1...
I'm trying to simply change the number of users shown on the overview page (sitename.com/members) because it's hard-coded to 5, but for the first time ever I've run into the issue that I can't seem to find the PHP file that sets that limit. I've searched through my files based on callbacks in...
I am authenticating XenForo user via php.
My code:
public function Auth($username, $password)
{
$userIDA = $this->getarray("SELECT * FROM xf_user WHERE username='".$username."'");
if($userIDA)
{
define('SESSION_BYPASS', false); // if true: logged in user info and sessions...
PHP 7.4+ provides a php script preloading function with the opcache.preload directive.
It requires a file, preload.php is commonly used, to provide a list of the php files to preload.
From https://www.php.net/manual/en/opcache.preloading.php ...
"PHP can be configured to preload scripts into...
Good morning,
currently I'm experiencing issues with my website (almost hitting 96% of Physical Memory Usage) and I'm trying to resolve the issue.
Given that I have a need to do external authentication of users from a PHP form, I suppose there is an incorrect method of calling some XenForo...
After some issues where an SQL server was completely lost, and am now in the process of getting things in working order again.
While the original forum files were recoverable (and so all edited templates, addons, etc), they are in PHP files which don't exactly allow an easy copy/paste into the...
Fatal error: Uncaught TypeError: Argument 1 passed to XF\Extension::__construct() must be of the type array, bool given, called in /var/www/mc-security/src/XF/App.php on line 1452 and defined in /var/www/mc-security/src/XF/Extension.php:12 Stack trace: #0...
hi
I'm not very friendly to xenforo development source, its MVC model and etc..
So I'm building externally from xenforo such as subdomain and then using php and ajax from my xenforo forum for controlling my plugin
(Don't ask me to use xenforo method of code, because I'm not good at all)...
I would like to display an additional value for every thread in the thread view and the thread list (forum view), which i calculate with an php function.
My problem: what is the best way to make a variable useable in an tempalte from an php file? And How?
I found 2 solutions. The callback tag...
Heads up for Centmin Mod users here, there are security update releases for PHP 7.1.28, 7.2.17 and 7.3.4 released now and I have also backported the security fixes to PHP 5.6.40 and 7.0.33 EOL releases. You're want to be on Centmin Mod 123.09beta01 at least for proper PHP 7.1+ support and have...
Description
If you ever tried to create a trophy, you probably noticed "User criteria" tab. It allows you to set some conditions (number of posted messages, for example), which users must met to be awarded with your trophy.
There are some other systems that use XenForo's criteria system...