Announcement

Collapse
No announcement yet.

Error On Install Upgrade

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

  • Error On Install Upgrade

    hi,
    i keep getting this Error On Install Upgrade, So where am i going wrong please
    Database error in vBulletin :

    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'root'@'localhost' (using password: NO)
    /home/magicalp/public_html/upload/includes/class_core.php on line 311

    MySQL Error :
    Error Number :
    Request Date : Tuesday, November 17th 2009 @ 03:37:21 AM
    Error Date : Tuesday, November 17th 2009 @ 03:37:21 AM
    Script : http://www.magicalproteachings.com/u...ll/upgrade.php
    Referrer :
    IP Address : 86.162.161.249
    Username :
    Classname : vB_Database
    MySQL Version :


    Last edited by scottsmac; Tue 17 Nov '09, 12:39am.

  • #2
    Can you copy the full error and paste it in here. I suspect though that its a "cannot connect through socket .... error" which means you really need to speak to your host if the details in your config.php file are correct.
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    -
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - "Quick Route" Interface...

    Comment


    • #3
      that is all there is :-

      mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'root'@'localhost' (using password: NO)
      /home/magicalp/public_html/upload/includes/class_core.php on line 311

      MySQL Error :
      Error Number :
      Request Date : Tuesday, November 17th 2009 @ 03:37:21 AM
      Error Date : Tuesday, November 17th 2009 @ 03:37:21 AM
      Script : http://www.magicalproteachings.com/u...ll/upgrade.php
      Referrer :
      IP Address : 86.162.161.249
      Username :
      Classname : vB_Database
      MySQL Version :

      BTW :-
      Nice Tartan

      Comment


      • #4
        Access denied means that either the information in your config.php file is wrong or the user you've specified in there doesn't have the necessary database permissions.

        Double check that file and your control panel to ensure all is correct there. If you still have this problem afterwards, contact your host for support.
        Vote for:

        - *Admin Settable Paid Subscription Reminder Timeframe*
        -
        *PM - Add ability to reply to originator only*
        - Add Admin ability to auto-subscribe users to specific channel(s)
        - "Quick Route" Interface...

        Comment


        • #5
          ok thanks for your help

          Comment


          • #6
            ok its now saying this on main site
            Any solution please

            2); debug_print_backtrace(); } } exit; break; } } // ############################################################################# /** * Unicode-safe version of htmlspecialchars() * * @param string Text to be made html-safe * * @return string */ function htmlspecialchars_uni($text, $entities = true) { return str_replace( // replace special html characters array('<', '>', '"'), array('<', '>', '"'), preg_replace( // translates all non-unicode entities '/&(?!' . ($entities ? '#[0-9]+|shy' : '(#[0-9]+|[a-z]+)') . '/si', '&', $text ) ); } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 31739 $ || #################################################################### \*======================================================================*/ ?>=================================================*/ ?>If specified, returns the corresponding timezone phrase name. Otherwise, all timezones will be returned * * @return mixed */ function fetch_timezone($offset = 'all') { $timezones = array( '-12' => 'timezone_gmt_minus_1200', '-11' => 'timezone_gmt_minus_1100', '-10' => 'timezone_gmt_minus_1000', '-9' => 'timezone_gmt_minus_0900', '-8' => 'timezone_gmt_minus_0800', '-7' => 'timezone_gmt_minus_0700', '-6' => 'timezone_gmt_minus_0600', '-5' => 'timezone_gmt_minus_0500', '-4.5' => 'timezone_gmt_minus_0430', '-4' => 'timezone_gmt_minus_0400', '-3.5' => 'timezone_gmt_minus_0330', '-3' => 'timezone_gmt_minus_0300', '-2' => 'timezone_gmt_minus_0200', '-1' => 'timezone_gmt_minus_0100', '0' => 'timezone_gmt_plus_0000', '1' => 'timezone_gmt_plus_0100', '2' => 'timezone_gmt_plus_0200', '3' => 'timezone_gmt_plus_0300', '3.5' => 'timezone_gmt_plus_0330', '4' => 'timezone_gmt_plus_0400', '4.5' => 'timezone_gmt_plus_0430', '5' => 'timezone_gmt_plus_0500', '5.5' => 'timezone_gmt_plus_0530', '5.75' => 'timezone_gmt_plus_0545', '6' => 'timezone_gmt_plus_0600', '6.5' => 'timezone_gmt_plus_0630', '7' => 'timezone_gmt_plus_0700', '8' => 'timezone_gmt_plus_0800', '9' => 'timezone_gmt_plus_0900', '9.5' => 'timezone_gmt_plus_0930', '10' => 'timezone_gmt_plus_1000', '11' => 'timezone_gmt_plus_1100', '12' => 'timezone_gmt_plus_1200' ); if ($offset === 'all') { return $timezones; } else { return $timezones["$offset"]; } } /** * Implodes an array using both values and keys * * @param string $glue1 - Glue between key and value * @param string $glue2 - Glue between value and key * @param mixed $array - Arr to implode * @param boolean $skip_empty - Whether to skip empty elements * @return string - The imploded result */ function implode_both($glue1 = '', $glue2 = '', $array, $skip_empty = false) { if (!is_array($array)) { return ''; } foreach ($array as $key => $val) { if (!$skip_empty OR !empty($val)) { $array[$key] = $key . $glue1 . $val; } else { unset($array[$key]); } } return implode($glue2, $array); } /** * Implodes an assoc array into a partial url query string * * @param mixed $array - Array to parse * @param boolean $skip_empty - Whether to skip empty elements * @return string - The parsed result */ function urlimplode($array, $skip_empty = true, $skip_urlencode = false) { if (!$skip_urlencode) { foreach ($array AS $key => $value) { $array[$key] = urlencode($value); } } return implode_both('=', '&', $array, $skip_empty); } /** * Checks if a user has currently exceeded their private message quota * * @param integer $userid Id of the user to check * @return boolean Whether they have exceeded their quota */ function fetch_privatemessage_throttle_reached($userid) { global $vbulletin; if (!$vbulletin->options['pmthrottleperiod']) { return false; } if (!$vbulletin->userinfo['permissions']['pmthrottlequantity']) { return false; } $count = $vbulletin->db->query_first(" SELECT COUNT(userid) AS total FROM " . TABLE_PREFIX . "pmthrottle WHERE userid = " . intval($vbulletin->userinfo['userid']) . " AND dateline > " . (TIMENOW - ($vbulletin->options['pmthrottleperiod'] * 60)) ); return ($count['total'] >= $vbulletin->userinfo['permissions']['pmthrottlequantity']); } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 28830 $ || #################################################################### \*======================================================================*/ ?>



            Unable to add cookies, header already sent.
            File: /home/magicalp/public_html/includes/class_core.php
            Line: 3330

            Comment


            • #7
              my server provider now says to me :-
              Hi Scott,

              This is one of the Level-3 techs.

              I've looked over the issue and believe I can get it back online and upgraded in 1.5 hours.

              The billable rate for Level-3 work is $75/hour. If you want us to take on the project I can let accounting know and they will send out an invoice for $112.50.


              though it was there server at fault, do i need to pay them????

              it now says on my homepage :-

              cgi' OR SAPI_NAME == 'cgi-fcgi') { header('Status: 403 Forbidden'); } else { header('HTTP/1.1 403 Forbidden'); } die('Prefetching is not allowed due to the various privacy issues that arise.'); } // use the session-specified style if there is one if ($vbulletin->session->vars['styleid'] != 0) { $vbulletin->userinfo['styleid'] = $vbulletin->session->vars['styleid']; } if (!empty($db->explain)) { $db->timer_stop(false); } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 31764 $ || #################################################################### \*======================================================================*/ ?> $start = mktime($start_time[1], $start_time[2]) + $vbulletin->options['hourdiff']; $end = mktime($end_time[1], $end_time[2]) + $vbulletin->options['hourdiff']; $now = mktime() + $vbulletin->options['hourdiff']; } else // utc { $start = gmmktime($start_time[1], $start_time[2]); $end = gmmktime($end_time[1], $end_time[2]); $now = gmmktime(); } if ($now < $start OR $now > $end) { continue 3; } } else { continue 3; } break; } default: { $abort = false; ($hook = vBulletinHook::fetch_hook('notices_check_criteria')) ? eval($hook) : false; if ($abort) { continue 3; } } } } $display_notices["$noticeid"] = $noticeid; if ($notice['persistent'] == 0) { $vbulletin->np_notices_displayed["$noticeid"] = $noticeid; } } // now go through removing notices using the 'notice_x_not_displayed' criteria $remove_display_notices = array(); foreach ($vbulletin->noticecache AS $noticeid => $notice) { if (isset($notice['notice_x_not_displayed']) AND isset($display_notices[intval($notice['notice_x_not_displayed'][0])])) { $remove_display_notices["$noticeid"] = $noticeid; } } foreach ($remove_display_notices AS $noticeid) { unset($display_notices["$noticeid"], $vbulletin->np_notices_displayed["$noticeid"]); } return $display_notices; } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 28578 $ || #################################################################### \*======================================================================*/ ?>->explain)) { $pageendtime = microtime(); $starttime = explode(' ', $pagestarttime); $endtime = explode(' ', $pageendtime); $aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1]; echo "End call of global.php: $aftertime\n"; echo "\n\n\n"; } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 31416 $ || #################################################################### \*======================================================================*/ ?>
              Fatal error: Call to undefined function print_portal_output() in /home/magicalp/public_html/cmps_index.php on line 46

              Comment


              • #8
                Thats is either from a bad file, or you have a serious server issue.

                To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Do you have the same problem?
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment


                • #9
                  can i put vb 3.8 on the server, then add everything onto it from my 3.7???
                  im still in talks with URLJET, so if they bomb out, i may need to do this
                  thanks for your help, and ill let you know how i get on cheers

                  Comment


                  • #10
                    Not sure what you are asking. Please explain.
                    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                    Change CKEditor Colors to Match Style (for 4.1.4 and above)

                    Steve Machol Photography


                    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                    Comment


                    • #11
                      well im trying to upgrade to 3.8, so if i install 3.8, could i then add all my 3.7 stuff into 3.8

                      Comment


                      • #12
                        No. You need to upgrade normally.
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment


                        • #13
                          ok thanks
                          there trying to charge me, and are closing my tickets saying its my fault, so what can i do??
                          is there other hosts????

                          Comment


                          • #14
                            That depends on which error you are getting now. You have several different ones in this thread.
                            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                            Change CKEditor Colors to Match Style (for 4.1.4 and above)

                            Steve Machol Photography


                            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                            Comment


                            • #15
                              See below what it says thanks
                              i want to try what you recomended :-
                              first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Do you have the same problem?

                              but im not very good, so could you explain in simple terms please ie :-
                              whats a non image file, YOU MEAN UPLOAD THEM, BUT NOT IN THE ZIP FILE??
                              was a ASC11 format ??
                              i would like to do this please
                              cgi' OR SAPI_NAME == 'cgi-fcgi') { header('Status: 403 Forbidden'); } else { header('HTTP/1.1 403 Forbidden'); } die('Prefetching is not allowed due to the various privacy issues that arise.'); } // use the session-specified style if there is one if ($vbulletin->session->vars['styleid'] != 0) { $vbulletin->userinfo['styleid'] = $vbulletin->session->vars['styleid']; } if (!empty($db->explain)) { $db->timer_stop(false); } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 31764 $ || #################################################################### \*======================================================================*/ ?> $start = mktime($start_time[1], $start_time[2]) + $vbulletin->options['hourdiff']; $end = mktime($end_time[1], $end_time[2]) + $vbulletin->options['hourdiff']; $now = mktime() + $vbulletin->options['hourdiff']; } else // utc { $start = gmmktime($start_time[1], $start_time[2]); $end = gmmktime($end_time[1], $end_time[2]); $now = gmmktime(); } if ($now < $start OR $now > $end) { continue 3; } } else { continue 3; } break; } default: { $abort = false; ($hook = vBulletinHook::fetch_hook('notices_check_criteria')) ? eval($hook) : false; if ($abort) { continue 3; } } } } $display_notices["$noticeid"] = $noticeid; if ($notice['persistent'] == 0) { $vbulletin->np_notices_displayed["$noticeid"] = $noticeid; } } // now go through removing notices using the 'notice_x_not_displayed' criteria $remove_display_notices = array(); foreach ($vbulletin->noticecache AS $noticeid => $notice) { if (isset($notice['notice_x_not_displayed']) AND isset($display_notices[intval($notice['notice_x_not_displayed'][0])])) { $remove_display_notices["$noticeid"] = $noticeid; } } foreach ($remove_display_notices AS $noticeid) { unset($display_notices["$noticeid"], $vbulletin->np_notices_displayed["$noticeid"]); } return $display_notices; } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 28578 $ || #################################################################### \*======================================================================*/ ?>->explain)) { $pageendtime = microtime(); $starttime = explode(' ', $pagestarttime); $endtime = explode(' ', $pageendtime); $aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1]; echo "End call of global.php: $aftertime\n"; echo "\n\n\n"; } /*======================================================================*\ || #################################################################### || # Downloaded: 15:12, Sat Nov 14th 2009 || # CVS: $RCSfile$ - $Revision: 31416 $ || #################################################################### \*======================================================================*/ ?>
                              Fatal error: Call to undefined function print_portal_output() in /home/magicalp/public_html/cmps_index.php on line 46

                              Comment

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