• Welcome to Simple Machines Community Forum. Please login or sign up.

Many 127.0.0.1 404s after installing 2.0.15 with PostgreSQL

Started by m4z, May 06, 2019, 05:59:56 PM

Previous topic - Next topic

m4z

Greetings, trying to install 2.0.15 with PostgreSQL 9.4 (and, against recommendation, unchanged standard_conforming_strings because from this thread I gather that replacing a few (26) occurences of "\'" with "''" seems to be enough; at least I get no DB errors during install).

After installation, my forum is rather un-themed and in the JS console and page source, I see a lot of references to "http://127.0.0.1/smf/[...]", f.e. "http://127.0.0.1/smf/Themes/default/css/index.css?fin20".

It looks to me like stylesheet, javascript and image files use the incorrect URLs, while "forum-internal" links, that is, links to HTML pages, seem to contain the correct URL. (I've attached the resulting index.php with sanitized domain name.)

Any idea what could be causing this? What can I do to provide more info?

Thanks!
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

m4z

Just found this in the DB, but no clue how it got there:

test-smf20=> select * from smf20_settings where value like '%127%';
  variable   |            value
-------------+------------------------------
smileys_url | http://127.0.0.1/smf/Smileys
avatar_url  | http://127.0.0.1/smf/avatars
(2 rows)
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

m4z

Even after updating these items, the problem persists.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

m4z

Also found and updated:

test-smf20=> select * from smf20_themes where value like '%127%';
id_member | id_theme |  variable  |                   value
-----------+----------+------------+--------------------------------------------
         0 |        1 | theme_url  | http://127.0.0.1/smf/Themes/default
         0 |        1 | images_url | http://127.0.0.1/smf/Themes/default/images
         0 |        2 | theme_url  | http://127.0.0.1/smf/Themes/core
         0 |        2 | images_url | http://127.0.0.1/smf/Themes/core/images
(4 rows)


Seems to be solved. Thanks for listening. (c;
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

SychO

Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Advertisement: