Comments (13)
Probably you are using newer ICTCore ( i.e 0.7.1 ) with older ICTFAX modules, please update your ictpbx directory from /usr/ictfax/sites/all/modules with latest ictpbx directory from this repository.
from ictfax.
I downloaded the latest master.zip
I took ictpbx from it and moved it
mv /usr/ictfax/sites/all/modules/ictpbx /home/
[root@Centos ictfax-master]# mv ictpbx /usr/ictfax/sites/all/modules/
anyway - the same error
[Sun Dec 25 03:17:02 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Sun Dec 25 12:16:51 2016] [error] [client 10.71.90.7] PHP Fatal error: Call to undefined method Provider::set() in /usr/ictfax/sites/all/modules/ictpbx/ictcore/trunk/ictpbx_trunk.module on line 305, referer: http://localhost:2031/?q=ictcore/trunk/addnew
[Sun Dec 25 12:25:10 2016] [error] [client 10.71.90.7] PHP Fatal error: Call to undefined function ICT\Core\do_login() in /usr/ictfax/sites/all/modules/ictpbx/ictcore/trunk/ictpbx_trunk.module on line 305, referer: http://localhost:2031/?q=ictcore/trunk/addnew
from ictfax.
what correct vertion should I use? If I WGET the newest zip file-> it gives even table mismatch. So what version should I use to avoid such cases?
from ictfax.
ICT\Core\CoreException: User not found in ICT\Core\User->load() (line 250 of /usr/ictcore/core/User.php).
It gives me this error when I tryed to make a trunk.
I updated the YUM repositories, I made git clone the latest version of ictfax,
Still it gives me the error with "user not found"
from ictfax.
Probably backend (ictcore) user table out of sync from GUI user table, to sync both tables please read "4.2 USER SYNCHRONIZATION" from http://ictfax.org/content/ictfax-installation-guide-centos-fedora
Further if you have updated ictcore from 0.7.0 to 0.7.1, then use attached sql file to update your database.
Otherwise we recommend you to create new database.
from ictfax.
INSERT INTO usr (username, passwd, email, active, date_created, created_by) SELECT name, pass, mail, 1, UNIX_TIMESTAMP(), 1 FROM web_users WHERE uid > 0;
ERROR 1136 (21S01): Column count doesn't match value count at row 1
actually there is no columns mismatch but I encounter this error any time I want to syncronize usr and web_user
from ictfax.
probably there is an issue with trigger, please use following code to drop and recreate usr_insert trigger
DROP TRIGGER usr_insert;
DELIMITER |
CREATE TRIGGER usr_insert AFTER INSERT
ON usr FOR EACH ROW BEGIN
INSERT INTO account (account_id, type, username, passwd, passwd_pin, first_name, last_name, phone, email, address,
active, date_created, created_by, last_updated, updated_by)
SELECT NULL, 'extension', NEW.username, NEW.passwd, LEFT(RAND()*999999, 4), NEW.first_name, NEW.last_name, NEW.phone,
NEW.email, NEW.address, NEW.active, NEW.date_created, NEW.usr_id, NULL, NULL;
END;
|
DELIMITER ;
from ictfax.
it helped to syncronize but the problem with adding a trunk remains.
I tried to install another copy of ictfax in my home VM - and I can add a trunk without any errors.
from ictfax.
there may a version mismatch between ICTFAX and ICTCore code, to be functional both system must be same version. You have to update your installation, In case of database you can use above attached update.zip file.
from ictfax.
I removed and installed once again, I see that it is newest version. I sycronized the user.
ICT\Core\CoreException: User not found in ICT\Core\User->load() (line 250 of /usr/ictcore/core/User.php).
is it possible to add what is needed by hand so as not to raize this exeption
from ictfax.
we made few changes / bug fixes, please update your system with "yum update ictcore"
from ictfax.
I reinstalled from scratch and the issue removed (I successfully added a trunk)
from ictfax.
from ictfax.
Related Issues (20)
- Freeswitch can't start HOT 12
- Add Retry option on faxes send trough email. HOT 1
- Issue with script HOT 1
- ICTFAX site will not load after running yum update HOT 17
- apache after installation not correctly configured? HOT 3
- user login will logout after one second HOT 3
- ICTFAX HOT 3
- DB error in apache HOT 1
- ICTFAX Site jumping back to Dashboard HOT 44
- permission denied on log HOT 1
- ictfax and Office 365 HOT 2
- Inbound faxes stuck 'processing'
- use domain instead of localhost in fax email HOT 2
- Faxes stuck in processing HOT 2
- Purging faxes
- Why is a specific number continually marked as processing and not completing? HOT 3
- Internal Fax not Working HOT 1
- Purge logs HOT 2
- why always is "Final transmission status : processing"? HOT 2
- why always is "Final transmission status : processing", and after is nothing, my fax cannot sending? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ictfax.