Schema update issues RC-9
Keep getting the following error when trying to update schema after updating to RC-9
PHP Fatal error: Call to undefined method PDODB::insertId() in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 524
I feel dumb now, should have tried that yesterday. Simply deleting those folders/doing another git clone and everything is working fine now. Thanks a lot for the help!
I guess first thing I will try is pull down a fresh copy of RC9
As well as deleting /var/www/fog and /var/www/html/fog and then re-running the installer.
SQL logs all look good, like Sebastian said probably a problem with the checkout but I have no idea what to do. I guess first thing I will try is pull down a fresh copy of RC9
@kpeterson Might be worth checking out the SQL server log. Will be somewhere in /var/log/mysql afaik.
The function is indeed there, this is what I have
public function insertId()
Anything else I should check?
@kpeterson As you can see in the ```
(https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/lib/fog/fogcontroller.class.php#L524) two lines before
insertIdis called it says
self::$DB->query. This is not failing, so why should
My guess is something is wrong with the repo checkout. Please check your /var/www/html/fog/lib/db/pdodb.class.php (around line 400). Do you see the function definition??
Just for clarity.
@Wayne-Workman pdodb insertId() does exist and is working from what I can tell.