ictfax icon indicating copy to clipboard operation
ictfax copied to clipboard

ICTFAX Community 6.0

Open kmorber opened this issue 1 year ago • 13 comments

Hello,

i read that Version 6.0 has been released, where can i download this version?

Best regrads

kmorber avatar Oct 31 '24 16:10 kmorber

From the installation guidance at: https://ictfax.org/ictfax-installation-guide/, it looks like the first option "Rocky Linux 8 ICTFax 6.0" installs 6.0. The github source code does not appear to be updated though - that would be nice to see.

Edit: Upon further investigation, I was unable to successfully install via either of the Rocky Linux 8 tabs on the installation guide. I suspect updates to the referenced links, signatures, etc., are needed to proceed. Will continue looking, but it's not a simple cut and paste process from the guide.

java007md avatar Nov 25 '24 18:11 java007md

Just wanted to chime in. ICTFax 6.0 is completely unusable in its current state on Rocky 8. I can't imagine it would work on anything else either. Installing isn't a huge pain, but the software just doesn't work. Fix one issue for another to arise. ICTFax 5.0 also doesn't seem to be buildable to due the closed-source dependencies.

WITMAC-N avatar Dec 04 '24 16:12 WITMAC-N

Just wanted to chime in. ICTFax 6.0 is completely unusable in its current state on Rocky 8. I can't imagine it would work on anything else either. Installing isn't a huge pain, but the software just doesn't work. Fix one issue for another to arise. ICTFax 5.0 also doesn't seem to be buildable to due the closed-source dependencies.

Can you please share the details of facing issue, we will check and fix it accordingly.

ICTKashif avatar Dec 04 '24 19:12 ICTKashif

Here is what I've come across with 6.0 so far. I did get further than some of these issues, but getting one thing "fixed" broke others. So the information I've gathered below is from a fresh install on Rocky Linux 8.

OS: Rocky Linux v8.10 firewalld disabled selinux permissive/disabled Install under root. No user account. (tried it both ways, all commands need sudo anyways).

UI/Web page (basic observations):

When attempting to click on Send/Receiving it sends me back to the Dashboard page, Every time. When clicking around, it will randomly send me to the dashboard page. Eventually, I'm not able to click around at all and it just loads the Dashboard page over and over. Restarting httpd fixes this until I start clicking around again.

Can't sign in as "user" account only admin. #67 references this. ICTKashif commented on Oct 29, 2022 #root_user > mysql ictfax #mysql_cli > insert role_permission (role_id, permission_id) values (1,74);

However, when I did this, a user could access/view the "Administration" drop-down.

Installation issues (least to most severe):

Line 10 can be removed from /usr/ictcore/db/ictfax.sql

pecl install imagick Results in a bunch of errors. This is more so just curiosity, under what circumstances will this work?

sudo yum install -y php-imagick results in no errors

These seem like the main errors/issues or at least a starting place. The error in /var/log/httpd/error_log happens every time I click on a category (contacts, fax documents). The errors in /usr/ictcore/log/ictcore.log fire when logging in and often continue while that user is logged in. They stop if nobody is logged in.

==> /usr/ictcore/log/ictcore.log <== [2024-12-04 20:51:23] [2967] [WARNING] Session read found zero rows [2024-12-04 20:51:28] [2968] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:28] [2968] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:28] [2968] [WARNING] Session read found zero rows [2024-12-04 20:51:33] [2996] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:33] [2996] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:33] [2996] [WARNING] Session read found zero rows [2024-12-04 20:51:38] [2971] [WARNING] session_write_close(): Cannot call session save handler in a recursive manner in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:38] [2971] [WARNING] session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/session, handler: write) in /usr/ictcore/core/lib/Session.php on line 97 [2024-12-04 20:51:38] [2971] [WARNING] Session read found zero rows

==> /var/log/httpd/error_log <== [Wed Dec 04 14:50:57.358039 2024] [php:error] [pid 2967] [client 10.10.5.20:7017] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:50:57.364105 2024] [php:error] [pid 2968] [client 10.10.5.20:7008] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:03.613859 2024] [php:error] [pid 2971] [client 10.10.5.20:7018] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:08.616982 2024] [php:error] [pid 2966] [client 10.10.5.20:7019] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:13.621833 2024] [php:error] [pid 3091] [client 10.10.5.20:7022] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:18.629147 2024] [php:error] [pid 3097] [client 10.10.5.20:7023] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:23.635775 2024] [php:error] [pid 2967] [client 10.10.5.20:7024] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:28.638996 2024] [php:error] [pid 2968] [client 10.10.5.20:7025] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:33.648469 2024] [php:error] [pid 2996] [client 10.10.5.20:7026] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax [Wed Dec 04 14:51:38.652261 2024] [php:error] [pid 2971] [client 10.10.5.20:7027] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://10.10.5.10/ictfax

WITMAC-N avatar Dec 04 '24 22:12 WITMAC-N

I just noticed the Installation Guide has been updated. I figure Rocky 8 is similar enough, but I'll take a look at Rocky 9 so we can get on the same page.

WITMAC-N avatar Dec 04 '24 22:12 WITMAC-N

Exact same issues on Rocky 9. No gpg error when installing ictcore files now. Is there anything missing from the install guide? I noticed some small stuff like adding the PHP repo is missing. yum install https://rpms.remirepo.net/enterprise/remi-release-9.rpm

WITMAC-N avatar Dec 05 '24 23:12 WITMAC-N

If you are encountering issues with the GPG key while installing ICTFax using the yum command, you can use the --nogpgcheck option with yum. This is due to a third-party repository.

yum install ictcore --nogpgcheck

in case of same issue, share the error logs

ICTKashif avatar Dec 06 '24 19:12 ICTKashif

Yup, that was what I was using to install on Rocky 8. Rocky 9 imported the gpg key without issue.

WITMAC-N avatar Dec 06 '24 19:12 WITMAC-N

Got the same problem with the redirect to the dashboard no matter where I click

NiklasDor avatar Jan 05 '25 16:01 NiklasDor

Got the same problem with the redirect to the dashboard no matter where I click

I finally managed to get the installation completed, but after successfully adding a trunk entry, like @NiklasDor, subsequent clicks quickly loop back, and redirect to the dashboard. Error logs similar to those reported by @WITMAC-N are observed.

Happy to do some additional testing if @ICTKashif or others have suggestions.

java007md avatar Jan 12 '25 05:01 java007md

I have same problem with looping back to dashboard,

httpd error.log looks like:

[Fri Feb 07 08:25:24.240016 2025] [php:error] [pid 5091:tid 5091] [client 192.168.1.5:59046] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:25:24.284729 2025] [php:error] [pid 5020:tid 5020] [client 192.168.1.5:59050] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:25:24.286890 2025] [php:error] [pid 5050:tid 5050] [client 192.168.1.5:59051] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:25:24.290183 2025] [php:error] [pid 4987:tid 4987] [client 192.168.1.5:59053] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:25:24.290183 2025] [php:error] [pid 5047:tid 5047] [client 192.168.1.5:59052] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.673149 2025] [php:error] [pid 4989:tid 4989] [client 192.168.1.5:54337] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.713411 2025] [php:error] [pid 5020:tid 5020] [client 192.168.1.5:54344] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.735401 2025] [php:error] [pid 5050:tid 5050] [client 192.168.1.5:54346] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.772285 2025] [php:error] [pid 4987:tid 4987] [client 192.168.1.5:54364] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.772644 2025] [php:error] [pid 5047:tid 5047] [client 192.168.1.5:54365] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:49.780832 2025] [php:error] [pid 4988:tid 4988] [client 192.168.1.5:54366] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.578133 2025] [php:error] [pid 5045:tid 5045] [client 192.168.1.5:54367] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.631748 2025] [php:error] [pid 5050:tid 5050] [client 192.168.1.5:54422] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.631962 2025] [php:error] [pid 4989:tid 4989] [client 192.168.1.5:54419] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.633016 2025] [php:error] [pid 5103:tid 5103] [client 192.168.1.5:54417] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.634520 2025] [php:error] [pid 5020:tid 5020] [client 192.168.1.5:54421] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:53.650582 2025] [php:error] [pid 5091:tid 5091] [client 192.168.1.5:54420] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.440303 2025] [php:error] [pid 5097:tid 5097] [client 192.168.1.5:54418] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.495148 2025] [php:error] [pid 4987:tid 4987] [client 192.168.1.5:54423] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.498118 2025] [php:error] [pid 5045:tid 5045] [client 192.168.1.5:54452] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.499225 2025] [php:error] [pid 5050:tid 5050] [client 192.168.1.5:54451] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.500520 2025] [php:error] [pid 4989:tid 4989] [client 192.168.1.5:54453] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:55.515905 2025] [php:error] [pid 4988:tid 4988] [client 192.168.1.5:54450] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.680314 2025] [php:error] [pid 5047:tid 5047] [client 192.168.1.5:54434] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.724770 2025] [php:error] [pid 5103:tid 5103] [client 192.168.1.5:54454] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.781975 2025] [php:error] [pid 5091:tid 5091] [client 192.168.1.5:54462] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.782550 2025] [php:error] [pid 5020:tid 5020] [client 192.168.1.5:54461] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.786019 2025] [php:error] [pid 5097:tid 5097] [client 192.168.1.5:54464] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:29:57.790691 2025] [php:error] [pid 4987:tid 4987] [client 192.168.1.5:54465] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:30:02.204552 2025] [php:error] [pid 5045:tid 5045] [client 192.168.1.5:54466] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:30:03.271263 2025] [php:error] [pid 5050:tid 5050] [client 192.168.1.5:54495] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax [Fri Feb 07 08:30:07.244185 2025] [php:error] [pid 4989:tid 4989] [client 192.168.1.5:54519] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://faxnew.fritz.box/ictfax

kmorber avatar Feb 07 '25 07:02 kmorber

with new install on Rocky linux 9 -- I found the same.

[Tue Mar 25 18:57:05.702408 2025] [php:error] [pid 4468:tid 4468] [client xxx.xxx.xx.xxx:6614] PHP Parse error: syntax error, unexpected token "public", expecting end of file in /usr/ictcore/core/Transmission.php on line 657, referer: http://myictfax.com/ictfax

on the browser, inspection shown error 500 http://myictfax.com/api/transmissions?direction=outbound&service_flag=2

Anasxrt avatar Mar 25 '25 19:03 Anasxrt

Please copy the Transmission.php code from this thread #99 and replace it with your server file located at /usr/ictcore/core/Transmission.php

ictvision avatar Mar 26 '25 08:03 ictvision