Announcement

Collapse
No announcement yet.

Problem with custom pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with custom pages

    Hi,

    This afternoon I added 3 custom pages on our site. I just finished them all and everything worked fine, until one moment there is only one custom page working.
    The other 2 just give me a white page. As the page gives a white page error I can´t acces the site manager to edit or have a look if I can do anything. I can´t even delete the pages as I can´t acces the site manager.

    The Link of our Forum is "https://www.skyline-forum.de"

    What I recognized is when I use the two different links they both redirect to the same place:
    Custom Page 1 : https://www.skyline-forum.de/Regeln
    Custom Page 2 : https://www.skyline-forum.de/Downloads

    But both links seem to leed to "https://www.skyline-forum.de/Downloads" which I don´t understand.
    On the first Page there was just a normal module for text and on the second page there was a multitab with several html modules.

    Is there any possibillity to have again acces to the sites via admin cp, to check the code or at least to be able to delete them.
    So that I can make a new page.

  • #2
    Hi,

    As my problem hasn`t been solved yet I wanted to ask if there is really nobody who could help me ?

    Comment


    • #3
      A blank white page is usually a php error.

      What do the server php logs show when the white page is displayed?
      MARK.B
      vBulletin Support

      Comment


      • #4
        For the linking issue, if you move a page from one URL to another, a redirect is created from old to new. If you create a new page with the old URL, it should have a modifier added to the end of it like _aa. However, without access to the database, we can't tell you why both pages go to the same URL.

        For the blank page, you may be able to view the PHP Error if you put the site into debug mode.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          Originally posted by Wayne Luke View Post
          For the linking issue, if you move a page from one URL to another, a redirect is created from old to new. If you create a new page with the old URL, it should have a modifier added to the end of it like _aa. However, without access to the database, we can't tell you why both pages go to the same URL.

          For the blank page, you may be able to view the PHP Error if you put the site into debug mode.
          I tried to put the site in debug mode but for the two pages there is still just a white screen no additional information as for the pages working and no error message.

          I entered the path to save the error log files but until now there is no logfile.

          IS there anything else I can try to solve the problem ?

          Comment


          • #6
            Looking at this in the browser debug window, I see mixed content errors as well as XSS warnings causing resources to be blocked.
            VB 5.7.2
            PHP 7.4
            MySQL 8.0.28

            Comment


            • #7
              I get a 403 error.

              Code:
              Request URL: https://www.skyline-forum.de/downloads/
              Request Method: GET
              Status Code: 403 Forbidden
              Remote Address: 217.160.0.54:443
              Referrer Policy: no-referrer-when-downgrade
              The question is why? vBulletin doesn't have permissions on pages at this time. Your server's httpd access logs should have more information on this 403 error and why it happened.

              What are the contents of your vBulletin .htaccess file?


              We need to resolve this before we can resolve the redirect.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment


              • #8
                Hi,

                On one of the pages there ist just text, the rules of the board.
                On the other page there is a multitab module with different links to pdf documents and different lying on the same server as the board. It´s used as a "download section".

                Comment


                • #9
                  Originally posted by Wayne Luke View Post
                  What are the contents of your vBulletin .htaccess file?
                  ...
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment


                  • #10
                    Here`s the content of the htaccess file of vb5

                    Code:
                    <IfModule mod_rewrite.c>
                        RewriteEngine On
                    
                        # In some cases where you have other mod_rewrite rules, you may need to remove the
                        # comment on the following RewriteBase line and change it to match your folder name.
                        # This resets the other mod_rewrite rules for just this directory
                        # If your site was www.example.com/forum, the setting would be /forum/
                        RewriteBase /
                    
                        #If you used friendly urls in vB4, then uncommenting the following rules will redirect the #
                        #old vB4 urls to a similar location in vB5.  This is unnecesary for a new vB5 install.
                        #RewriteRule ^threads/.* showthread.php [QSA]
                        #RewriteRule ^forums/.* forumdisplay.php [QSA]
                        #RewriteRule ^members/.* member.php [QSA]
                        #RewriteRule ^blogs/.* blog.php [QSA]
                        #RewriteRule ^entries/.* entry.php [QSA]
                    
                        #To redirect users to the secure version of your site, uncomment the lines below
                        RewriteCond %{HTTPS} !=on
                        RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
                    
                        # Send css calls directly to the correct file VBV-7807
                        RewriteRule ^css.php$ core/css.php [NC,L]
                    
                        # Redirect old install path to core.
                        RewriteRule ^install/ core/install/ [NC,L]
                    
                        # Main Redirect
                        RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
                    
                        # Because admincp is an actual directory.
                        RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
                    
                    </IfModule>
                    
                    <IfModule mod_deflate.c>
                        AddOutputFilterByType DEFLATE application/atom+xml \
                                              text/javascript \
                                              application/x-javascript \
                                              application/javascript \
                                              application/json \
                                              application/rss+xml \
                                              application/vnd.ms-fontobject \
                                              application/x-font-ttf \
                                              application/xhtml+xml \
                                              application/xml \
                                              font/opentype \
                                              image/svg+xml \
                                              image/x-icon \
                                              text/css \
                                              text/html \
                                              text/plain \
                                              text/x-component \
                                              text/xml
                    </IfModule>
                    
                    <IfModule mod_expires.c>
                        ExpiresActive On
                        ExpiresByType application/x-javascript A1209600
                        ExpiresByType text/javascript A1209600
                        ExpiresByType application/javascript A1209600
                        ExpiresByType text/css A31536000
                        ExpiresByType image/x-icon A2592000
                        ExpiresByType image/icon A2592000
                        ExpiresByType application/x-ico A2592000
                        ExpiresByType application/ico A2592000
                        ExpiresByType image/gif A2592000
                        ExpiresByType image/jpeg A1209600
                        ExpiresByType image/jpg A1209600
                        ExpiresByType image/png A1209600
                        ExpiresByType application/x-shockwave-flash A1209600
                        ExpiresByType font/ttf A2592000
                        ExpiresByType font/otf A2592000
                        ExpiresByType font/x-woff A2592000
                        ExpiresByType image/svg+xml A2592000
                        ExpiresByType font/truetype A2592000
                        ExpiresByType font/opentype A2592000
                        ExpiresByType application/x-font-woff A2592000
                        ExpiresByType application/vnd.ms-fontobject A2592000
                    </IfModule>
                    
                    <IfModule mod_headers.c>
                    
                        Header set Connection keep-alive
                    
                        <filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
                            Header set Cache-Control "max-age=2592000, public"
                        </filesmatch>
                        <filesmatch "\.(jpg|jpeg|png)$">
                            Header set Cache-Control "max-age=1209600, public"
                        </filesmatch>
                        <filesmatch "\.(eot|woff|otf|ttf|svg)$">
                            Header set Cache-Control "max-age=2592000, public"
                        </filesmatch>
                        <filesmatch "\.(css)$">
                            Header set Cache-Control "max-age=31536000, public"
                        </filesmatch>
                        <filesmatch "\.(js)$">
                            Header set Cache-Control "max-age=1209600, public"
                        </filesmatch>
                    
                        # Don't allow other sites to frame in your content.  If you do need to frame the
                        # forums in on another host you will need to remove or change this line.
                        Header always append X-Frame-Options sameorigin
                    </IfModule>
                    
                    #don't allow some files that shouldn't really be present to be directly accessed.
                    #note that attachements should never be directly accessed by the webserver because
                    #we have permissions on the that are checked in the PHP code.
                    <FilesMatch "(^#.*#|error_log|\.(old|bak|config|dist|inc|ini|log|gz|tar|zip|sh|sql|sw[op])|~)$">
                        Order allow,deny
                        Deny from all
                        Satisfy All
                    </FilesMatch>

                    Comment


                    • #11
                      My firefox is blocking your links and it displays the following error to me:

                      Blocked loading mixed active content “http://pagead2.googlesyndication.com..._ads.js”

                      I checked what it means and it says that the active content starts with http:// rather than https://

                      Comment


                      • #12
                        Delete or rename the /downloads/ directory on your site.

                        What does this query return:

                        SELECT * FROM routenew WHERE redirect301>0;

                        Translations provided by Google.

                        Wayne Luke
                        The Rabid Badger - a vBulletin Cloud demonstration site.
                        vBulletin 5 API

                        Comment


                        • #13
                          Thank you for your help.
                          After renaming the directory I could access the different pages via vbulletin. I deleted them and created new sites.
                          After this everything works fine.

                          Comment

                          Related Topics

                          Collapse

                          Working...
                          X