1. Akiba-Online is sponsored by FileJoker.

    FileJoker is a required filehost for all new posts and content replies in the Direct Downloads subforums.

    Failure to include FileJoker links for Direct Download posts will result in deletion of your posts or worse.

    For more information see
    this thread.
    Dismiss Notice

Please post all forum bugs here

Discussion in 'Site Support & Bugs' started by elgringo14, Aug 28, 2013.

  1. granatnik

    granatnik Akiba Citizen

    I'm getting this exact problem again today... if you want to check something.
     
    CoolKevin likes this.
  2. KaiEr

    KaiEr Well-Known Member

    Is it just me or has there been format issues with the site today? Everything is out of whack for me.
     
    Myasya likes this.
  3. hiten

    hiten New Member

    Same here, the site still looks broken for me.
     
  4. PJB

    PJB Well-Known Member

    Yep. Problem seems to be back again.
     
  5. Electromog

    Electromog Akiba Citizen

    No issues for me right now, so it is probably just one or a few of the servers again.
     
  6. chibob

    chibob New Member

    So, I'm having the CSS error, but I have a bit of javascript that you can put into a bookmarklet that I use to fix it:
    Code:
    javascript:(document.querySelectorAll('link[rel=stylesheet]').forEach(s => {if(s.href.includes('xenforo')) s.href = s.href.replace(/&d=\d*/,'');}))
    Put that as a bookmark and it "fixes" the styles by properly loading in stylesheet (for me, and please let me know if it works for you).

    You can paste it into your url bar to try it out, but it will remove the javascript: to prevent someone from being tricked into pasting malicious code. You'll have to type that bit in yourself.

    With that in mind, here is the code spread out a bit so you can see it's innocuous.
    Code:
    document.querySelectorAll('link[rel=stylesheet]').forEach(s => {
      if(s.href.includes('xenforo'))
        s.href = s.href.replace(/&d=\d*/,'');
    }))
    So, the problem file is this (it returns with a 502 Bad Gateway error):

    <link rel="stylesheet" href="/css/css=xenforo,form,public&style=8&dir=LTR&d=1595788270">

    Through some messing around, I discovered the file would load if the last part of the query was removed: d=1595788270. If you just edit the url, the browser automagically downloads the file for you.

    The code grabs all of the stylesheet links, find the right one (by checking if it includes xenforo) and lops off the last query variable.

    I'm not sure what that query variable does, but the file loads properly without it for me.
     
  7. KaiEr

    KaiEr Well-Known Member

    I'm getting the same formatting error on every browser I'm using. Any update as to when this will be fixed? It's hard to even navigate the site, let alone read/post.
     
    Myasya likes this.
  8. SpaceNeko

    SpaceNeko Active Member

    This is how the site has looked for me off and on over the last few months:

    Akiba.JPG
     
  9. CoolKevin

    CoolKevin Nutcase on the loose Staff Member Super Moderator

    sorry for the delay, we are trying to sort it out
     
    SpaceNeko, Casshern2 and granatnik like this.
  10. C00Lzero

    C00Lzero Administrator Conqueror

    some cloudflare fuck-up <.<
    not sure what has happened.
    i've completely disabled the replacement for css and js files for the time being.

    Also i've started the transition to an geo-aware setup - as well as trying out some more caching (with cloudflare)
    I'm not sure if this will have other problems, like cf writing us, that we are using too much bandwidth; if this is the case, i will disable cf-caching for attachements again.
    also static files will be moved to the new cdn-domain if everything will work out, the way I hope it will.

    If this transition is sucessfull i will enable geo-DNS.

    Also i'm now going to monitor the site a bit more - sorry for any inconvenience. I didn't expect that much problems with changing frontend-servers :(
     
    granatnik, khanhav and CoolKevin like this.
  11. khanhav

    khanhav Akiba Citizen

    Upload images error!
     
  12. CoolKevin

    CoolKevin Nutcase on the loose Staff Member Super Moderator

    it is being worked on
     
    khanhav likes this.
  13. C00Lzero

    C00Lzero Administrator Conqueror

    rewrite disabled, till i find a solution for this problem ...

    edit
    enabled attachment-rewrite again.

    edit
    again some errors - fixing it now ...

    edit
    regex fixed. Please report all errors

    edit 2020/11/23
    too much traffic for cloudlare free... so lets see what i can find elsewhere...
     
    Last edited: Nov 23, 2020
    granatnik, Casshern2 and CoolKevin like this.
  14. granatnik

    granatnik Akiba Citizen

    Is that problem with excessive traffic the reason for CSS file going missing for me again for a while? Repetitive reloads have finally found the file, but that was slightly scary...
     
  15. granatnik

    granatnik Akiba Citizen

    I think I have fallen victim to something here wwww
     
  16. C00Lzero

    C00Lzero Administrator Conqueror

    mhm. i'm re-enabeling the URL again.
    But actually it should not occure anymore, since i've disabled the change to this domain o.o

    thanks for posting.
     
    Casshern2, CoolKevin and granatnik like this.