Announcement

Collapse
No announcement yet.

There is a serious error and the page cannot be rendered

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Wayne Luke
    Put your site into debug mode...

    Open /config.php and find the debug line near the bottom. Change false to true.

    Open /core/includes/config.php and find the debug line near the bottom. Remove the // to uncomment that line.

    Reload the page with the error. What does it say now?
    Same problem and here is the error text.

    Error : Database error in vBulletin : Cannot use database adlivaka_1 MySQL Error : Access denied for user 'adlivaka_av'@'localhost' to database 'adlivaka_1' Error Number : 1044 Request Date : Friday, January 29th 2016 @ 02:45:09 PM Error Date : Friday, January 29th 2016 @ 02:45:09 PM Script : http:/// Referrer : IP Address : 95.13.38.111 Username : Classname : vB_Database_MySQLi MySQL Version : Stack Trace: #line vB_Database->halt() called in [path]/vb/database.php on line 355 #line vB_Database->select_db() called in [path]/vb/database.php on line 244 #line vB_Database->connect() called in [path]/vb/db/mysql/assertor.php on line 113 #line vB_dB_MYSQL_Assertor->load_database() called in [path]/vb/db/mysql/assertor.php on line 39 #line vB_dB_MYSQL_Assertor->__construct() called in [path]/vb/db/assertor.php on line 130 #line vB_dB_Assertor::init() called in [path]/vb/vb.php on line 593 #line vB::getDbAssertor() called in [path]/vb/vb.php on line 477 #line vB::get_registry() called in [path]/vb/api.php on line 444 #line vB_Api->__construct() called in [path]/vb/api/options.php on line 17 #line vB_Api_Options->__construct() called in [path]/vb/api.php on line 154 #line vB_Api::instance() called in /home/adlivaka/public_html/includes/api/interface/collapsed.php on line 74 #line Api_Interface_Collapsed->callApi() called in /home/adlivaka/public_html/includes/vb5/template/options.php on line 53 #line vB5_Template_Options->fetchOptions() called in /home/adlivaka/public_html/includes/vb5/template/options.php on line 45 #line vB5_Template_Options->getOptions() called in /home/adlivaka/public_html/includes/vb5/template/options.php on line 15 #line vB5_Template_Options::instance() called in /home/adlivaka/public_html/includes/vb5/cookie.php on line 119 #line vB5_Cookie::loadConfig() called in /home/adlivaka/public_html/includes/vb5/cookie.php on line 42 #line vB5_Cookie::get() called in /home/adlivaka/public_html/includes/api/interface/collapsed.php on line 24 #line Api_Interface_Collapsed->init() called in /home/adlivaka/public_html/includes/api/interfaceabstract.php on line 61 #line Api_InterfaceAbstract::instance() called in /home/adlivaka/public_html/includes/vb5/frontend/routing.php on line 92 #line vB5_Frontend_Routing->setRoutes() called in /home/adlivaka/public_html/includes/vb5/frontend/application.php on line 10 #line vB5_Frontend_Application::init() called in /home/adlivaka/public_html/index.php on line 44 on line 1201 in /home/adlivaka/public_html/core/vb/database.php
    FaZ.La

    Comment


    • #17
      The account specified in these options in core/includes/config.php has no permission to access the database.

      Code:
      $config['MasterServer']['username'] = 'xxxxxx';
      $config['MasterServer']['password'] = 'xxxxx';
      You have to grant that account access to the database or change to a different user that has access.

      Flag Icon Postbit AJAX Search Impersonate User INITIALS AVATAR Better Name Card Quote Selected Text Collapsed PM Post Footer Translate Stop Links in Posts +MORE!

      Comment


      • #18
        Originally posted by Glenn Vergara
        The account specified in these options in core/includes/config.php has no permission to access the database.

        Code:
        $config['MasterServer']['username'] = 'xxxxxx';
        $config['MasterServer']['password'] = 'xxxxx';
        You have to grant that account access to the database or change to a different user that has access.

        I could not solve by using that way.

        I erased a couple of codes below in database.php in vb folder and i connected with the database.

        if ($config['Misc'] AND $config['Misc']['debug'])
        {
        $request = vB::getRequest();

        $timeNow = $request->getTimeNow();
        $scriptpath = 'unknown';
        $ipAddress = 'unknown';
        $scriptpath = $request->getScriptPath();
        $ipAddress = $request->getIpAddress();
        $referer = $request->getReferrer();
        $technicalemail =& $vb5_config['Database']['technicalemail'];

        $data = array('debug' => true);
        $data['error'] = $this->error;
        $data['errno'] = $this->errno;
        $data['requestdate'] = date('l, F jS Y @ h:i:s A', $timeNow);
        $data['date'] = date('l, F jS Y @ h:i:s A');
        $data['host'] = ""; //todo figure this out for non http requests
        $data['scriptpath'] = str_replace('&', '&', $scriptpath);
        $data['referer'] = $referer;
        $data['ipaddress'] = '';
        $data['username'] = isset($userinfo['username']) ? $userinfo['username'] : "";
        $data['classname'] = get_class($this);
        $data['mysqlversion'] = '';
        $data['technicalemail'] = $technicalemail;
        $data['appname'] = $this->appname;
        $data['templateversion'] = '';

        throw new vB_Exception_Database("$errno: $errstr", $data, $code);
        }
        else
        {
        throw new vB_Exception_Database("$errno: $errstr", array(), $code);
        }

        but how i can solve comletely unless erasing??????????
        and some characterset errors occured...!!
        website: www.adlivaka.com
        FaZ.La

        Comment

        Related Topics

        Collapse

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎