Notifications

No notifications to display.

EVOLUTIONXTREME

Design   /   Development   /   Community

Search found 42 matches

PostedMon Oct 26, 2026 2:01 am

A few days ago, it was brought to light that there was a serious security vulnerability called PHP2Shell, which affects PHP, the software that powers many websites, including Evo Xtreme, WordPress, Joomla, and many others. To put it simply, this vulnerability could potentially allow hackers to gain access to parts of your web server without needing a username or password. Depending on how the server is set up, they could steal sensitive information, modify website files, install backdoors, or cause other problems.

The scary part is that this isn't a flaw in the CMS or some poorly coded module. The problem is within PHP itself, meaning just about any website running a vulnerable PHP version could potentially be affected.

Security patches were released on October 21, 2026, but if you're running an older version of PHP, especially PHP 7.4, 8.0, or 8.1, you should contact your hosting provider to make sure they've taken the necessary steps to protect their servers.

I am not going to go too much into all the details here, but I did write up an article explaining what PHP2Shell is, the dangers, and some simple steps you can take to make sure your website is protected.

Full Article - https://www.headshotdomain.net/modules.php?name=Forums&file=viewtopic&t=2195

PostedTue Feb 24, 2026 2:25 am

This is not a "major" fix, but a small fix none the less. All it is, is an alignment of the content of the blocks if the block goes wider than the content. Right now, it stays of the left. This fix centers it but also I added a missing border by default.

You have 2 options on how to fix it. You can either redownload it and grab the block and upload that to your site overwriting the one you currently have, OR, follow these instructions below to implement the simple fix.

OPEN: public_html/blocks/block-Evo_Menu.php

FIND:

CodeSelect all

.menu-container {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 250px;
    font-family: Arial, sans-serif;
}

REPLACE WITH:

CodeSelect all

.menu-container {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid;
    overflow: hidden;
    max-width: 250px;
    font-family: Arial, sans-serif;
    margin: 0 auto;
}

If you look closely, you will see that all I did was add in these 2 lines:

CodeSelect all

    border: 1px solid;
    margin: 0 auto;

That's it. Just save and close and you are good.

PostedFri Feb 06, 2026 12:00 am

There is a minor bug that was found & fixed by ##GazJ##. Below is the attached file, all you need to do is upload the file, keeping the folder structure.

What was changed:
The PHP each() function is deprecated as of PHP 7.2 and was removed in PHP 8.0. There were 2 each() functions found in this file. Those sections were fixed and replaced with updated code.

Here is the diffchecker:
https://www.evolution-xtreme.co.uk/modules.php?name=Diffchecker&id=6080e16ba5602108

The edits to pay attention to are as follows. Lines 219 - 221 and lines 224 - 228.
Also, like every file I work on now, I do remove all the whitespaces that were removed, which you can see with the highlighted line number in yellow.

PostedFri Nov 07, 2025 6:26 pm

In the last month, I have had a bunch of people approace me with an error like this showing up in your logs:

PHP Warning:  Undefined array key 1 in /home/public_html/themes/YOUR_THEME/theme.php on line 100

Of course that is not a exact copy for your paths may be different, theme name is different, and the line number will be different, but in sense, if you open up your theme that is having that error, the code looks like this:

PHPSelect all

<?php
$username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
?>

Here is a simple fix for it. Just replace that code there with this:

PHPSelect all

<?php
$username = $cookie[1] ?? "Anonymous";
?>

That's it.
Just don't add the <?php as that is just this system on this site. I need to see about fixing that so it's hidden here like on my site.

Now, why is that happening?

Well, in older PHP versions, accessing an undefined array key like $cookie[1] would just return "null" with a notice.
But, now in PHP 8.x+, it was upgraded to a warning, which is what you are seeing in that error. So, by adding the null coalescing operator, ( ?? ), it checks to see if $cookie[1] is set and not null, and if it is null, it will just say "Anonymous", since that was the purpose of the following if statement.

PostedWed Oct 29, 2025 7:12 pm
— samueljd wrote

You don't have these files ready because I've tried editing them several times and I can't. My site keeps going offline due to an error.

help...... Crying or Very sad  Crying or Very sad  Crying or Very sad  Crying or Very sad  Crying or Very sad  Crying or Very sad  Crying or Very sad

First post, I do have pre-edited files available. Just like the first update, which is required to have installed before this one.
I do recommend editing the files yourself, but, if your site is a new site without many modifications, then the pre-edited files are just fine.

PostedTue Jul 29, 2025 10:54 pm
Subject: Evo Analytics

Original Post:  https://www.headshotdomain.net/modules.php?name=Forums&file=viewtopic&p=8581#8581

This only appeared so far on my website that I know of, but, I fixed it none-the-less. If you are super lazy and want to just download the new file and replace the one you have, that's fine, but I can say that is more work than just doing the code change.

File to fix:
public_html/includes/custom_files/Analytics/web-analytics.php

Find on line 22:

CodeSelect all

define('LAST_RUN_FILE', ANALYTICS_INCLUDES_PATH . 'cache/.last_geoip_cleanup');

Replace with:

CodeSelect all

define('LAST_RUN_FILE', __DIR__  . '/cache/.last_geoip_cleanup');

Save & Close

So far, as long as it isn't putting errors into your error log, then you are okay with keeping it as is, but if you start getting an error like:

[29-Jul-2025 18:17:59 America/New_York] PHP Warning:  file_put_contents(./includes/custom_files/Analytics/cache/.last_geoip_cleanup): failed to open stream: No such file or directory in /home/www/YOUR_SITES_PATH/includes/custom_files/Analytics/web-analytics.php on line 188
[29-Jul-2025 18:17:59 America/New_York] PHP Warning:  chmod(): No such file or directory in /home/www/YOUR_SITES_PATH/includes/custom_files/Analytics/web-analytics.php on line 189

I would fix it.

I wasn't seeing this error until a few days ago. I don't know if my error logging has changed, or I did something, but, what ever it is, this is the fix. I already updated the download on both websites, so if you DL it from after this post was made, the no worries.

PostedThu Jun 12, 2025 9:10 pm

It was brought to my attention yesterday about a bug in the ACP -> Preferences -> Security section, when he went to click the info tab, no popup and no link was there to help them get to the reCAPTCHA to set it up. Down below is the fix, just download the attached file it and upload it to your site keeping the folder structure, overwriting what you have.

The download of the CMS has NOT been updated yet with this.

PostedSun Jun 08, 2025 5:08 pm

While looking at my site and here, I notticed if you typed something in the shoutbox, the counter would count down, (as it should), but when you hit Enter or clicked the submit, the counter didn't reset. So I went back to my local and realized, I forgot to put something that was on my local, into the release.

So, if you don't want to do the extremely simple edit, just redownload the module from either this site or my site, and just update the public_html/modules/Shout/includes/shout-block-script.js file with a fresh one from a fresh download, over writing the one that you have on your site.

If you want to do the edit, all you need to do is this:

OPEN: public_html/modules/Shout/includes/shout-block-script.js

On line 50 -51, FIND:

CodeSelect all

document.getElementById("message").value = '';
            fetchMessages();

In between those lines, put:

CodeSelect all

updateCharacterCounter();

So it should look like this:

CodeSelect all

document.getElementById("message").value = '';
            updateCharacterCounter();
            fetchMessages();

Save and close.

Now, clear your browsers cache and your sites cache, and you are good to go.
I built the function, and I did put it in my local server, but, never put the trigger in the release version. Whoops.

PostedSun May 25, 2025 3:37 pm

Okay, working on someones site and checking error logs, I found they had a bunch of errors I have never seen before. After looking into it. I had written up a fix for this issue.

What was happening:

When someone went to the members list module and just say, tried visiting a page that didn't exist. It would throw an error. So what I did was wrote some code that counts the total number of valid users in the database, excluding anonymous users and those with a user level of -1. It then calculates how many pages are needed to display all users based on the number of items per page. By comparing the requested page number to the maximum possible pages, it prevents invalid page numbers that would cause SQL errors. This ensures the query always uses a safe and valid range for pagination.

To fix this, download the attached file and upload it to your site, keeping the file structure and overwrite your current file. To test to see it working, just go to your site, and put at the end of your URL this:

  /modules.php?name=Members_List&page=9999

If you don't see an error, you did it right.

Page 1 of 3
Time synchronized with your computer time