Moving forum to new server - blank screen / 403 / 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arven
    New Member
    • Oct 2006
    • 9

    Moving forum to new server - blank screen / 403 / 500

    Hi!

    I recently had to move one of my forums (3.6.8) to a new server.

    After a few troubles I got the database over okay (afaics), the files themselves weren't a problem either.

    But now I get this error message:

    500 - Internal Server Error

    This is a temporary server error.

    Please try to reload the webpage later.

    If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
    Common reasons for this error are:
    • Incorrect file/directory permissions: Above 755. In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
    • Incorrect Apache directives inside .htaccess file. Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

    When I change the file permissions, I get a similar 403 error.

    I deleted the .htaccess (containing only one line:

    Code:
    php_value memory_limit 16M
    Now I get a blank screen. Looking at the page source reveals there is ... nothing. No error message, nothing.

    The administrators couldn't find anything, but gave me this message:

    I have again reviewed your case and I can confirm that the 500 Internal server error was caused by the directive in the file.

    Once I removed this line, the internal server error was resolved but your forum displayed a blank page. I have traced the execution of the index.php file of your forum and I noticed that the execution gets interrupted without error messages after certain template data is being read from the database.

    I believe that you need to consult the vBulletin support team regarding this problem.

    Below is the debug information I received when tracing your scripts, the part just before the execution was interrupted:

    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1461nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    time(NULL) = 1340660728
    time(NULL) = 1340660728
    time(NULL) = 1340660728
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1462nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1458nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1458nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1458nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1464nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb64d9000
    munmap(0xb64d9000, 528384) = 0
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "K3nttttSELECT templatenttttFROM wcf_templatenttttWHERE templateid = 1455nttt", 79) = 79
    read(4, "111S23def25phoenixi_warlordforumfwcf_templatefwcf_template10template10templatef1037737737 737420533762543762", 16384) = 110
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "2713ntttttUPDATE wcf_sessionntttttSET lastactivity = 1340660728, inforum = 0, inthread = 0, incalendar = 0, badlocation = 0ntttttWHERE sessionhash = '565b835bd5bf552a307d8493ee330bba'ntttt", 189) = 189
    read(4, "0112(Rows matched: 1 Changed: 1 Warnings: 0", 16384) = 52
    rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTART}, {0x1, [PIPE], SA_RESTART}, 8) = 0
    poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
    write(4, "11", 5) = 5
    shutdown(4, 2 /* send and receive */) = 0
    close(4) = 0
    rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTART}, {0x1, [PIPE], SA_RESTART}, 8) = 0
    close(2) = 0
    close(1) = 0
    munmap(0xb7605000, 4096) = 0
    close(0) = 0
    munmap(0xb7606000, 4096) = 0
    munmap(0xb655a000, 528384) = 0
    setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
    munmap(0xb67c9000, 310120) = 0
    munmap(0xb6815000, 44292) = 0
    munmap(0xb6820000, 42768) = 0
    munmap(0xb682b000, 56136) = 0
    Can anybody tell me, what's happening here? Thank you!
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Are you sure you actually copied over the complete database?

    Here is a page from the manual about troubleshooting blank or 'white' pages: https://www.vbulletin.com/docs/html/blank_pages

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Dustin L.
      Senior Member
      • Mar 2011
      • 639
      • 4.2.X

      #3
      Re-upload index.php whilst your FTP program is set to upload in ASCII format.
      http://quikmsg.net/strtoupper/ - Convert lowercase text and code to all uppercase!
      http://quikmsg.net/strtolower/ - Convert uppercase text and code to all lowercase!

      Comment

      • Arven
        New Member
        • Oct 2006
        • 9

        #4
        Originally posted by Microsuck
        Re-upload index.php whilst your FTP program is set to upload in ASCII format.
        If it had been that easy *sigh*. The ftp program loads up all those files as ASCII on default, but comparing file sizes something is wrong anyway 8(. Going through Lynne's link above.

        Thanks for your help!

        - - - Updated - - -

        Hmm. There was some mix-up of 3.8.6 and 3.6.8 files. I am now uploading the files into a new directory and go from there.

        As it goes I did NOT upload the entire database: I skipped on the contents of the table 'attachments' since they make up about 90% of a 500 MB SQL dump. phpMyAdmin kind of balks at uploading the separated files (all under 50 MB, done with SQLDumpSplitter).

        Would that be a problem?

        Comment

        • Arven
          New Member
          • Oct 2006
          • 9

          #5
          Still the same error message in the forum root:

          500 - Internal Server Error

          This is a temporary server error.

          Please try to reload the webpage later.


          If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
          Common reasons for this error are:
          • Incorrect file/directory permissions: Above 755. In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.
          • Incorrect Apache directives inside .htaccess file. Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings.

          I do get a login at /admincp/ now, but when I enter my admin data it just reverts to login (after saying "thank you for logging in). If I enter a wrong username, it brings me to /login.php?do=login - that's the first page that looks like it's supposed to ;-).

          Through the drop down menu I was able to access pages displayed via /forumdisplay.php?f=... , but login still isn't possible.

          PHP version is 5.25. Actually phpinfo tells different from cPanel.
          PHP version is 5.2.17 CGI

          display_errors STDOUT STDOUT
          display_startup_errors Off Off
          hmm. disabling the php_value memory_limit 16M in .htaccess now actually let's me see the forum, but I still can't login...
          Last edited by Arven; Tue 26 Jun '12, 11:59pm.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...