Jump to content
  • 0

Sqlstate Errors


Daniel B

Question

So, I tried to upgrade the other day after forgetting my support and upgrades weren't current, so it failed.

 

I then got that activated and upgraded, the upgrade page looked like it only took a few seconds to run...so I thought that was awesome.

 

Now here I am trying to set things up again and getting some errors...did I screw my database up with the failed upgrade?

 

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allow_upgrades' in 'field list' on line 124 in /chroot/home/onetwotw/domain.com/html/lib/model.php 

Printing Stack Trace:
#0 /chroot/home/onetwotw/domain.com/html/lib/model.php(124): PDOStatement->execute(Array)
#1 /chroot/home/onetwotw/domain.com/html/components/record/record.php(225): Model->query('INSERT INTO `pa...', Array)
#2 /chroot/home/onetwotw/domain.com/html/app/models/package_groups.php(162): Record->insert('package_groups', Array, Array)
#3 /chroot/home/onetwotw/domain.com/html/app/controllers/admin_packages.php(517): PackageGroups->add(Array)
#4 /chroot/home/onetwotw/domain.com/html/lib/dispatcher.php(111): AdminPackages->addGroup()
#5 /chroot/home/onetwotw/domain.om/html/index.php(21): Dispatcher::dispatch('/admin/packages...')
#6 {main}
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

What version are you upgrading from? I would suggest restoring the backup you took prior to upgrading, and attempting the upgrade again.. via the CLI method if possible "php ./index.php admin/upgrade"

 

Of course, do a backup of the current state first.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...