SMF Forums / Simple Machines Forums Not Displaying Images Theme or Styles Properly using 127.0.0.1

This is one thing that has me wondering about SMF. It is apparently a known issue but in the latest version and new install nothing looked right because it was using http://127.0.0.1 to find everything! How on earth would it ever do this or think it is normal?

Excerpt of crazy html code it produces that causes the issue:











To repair it you need to get a tool from the SMF site: https://wiki.simplemachines.org/smf/Repair_settings.php#Download_the_Repair_Settings_Tool

Get the tool run it and you'll see some output like this:

Almost always aside from MySQL DB you should change 127.0.0.1 to the domain name of your server.



URLs
These are the paths and URLs to your SMF installation, and can cause big problems when they are wrong. Sorry, there are a lot of them.
Forum URL:
Recommended value: "https://forums.domain.com".
Forum Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs".
Sources Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/Sources".
Attachment Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/attachments".
Avatar URL:
Recommended value: "https://forums.domain.com/avatars".
Avatar Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/avatars".
Custom Avatar URL:
Value not found!
Custom Avatar Directory:
Value not found!
Smileys URL:
Recommended value: "https://forums.domain.com/Smileys".
Smileys Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/Smileys".






Paths & URLs For Themes
These are the paths and URLs to your SMF themes.
SMF Default Theme - Curve URL:
Recommended value: "https://forums.domain.com/Themes/default".
SMF Default Theme - Curve Images URL:
Recommended value: "https://forums.domain.com/Themes/default/images".
SMF Default Theme - Curve Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/Themes/default".
Core Theme URL:
Recommended value: "https://forums.domain.com/Themes/core".
Core Theme Images URL:
Recommended value: "https://forums.domain.com/Themes/core/images".
Core Theme Directory:
Recommended value: "/var/www/vhosts/domain.com/httpdocs/Themes/core".


Tags:

smf, forums, displaying, images, styles, install, http, excerpt, html, produces, rel, quot, stylesheet, text, css, href, themes, default, index, fin, javascript, src, scripts, js, img, upshrink, png, alt, expand, header, display, smflogo, forum, div, repair, https, wiki, simplemachines, org, repair_settings, php, download_the_repair_settings_tool, ll, output, mysql, db, domain, server, urls, paths, installation, url, recommended, directory, var, www, vhosts, httpdocs, sources, attachment, attachments, avatars, custom, smileys,

Latest Articles

  • SSH Keep Alive To stop Disconnections
  • Linux How To Disable SATA NCQ For Better Performance
  • the sign-in method you're trying to use isn't allowed. For more info, contact your network administrator - solution for active directory
  • gsmartcontrol for Windows to Check the SMART S.M.A.R.T status
  • WebRTC Vulnerability Shows Local IP Address Even When Using a Proxy or VPN Firefox Fix And Disable Solution
  • chroot in Linux Howto Simple and Easy Guide
  • qemu-kvm qemu-system Image format was not specified for '/mnt/space/cucm12.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'ra
  • Linux Over VNC VMWare How To Switch Virtual Terminals Console Without Using Ctrl+Alt+F1
  • Skype For Business 2015 and 2019 Guide, Reference, Howto and Troubleshooting Solutions
  • Centos 6 or 7 no DHCP IP during startup on first boot or reboot solution
  • Debian / Mint / Ubuntu net-tools packages provides netstat, ifconfig, route, arp and other classic network admin tools
  • Linux Mint XWindows Ubuntu MATE or Cinnamon How To Restart The GUI / Graphics / Session if it freezes without losing current windows or programs
  • Linux bash prompt why does it not show username@host and the current directory?
  • Microsoft SQL Server Check What Version is Running
  • How to install and setup LXC Containers (OpenVZ alternative) on Centos 6 / 7
  • Cisco CUCM Unified Communication Manager Howto Guide and Tutorials
  • SSH persistent and automatic login script for proxy
  • SSH proxy/command in the background or from cron script
  • ssh reverse proxy to enable remote access behind a LAN and firewall
  • How To Use Letsencrypt SSL/TLS Encryption to Create Certificates without installing on the target machine