Current time: 04-20-2024, 08:26 PM 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
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: editing system created admin give data base error
(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".
06-07-2011 04:21 PM
Visit this user's website 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 - kilburn - 06-07-2011 04:21 PM

Forum Jump:


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