Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICTFAX site will not load after running yum update #61

Open
syntaxsystems opened this issue Oct 11, 2021 · 18 comments
Open

ICTFAX site will not load after running yum update #61

syntaxsystems opened this issue Oct 11, 2021 · 18 comments

Comments

@syntaxsystems
Copy link

Everything seemed to be working ok after installing on centos 7
I then ran yum update, and installed the latest packages.

Now I only get a blue window with an image in the middle that won't load

root still works and I get the APACHE page..

HELP!

@dubyatp
Copy link

dubyatp commented Oct 12, 2021

I'm also having this issue with a new install.

Tried both the install script and manually following the install guide, and end up at the same blank blue page with the unopened image.

Upon further inspection, it appears that the server is assuming all the assets are hosted at the root of the URL http://servername.tld instead of http://servername.tld/ictfax

@fizaict
Copy link
Contributor

fizaict commented Oct 13, 2021

Please share the Apache error log, so that we can guide you better

@erunaheru
Copy link

I am also having this problem, fresh install of CentOS, tried both the script and the install guide (after reinstalling OS). Apache config has not been edited.
httpd.zip

@erunaheru
Copy link

I was able to temporarily fix by adding this to ictfax.conf:

RewriteEngine On
RewriteRule ^/ictfax - [L,NC]
RewriteRule ^/api - [L,NC]
RewriteRule (.*) /ictfax$1 [L,R=301]

@uaccalogo
Copy link

I also have this problem on a new install (for testing the solution) but i don't understand where i've to put this correction.
Regards.

@uaccalogo
Copy link

resolved, the file to modify is placed in /etc/httpd/conf.d/ictfax.conf

@erunaheru
Copy link

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

@ICTKashif
Copy link
Contributor

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

Please share the facing issue, we will help you and fix them accordingly

@ICTKashif
Copy link
Contributor

ICTKashif commented Oct 29, 2021

I was able to temporarily fix by adding this to ictfax.conf:

RewriteEngine On RewriteRule ^/ictfax - [L,NC] RewriteRule ^/api - [L,NC] RewriteRule (.*) /ictfax$1 [L,R=301]

You need to update the apache configuration, like following and then restart the apache service

vi /etc/httpd/conf/httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/ictfax"

#
# Relax access to content within /var/www.
#
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

# Further relax access to the default document root:
<Directory "/usr/ictfax">

@erunaheru
Copy link

To be clear, this does not fix the underlying problem, it just masks it. I'm also evaluating and I would strongly recommend not using the workaround on a production install.

Please share the facing issue, we will help you and fix them accordingly

The underlying issue was that relative URLs were being interpreted relative to the root.

Admittedly, this feels like a client issue, but I saw it in multiple browsers and have not seen problems with other applications. I will try the suggested solution sometime this weekend.

@ICTKashif
Copy link
Contributor

if you still face the issue, then please share the SSH access of your server at https://service.ictinnovations.com/submitticket.php we will check and update you

@dubyatp
Copy link

dubyatp commented Nov 1, 2021

I was able to temporarily fix by adding this to ictfax.conf:
RewriteEngine On RewriteRule ^/ictfax - [L,NC] RewriteRule ^/api - [L,NC] RewriteRule (.*) /ictfax$1 [L,R=301]

You need to update the apache configuration, like following and then restart the apache service

vi /etc/httpd/conf/httpd.conf

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/ictfax"

#
# Relax access to content within /var/www.
#
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

# Further relax access to the default document root:
<Directory "/usr/ictfax">

I have confirmed this works on my end, but now i'm facing the same exact problem occurring in #67

@d1g1t4ld00m
Copy link

I went in and changed the base href in the url. This still leads me down the road to every page displaying as the dashboard though.

<base href="/ictfax/"

@ortizdr
Copy link

ortizdr commented Feb 18, 2022

Any updates on this issue? We are wanting to deploy this out and we are attempting to test the software before purchase.

@ictvision
Copy link

I went in and changed the base href in the url. This still leads me down the road to every page displaying as the dashboard though.

<base href="/ictfax/"

Please configure the base URL like and then try again

@ortizdr
Copy link

ortizdr commented Feb 24, 2022

Where is this changed?

@ICTKashif
Copy link
Contributor

Where is this changed?

You can change or remove the base URL tag from /usr/ictfax/index.html file.

@kmorber
Copy link

kmorber commented Apr 9, 2024

hello,

index.html now looks so, but it does not work:

<!doctype html>

<title>ICTFax</title> Loading... <style>@-webkit-keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-moz-keyframes spin{0%{-moz-transform:rotate(0)}100%{-moz-transform:rotate(360deg)}}@Keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.spinner{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1003;background: #009fff;overflow:hidden} .spinner div:first-child{display:block;position:relative;top:50%;width:100%;height:150px;margin:-75px 0 0 0px;text-align:center;}</style>

Please enable JavaScript to continue using this application.

<script src="./assets/pdf.worker.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants