Skip to main content
Topic: Topic display is broken (Read 3566 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Topic display is broken

Maybe this is related to my problem here: http://www.elkarte.net/community/index.php?topic=1869.0

After migrating to a VPS, the display of the topic is broken: e.g. http://dfns.org/index.php?topic=67.msg3614#new
But the display of main page or category is fine.

Edit:

Looks like it only broken on mobile version? I don't know why on my netbook it using mobile display (1024x600).
Last Edit: August 18, 2014, 01:14:05 am by kucing
192.MY.ID: Forum ISP Indonesia.

Re: Topic display is broken

Reply #1

I think it is broken only if you enter board index directly. Going to other pages is generally ok. Anyway, is your VPS working fine? Sometimes, improper htaccess may cause that too.

Re: Topic display is broken

Reply #2

Something looks broken in the building of the hives of the minified css and javascripts.
If you can, try downloading the latests "master" code from github and upload it. I don't remember any big fix on that area (just something related to debugging), but it doesn't hurt.

If I were you, I would also check the paths of the themes.

The hives also have strange names in Display:
Code: [Select]
http://dfns.org/cache/A.hive-705cffeeb6a6a4f2bfedcb9a2a24814bcd622baa.css,qd5e71b88.pagespeed.cf.YXyHdzdca7.css
Starting from the "A." at the beginning, then the file names of the css loaded (pagespeed, YXyHdzdca7).

If I were you, I would also check all the paths (cache dir, themes dir, attachments dir, etc.) there is something definitely broken in that area because the avatars are not showing up.
Bugs creator.
Features destroyer.
Template killer.

Re: Topic display is broken

Reply #3

Will do, already fixed the directory name in settings.php.

I restored the forum using the files and databases from the backup 2 months ago. Another thing is, before the server is Apache (shared hosting) now I'm using nginx.

Edit:
QuoteThe hives also have strange names in Display:
Code: [Select]
http://dfns.org/cache/A.hive-705cffeeb6a6a4f2bfedcb9a2a24814bcd622baa.css,qd5e71b88.pagespeed.cf.YXyHdzdca7.css
Starting from the "A." at the beginning, then the file names of the css loaded (pagespeed, YXyHdzdca7).

Looks like it's from Nginx Pagespeed module. I will disable it.
https://developers.google.com/speed/pagespeed/module
https://github.com/pagespeed/ngx_pagespeed
Last Edit: August 18, 2014, 04:31:58 am by kucing
192.MY.ID: Forum ISP Indonesia.

Re: Topic display is broken

Reply #4

Did you also disable the cache?
Oh, I didn't see the edit....
Bugs creator.
Features destroyer.
Template killer.

Re: Topic display is broken

Reply #5

How to disable the cache manually?

To disable pagespeed I must reinstall nginx.
192.MY.ID: Forum ISP Indonesia.

Re: Topic display is broken

Reply #6

Do a touch (I mean the *nix command) on Load.php, that should invalidate the cache and let you regenerate a new set of hives (the minified files), of just empty out the cache directory.
But first you have to be sure paths are correct, so first thing is fix the other problem with the sessions. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: Topic display is broken

Reply #7

Quote from: kucing – How to disable the cache manually?

To disable pagespeed I must reinstall nginx.
You should be able to disable the css and js combiners since ElkArte takes care of that for you.
Code: [Select]
    pagespeed DisableFilters combine_css,combine_javascript;
or turn them all of with
Code: [Select]
    pagespeed RewriteLevel PassThrough;
in your sites .conf file

Re: Topic display is broken

Reply #8

Hi Spuds, I disabled PageSpeed for now. Thanks for the solution.
192.MY.ID: Forum ISP Indonesia.