Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Nothing loading / everything stays the same

Hi everyone,

I'm having a very strange issue.

Basically, when i go onto my forum, it's showing the categories. That's fine. Now, when i press anything, dashboard, a category, logout/login, anything at all, the URL will change, and it will appear as if something is loading, but it will just stay on the category page. This happens no matter what i press.

This is not a local issue, other users are experiencing it aswell.
I can't even access my dashboard, so i do not know how much i can tell from there.

«1

Comments

  • kopnakopna Coimbra Portugal ☯

    @Jonassm
    I can't even access my dashboard, so i do not know how much i can tell from there.

    You can always log in dashboard www./your_site/forum/dashboard/settings

  • @kopna said:

    @Jonassm
    I can't even access my dashboard, so i do not know how much i can tell from there.

    You can always log in dashboard www./your_site/forum/dashboard/settings

    Nope. Just shows me the category page.

  • R_JR_J Ex-Fanboy Munich Admin

    Do you see errors in the JavaScript console?

  • @R_J said:
    Do you see errors in the JavaScript console?

    Nope. I see an error about a font being loaded without HTTPS, if i load that anyway(chrome thing) doesn't help.

  • Anyone? My forum is totally inacessible.

  • TimTim Operations Vanilla Staff

    This is almost certainly a webserver configuration issue. All pageloads are hitting index.php with no arguments, which loads the default route.

    Have you installed your .htaccess or vanilla-specific nginx config?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • @Tim said:
    This is almost certainly a webserver configuration issue. All pageloads are hitting index.php with no arguments, which loads the default route.

    Have you installed your .htaccess or vanilla-specific nginx config?

    Hi,

    I've just talked to my host and they say that recently they moved to a new cPanel, this means all forum files have been moved over to public_html.

    They say the .htaccess files is still correct though.

    Look, i'm very new to anything web-related, what files can i pastebin to help?

  • R_JR_J Ex-Fanboy Munich Admin

    You would have to find out where your server log files are. The Apache2 error.log file would be helpful - but please don't publish it, only look at the last few lines to see if there is useful information in there.

    Maybe you have a graphical interface for your server and you can open it there somewhere. Or do you have shell access and can try to open it from /var/log/apache2/error.log

  • As far as i'm concerned there are no error messages.

  • R_JR_J Ex-Fanboy Munich Admin

    Are you sure you found the error logs and there is nothing in it or haven't you found any error log and assume that therefore there are no errors? Sorry, if that is silly question for you, but as you can assume, this is not the expected behavior of Vanilla and I find it hard to believe that neither your browser nor your server show any errors and also you told us you are new to web related things.

    Would you mind sharing a link?

  • @R_J said:
    Are you sure you found the error logs and there is nothing in it or haven't you found any error log and assume that therefore there are no errors? Sorry, if that is silly question for you, but as you can assume, this is not the expected behavior of Vanilla and I find it hard to believe that neither your browser nor your server show any errors and also you told us you are new to web related things.

    Would you mind sharing a link?

    I looked through all error logs i have access too, through cPanel and the actual files through FTP, and there are none as far as i can tell.

    https://forum.simplesurvival.eu

  • R_JR_J Ex-Fanboy Munich Admin

    Please check that you do not have configured any strange redirections in cPanel and that Vanillas .htaccess file looks like this:

    # Original
    # If you modify this file then change the above line to: # Modified
    
    <IfModule mod_rewrite.c>
        RewriteEngine On
    
        # Certain hosts may require the following line.
        # If vanilla is in a subfolder then you need to specify it after the /.
        # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
        # RewriteBase /
    
        RewriteCond %{QUERY_STRING} ^p=/?([^&]+)(&([^?]+))?$
        RewriteRule ^index\.php %1?%3 [E=X_REWRITE:1,L]
    
        # The basic rewrite rule.
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php [QSA,E=X_REWRITE:1,E=X_PATH_INFO:/$1,L]
    
        # Add the proper X_REWRITE server variable for rewritten requests.
        RewriteCond %{ENV:REDIRECT_X_REWRITE} .+
        RewriteCond %{ENV:REDIRECT_X_PATH_INFO} (.+)
        RewriteRule ^index\.php - [QSA,E=X_REWRITE:1,E=!REDIRECT_X_REWRITE,E=X_PATH_INFO:%1,E=!REDIRECT_X_PATH_INFO,L]
    
        # 301 redirect urls that start with index.php
        #RewriteCond %{REQUEST_METHOD} GET [NC]
        #RewriteCond %{REQUEST_URI} ^(.*?)/index\.php(.*)$
        #RewriteRule ^index\.php /%1%2 [QSA,R,L]
    </IfModule>
    
    <IfModule mod_headers.c>
       <FilesMatch "(?<!embed)\.(css|js|woff|ttf|eot|svg|png|gif|jpeg|jpg|ico|swf)$">
          Header set Cache-Control "max-age=315360000"
          Header set Expires "31 December 2037 23:59:59 GMT"
       </FilesMatch>
    </IfModule>
    

    or like that

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /.
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       # RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
  • kopnakopna Coimbra Portugal ☯

    @R_J
    the second option is more capable.

    Error that users are not able to finish reading tips through or finally understand where and how their creations posted.

  • Can you post your .htaccess file?

  • FYI, to fix:
    "Blocked loading mixed active content “http://themes.googleusercontent.com/static/...."

    You should be able to get rid of the http and change the call to:
    src=//themes.googleusercontent.com/static/..."

    Donovan

  • @R_J said:
    Please check that you do not have configured any strange redirections in cPanel and that Vanillas .htaccess file looks like this:

    -snip-
    
    or like that
    

    Original

    If you modify this file then change the above line to: # Modified


    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
    # RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]

    ~~~

    Second one fixed it, thank you!

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    If you modify this file then change the above line to: # Modified

    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
     RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    

    The # disables the rewrite...

  • R_JR_J Ex-Fanboy Munich Admin

    Glad to hear your problem is solved now! Just out of curiosity: was it looking like the first version or completely different?

  • JonassmJonassm New
    edited May 2017

    @R_J said:
    Glad to hear your problem is solved now! Just out of curiosity: was it looking like the first version or completely different?

    https://pastebin.com/fQwjE2Gh - original

  • R_JR_J Ex-Fanboy Munich Admin

    Thanks for the info! I would guess the new cPanel changed the .htaccess and that was the reason for your problem.

Sign In or Register to comment.