Announcement

Collapse
No announcement yet.

There is a serious error and the page cannot be rendered

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

  • ecihanuysal
    replied
    Originally posted by Glenn Vergara View Post
    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

    Leave a comment:


  • Glenn Vergara
    replied
    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.

    Leave a comment:


  • ecihanuysal
    replied
    Originally posted by Wayne Luke View Post
    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

    Leave a comment:


  • robandyuk
    replied
    yay sorted it, Changed password expiry to 300 days on the admin group then it let me in so I could change my password

    Leave a comment:


  • robandyuk
    replied
    Run Debug and get this
    Error :
    API Error
    Controller: infopanels_core
    Method: getCopyright
    Error(s):
    array ( 0 => array ( 0 => 'Your password is 204 days old, and has therefore expired.<br /> <br /> Please change your password using <a href="http://www.grimsby-town.com/settings/account">this page</a>.', ), )
    on line 495 in /homepages***********includes/vb5/template/runtime.php
    Step 0: showErrorPage() called on line 176 in /homepages**********/includes/vb5/applicationabstract.php
    Step 1: handleException() called
    Exception API Error
    Controller: infopanels_core
    Method: getCopyright
    Error(s):
    array ( 0 => array ( 0 => 'Your password is 204 days old, and has therefore expired.<br /> <br /> Please change your password using <a href="http://www.grimsby-town.com/settings/account">this page</a>.', ), )
    on line 495 in /homepages/**************/includes/vb5/template/runtime.php

    Leave a comment:


  • robandyuk
    replied
    Thanks Amreboot but I am on a shared web hosts who will not do this, I have found that it is all the admin accounts, I can not add any new admins from the AdminCP or change their password either.
    Some help from VBulitin would be nice though

    Leave a comment:


  • amreboot
    replied
    I had the same problem on my forum.

    Restart your SQL services.
    This INSTANTLY resolved my issues.

    Leave a comment:


  • robandyuk
    replied
    I to am getting this error today

    There is a serious error and the page cannot be rendered


    everyone else can log in ok also I can log in to the admincp page ok as long as i go direct.
    If i try to log in as admin from the front page or go to forum from the admincp I get the above error.
    Site has been up for months with no errors so I cant see why it would be the server.
    any ideas

    Leave a comment:


  • Admigo
    replied
    Originally posted by Wayne Luke View Post
    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?
    Cannot modify header information - headers already sent by (output started at /home/admigosn/public_html/forums2/config.php:1)
    occurred in file /home/admigosn/public_html/forums2/includes/vb5/cookie.php on line 34
    Trace
    • Function handleError in file line
    • Function setcookie in file /home/admigosn/public_html/forums2/includes/vb5/cookie.php line 34
    • Function set in file /home/admigosn/public_html/forums2/includes/api/interface/collapsed.php line 37
    • Function init in file /home/admigosn/public_html/forums2/includes/api/interfaceabstract.php line 61
    • Function instance in file /home/admigosn/public_html/forums2/includes/vb5/frontend/routing.php line 91
    • Function setRoutes in file /home/admigosn/public_html/forums2/includes/vb5/frontend/application.php line 9
    • Function init in file /home/admigosn/public_html/forums2/index.php line 44
    Can you fix this for me please? You can find details of the ftp in my ticket.

    Leave a comment:


  • Wayne Luke
    replied
    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?

    Leave a comment:


  • Admigo
    replied
    Originally posted by Lynne View Post
    That is a server issue. You should show those errors to your host.
    I am now contacting the webhost. Also i have created a ticket at the vbulletin technic if anyone can have a look to confirm it,

    Leave a comment:


  • Lynne
    replied
    That is a server issue. You should show those errors to your host.

    Leave a comment:


  • Admigo
    replied
    Errorlog:
    Code:
    [30-Jan-2014 02:03:22 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [30-Jan-2014 02:03:22 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ssh2.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Leave a comment:


  • Admigo
    replied
    Originally posted by Zachery View Post
    What happened prior to this starting?
    What do you mean?
    The forums is allmost been online like 8 months and now i am getting this problem when i try to acces the forums.

    Leave a comment:


  • Zachery
    replied
    What happened prior to this starting?

    Leave a comment:

Related Topics

Collapse

Working...
X