data base error - upgrading to 4.2.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Grigoratos
    New Member
    • Oct 2018
    • 16
    • 4.2.x

    #16
    yes it does

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24288
      • 6.0.X

      #17
      Ok, open that and make sure your vBulletin database is selected.

      There should be an option somewhere for 'SQL Query' or similar.

      Run this:
      Code:
      REPAIR TABLE filedata
      Again it may take a while.
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • Mike Grigoratos
        New Member
        • Oct 2018
        • 16
        • 4.2.x

        #18
        okay blue host are doing what you have said, i'll see what happens from here

        Comment

        • Mike Grigoratos
          New Member
          • Oct 2018
          • 16
          • 4.2.x

          #19
          so they have done that now and there is still a database error but with out the description
          Database error
          The database has encountered a problem.

          Please try the following:
          • Load the page again by clicking the Refresh button in your web browser.
          • Open the www.miwasa.com home page, then try to open another page.
          • Click the Back button to try another link.
          The www.miwasa.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
          We apologise for any inconvenience.
          The "agent" says this

          [5:04:59 AM]D :Thank you for holding.
          [5:05:08 AM]D :I tried everything but did not work.
          [5:05:33 AM]D :I have created a ticket 08721707 and escalated to admins.
          [5:05:38 AM]D :You will get a reply from them soon
          [5:05:57 AM]D :I have clearly explained your issue to our admins.

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24288
            • 6.0.X

            #20
            Need to know what that actual error is. It should be in the server logs.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • Mike Grigoratos
              New Member
              • Oct 2018
              • 16
              • 4.2.x

              #21
              after many more hours now they have come back with this

              Originally posted by bluehost
              Hello and thank you for contacting support,

              This email is in regards to your case 08467385 concerning your site pulling up a database connection error. We definitely understand that it is important your site is up and working, which is why we ensured that the server was up and working as expected.

              With regards to third party software, we do not have the understanding that the software developer would have regarding troubleshooting their products. We do have the ability to look up errors and do our best to provide next steps, however since we are not developers, we cannot guarantee that we are able to provide the solution to your third party software's errors. After a bit of research, I did notice that a lot of people with similar problems seem to have an older version of vBulletin that is not compatible with higher levels of PHP. I also did note that your PHP version is at 5.6, which is a lower level of PHP, however it is an older version of PHP so there are risks with using it.

              We are here to ensure that our servers are working properly, and it does appear that the server is working. We did create a test PHP page on this server which I have linked below to show that the server is up and working, and it is a configuration of the site that is causing problems. We have provided several next steps in this email with the information on how to repair the database, and setting up error logs for your admin page to see what specific errors there are to lead to a resolution, however it is true we don't fully understand the software as we are not trained in vBulletin and do not want to cause any problems on the site further than what you are currently experiencing by providing incorrect information to you.

              We do recommend reaching out to a developer who specializes in vBulletin to find the specific cause of this problem, and how to resolve it, but from the research I've done it appears that you might need to upgrade either the vBulletin version you are using or the PHP version you are using, or reconfigure the database connection. We do apologize for any inconvenience this may cause.

              Your PHP version can be viewed at the link below, which can also be used to determine that PHP is running on our servers without issue:


              You can set up an error log by following the information below:
              https://www.vbulletin.com/docs/html/..._errorhandling

              If you have further questions, feel free to reach out to our 24/7 support team or respond to this email directly, and we would be more than happy to further assist you.

              Regards,
              Chuck
              Technical Support
              I don't know what results the phptest should have ?

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24288
                • 6.0.X

                #22
                Your hosts do not understand how databases and software work, so asking for their advice is pointless.

                Your site is returning a database error. We need to know what that error is. There are only two ways to find out:

                1. Accessing the server error logs, which your hosts can do. They don't need to fix the error or do anything at all, they just need to tell you what the error is.
                or
                2. Add your email address to the technical email field in includes/config.php. The error should get emailed to you.

                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • Mike Grigoratos
                  New Member
                  • Oct 2018
                  • 16
                  • 4.2.x

                  #23
                  Originally posted by Mark.B
                  2. Add your email address to the technical email field in includes/config.php. The error should get emailed to you.
                  i can do this

                  Comment

                  • Mike Grigoratos
                    New Member
                    • Oct 2018
                    • 16
                    • 4.2.x

                    #24
                    do these help ?

                    from the admin cp
                    Database error in vBulletin 4.2.3:

                    Invalid SQL:
                    SELECT SUM(filesize) AS size FROM filedata;

                    MySQL Error : Table './miwasaco_forums/filedata' is marked as crashed and last (automatic?) repair failed
                    Error Number : 144
                    Request Date : Friday, November 2nd 2018 @ 03:00:32 AM
                    Error Date : Friday, November 2nd 2018 @ 03:00:32 AM
                    Script : http://www.miwasa.com/forum/admincp/index.php?do=home
                    Referrer : http://www.miwasa.com/forum/admincp/index.php
                    IP Address : 203.221.29.91
                    Username : phat
                    Classname : vB_Database_MySQLi
                    MySQL Version : 5.6.41-84.1
                    and from the cms

                    Database error in vBulletin 4.2.3:

                    Invalid SQL:


                    SELECT
                    fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
                    a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
                    at.contenttypes

                    FROM attachment AS a
                    INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
                    LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)


                    WHERE
                    a.contentid = 224
                    AND
                    a.contenttypeid = 24


                    ORDER BY a.contentid, a.displayorder;

                    MySQL Error : Table './miwasaco_forums/filedata' is marked as crashed and last (automatic?) repair failed
                    Error Number : 144
                    Request Date : Friday, November 2nd 2018 @ 03:00:59 AM
                    Error Date : Friday, November 2nd 2018 @ 03:00:59 AM
                    Script : http://www.miwasa.com/forum/content.php
                    Referrer :
                    IP Address : 203.221.29.91
                    Username : phat
                    Classname : vB_Database_MySQLi
                    MySQL Version : 5.6.41-84.1
                    If i add my email addy into the config.php the site just loads a blank white screen with no data base error. The hosting company had done something as i had changed the database password and it was back to my old password

                    Comment

                    • Wayne Luke
                      vBulletin Technical Support Lead
                      • Aug 2000
                      • 74161

                      #25
                      Same table and it is still crashed. Your hosting provider needs to run the MYSQL repair utilities as root from the command line. The query methodology isn't working. This isn't a vBulletin issue. It is a MySQL issue and your hosting provider should resolve this. If they do not, you should find a hosting provider that will.
                      Translations provided by Google.

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

                      Comment

                      • Mike Grigoratos
                        New Member
                        • Oct 2018
                        • 16
                        • 4.2.x

                        #26
                        Thank you Mark, only after directing them to this thread and more than 2 months of utter nonsense with them I have a site that is functional again

                        Hello,



                        Thank you for contacting support. I sincerely apologize for the delay. We have restored the database from a prior date. We have also added a backup of the database within the public_html directory, We also created a new config file within the forum/includes/ directory. The original file is still within the account called config.php-org.11.2. Please take the time to clear the cache within the browser and load the site once again from your end. We apologize for any inconvenience this has caused. At any time, should you have questions or comments, you may contact us via Phone or Live Chat. We appreciate your business and look forward to a continued relationship of honesty and trust.



                        Thank you,
                        Mel A.
                        Technical Support

                        Comment

                        Related Topics

                        Collapse

                        Working...