XF 2.2 Upgrade from php 7.0 to 7.3 - some links now lead to download a file ...

otix_

Member
Hello,

after upgrading our PHP version via WHM from 7.0 to 7.3 some links in the Forum links lead to download a file called "Download"
with php-code:

Code:
<?php

$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
{
    die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");
}

$dir = __DIR__;
require($dir . '/src/XF.php');

XF::start($dir);

if (\XF::requestUrlMatchesApi())
{
    \XF::runApp('XF\Api\App');
}
else
{
    \XF::runApp('XF\Pub\App');
}

Why? What can I do?
Thank you
 

Brogan

XenForo moderator
Staff member
I clicked around your site for a few minutes and didn't have any issues.

Can you provide some example URLs which are exhibiting the problem?
 

ehd

Well-known member
Might be some unfortunate choice of domain name since "net" in a some German slangs resolve to "nicht" respectively "not".
But whatever.
 
Top