Jump to content
  • 0

Mysql Error Adding Package


mwarren

Question

I have installed

Blesta 3.2

PHP 5.2.5

Mysql 5.0.22

Apache 2.2.3

 

The only Module installed is the Universal Module.

 

When adding a package I am getting the following error:

 

 

Oh noes!

SQLSTATE[HY000]: General error: 1093 You can't specify target table 'packages' for update in FROM clause on line 124 in /var/www/html/blesta/lib/model.php 

Printing Stack Trace:
#0 /var/www/html/blesta/lib/model.php(124): PDOStatement->execute(Array)
#1 /var/www/html/blesta/components/record/record.php(216): Model->query('INSERT INTO `pa...', Array)
#2 /var/www/html/blesta/app/models/packages.php(122): Record->insert('packages', Array, Array)
#3 /var/www/html/blesta/app/controllers/admin_packages.php(224): Packages->add(Array)
#4 /var/www/html/blesta/lib/dispatcher.php(111): AdminPackages->add()
#5 /var/www/html/blesta/index.php(21): Dispatcher::dispatch('/blesta/admin/p...')
#6 {main}

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...