arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Add Domain - Multi Tenant system #727

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Advanced->Domains->Add
2. Type domain name, click save

What is the expected output? What do you see instead?

Create Domain that without error

What version of the product are you using? On what operating system?

Revision 6908
CentOS 6.5

Please provide any additional information below.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: 
General error: 5 database is locked' in 
/var/www/html/fusionpbx/resources/classes/orm.php:447 Stack trace: #0 
/var/www/html/fusionpbx/resources/classes/orm.php(447): PDO->commit() #1 
/var/www/html/fusionpbx/app/provision/app_defaults.php(121): orm->save(Array) 
#2 /var/www/html/fusionpbx/resources/classes/domains.php(358): 
include('/var/www/html/f...') #3 
/var/www/html/fusionpbx/core/upgrade/upgrade_domains.php(57): 
domains->upgrade() #4 
/var/www/html/fusionpbx/core/domain_settings/domain_edit.php(525): 
require_once('/var/www/html/f...') #5 {main} thrown in 
/var/www/html/fusionpbx/resources/classes/orm.php on line 447

Original issue reported on code.google.com by erin.ome...@salmonbaytechnology.com on 30 Sep 2014 at 7:24

GoogleCodeExporter commented 9 years ago
hacked by renaming two files,

/app/provision/app_defaults.php
/themes/enhanced/apps_defaults.php

Original comment by erin.ome...@salmonbaytechnology.com on 10 Oct 2014 at 6:30

GoogleCodeExporter commented 9 years ago
I believe this was fixed a few months ago by adding unset($prep_statement); 
after every instance where the prepared statement was used.

Original comment by markjcrane@gmail.com on 17 Jan 2015 at 7:54