Coder Social home page Coder Social logo

Comments (13)

tahiralmas avatar tahiralmas commented on June 16, 2024

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.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

tahiralmas avatar tahiralmas commented on June 16, 2024

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.

update.zip

from ictfax.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

tahiralmas avatar tahiralmas commented on June 16, 2024

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.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

tahiralmas avatar tahiralmas commented on June 16, 2024

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.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

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.

tahiralmas avatar tahiralmas commented on June 16, 2024

we made few changes / bug fixes, please update your system with "yum update ictcore"

from ictfax.

mbike2000ru avatar mbike2000ru commented on June 16, 2024

I reinstalled from scratch and the issue removed (I successfully added a trunk)

from ictfax.

tahiralmas avatar tahiralmas commented on June 16, 2024

from ictfax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.