News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Where is it getting this URL from?

Started by Cloudmaster, May 06, 2019, 12:13:30 PM

Previous topic - Next topic

Cloudmaster

Hi all,

To try and figure out what's gone wrong with a failed upgrade, I've done a clean install of 2.0.13 with a clean database and set every URL (where it's needed) in Settings.php as https://staging.airseatac.net/forum, but as you'll see from this section of the forum homepage source, some parts of the software are using http://127.0.0.1/smf

<link rel="stylesheet" type="text/css" href="http://127.0.0.1/smf/Themes/core/css/index.css?fin20" />
<link rel="stylesheet" type="text/css" href="http://127.0.0.1/smf/Themes/core/css/webkit.css" />
<script type="text/javascript" src="https://staging.airseatac.net/forum/Themes/default/scripts/script.js?fin20"></script>
<script type="text/javascript" src="http://127.0.0.1/smf/Themes/core/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://127.0.0.1/smf/Themes/core";
var smf_default_theme_url = "https://staging.airseatac.net/forum/Themes/default";
var smf_images_url = "http://127.0.0.1/smf/Themes/core/images";
var smf_scripturl = "https://staging.airseatac.net/forum/index.php";


Where is it getting the http://127.0.0.1 from?  It's not the database because I've checked that thoroughly.

Thanks for looking

Illori

use repair_settings.php to fix your URLs

What is repair_settings.php?

this is a bug.

Cloudmaster

Many many thanks!!

Solved the problem instantly

Advertisement: