Current time: 04-27-2024, 01:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
editing system created admin give data base error
Author Message
eagles051387 Offline
Newbie
*

Posts: 6
Joined: May 2011
Reputation: 0
Post: #5
RE: editing system created admin give data base error
(06-07-2011 04:21 PM)kilburn Wrote:  
(05-15-2011 05:53 PM)kilburn Wrote:  I don't really understand the problem, but I think you can work-around it by searching for
Code:
$this->_db->setAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY, false);
in the ispcp gui sources (/var/www/ispcp/gui/include) and replacing it by
Code:
$this->_db->setAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY, true);
.

So you just had to search for that:
Code:
horus ~ # cd /var/www/ispcp/gui/include/
horus include # grep -R '$this->_db->setAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY, false);' *
ispCP/Database.php:                $this->_db->setAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY, false);

There you go, the file is "/var/www/ispcp/gui/include/ispCP/Database.php".


Mine is already set right but in that file it seems like there is an if else statement with thwhat you have above and the else returns a false, which seems to be where I end up.

to be honest im not 100% what that does, and what the ramifications would be if i were to set that to true.
06-07-2011 04:29 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: editing system created admin give data base error - eagles051387 - 06-07-2011 04:29 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)