Thanks @adunsulag .
Am using Apache 2.14 & Php 7.4
I don’t have httpd.conf, but I have apache2.conf.
Updated apache2.conf as “AllowOverride FileInfo”
But no use
can you check in your php.ini if:
mysqli.allow_local_infile = On
sometimes it could be still commented by preceding semi colon , if so remove it and restart apache2 and see
It is there, as mentioned from the beginning.
But no use…
Update ubuntu , php, apache to latest …. Fresh install
Looking for more suggestions from seniors. @Mohammad Off course the only last option is reinstall.
Check to see if you have a virtual host config overwriting apache2.conf!
I’d assume you have a vhost config.
Check in your
/etc/apache2/sites-available/
See if there are any directory overrides, if not suggest adding your site specific configs there.
Do a web search for setting up apache vhost etc…
Also open your browser console, try to open Portal Dashboard and record the url that is giving the 404 or the exact error.
Also you may as well upgrade your environment to support upcoming new release namely PHP 8+.
Hello @sjpadgett !
the web console says that it is looking for a folder by name “Provider” which is not available in path.
Even a fresh download of tar file is not showing the folder.
Assuming it is not an issue with web server.
Thanks
It won’t show in directory path because it is a REST endpoint that is redirected. So looks like mod_rewrite isn’t enabled or installed.
You need to check your php.ini and sites enabled configs.
There are several posts on our forum concerning this setup.
Also do a web search on how to setup mod_rewrite.
I asked to look at what error the browser console shows. i.e. a 500 or 404 etc.
You can turn on User Debug to All in Config that may show errors to display.
I don’t know how to help you. Your issue appears to be rewrite is not working for one of several reasons it could be.
We asked if you have a vhost setup or if apache2.conf is the only site config.
I recommend you upgrade to latest if for any other reason is that ccda etc performs better. We release v7.0.1 first or second week of April.
You could try adding below to see if rewrite isn’t being blocked lower in path.
<Directory "/var/www/html">
AllowOverride All
Require all granted
</Directory>
You may need to get someone knowledgeable with linux environment to jump on your system and check out your install. This type of issue is difficult to narrow with current approach being used here.
I tried to visit your site from your browser console error attached image (you might as well blur your site when posting) I found your directory is exposed, you may hide it with :
Options -Indexes
Here is a nice link on how to :
Thank you @Mohammad .
Done.
Can you please recheck?
Try
sudo a2dismod - - force autoindex
Done.
Thanks a ton @Mohammad
I have same problem for very long time, and still can’t resolve it
I recently did new installation of V7.0.0 from scratch, and in new installation have the same problem.
Still can’t resolve this problem because Apache OpenEMR file is missing. All system works fine, but getting problem with modules.
Is there any recommendation, maybe I’m doing some mistake in the installation process
apt update -y
apt upgrade -y
apt install mysql-server php php-xml php-mbstring php-mysql apache2 -y
sudo mysql -u root
CREATE DATABASE openemr;
CREATE USER ‘openemruser’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘openemruser123456’;
GRANT ALL PRIVILEGES ON openemr. TO ‘openemruser’@‘localhost’;*
FLUSH PRIVILEGES;
exit
Then go to php settings
Apache PHP configuration
/etc/php/7.4/apache2/php.ini
short_open_tag = Off
max_execution_time = 60
max_input_time = -1
max_input_vars = 3000
memory_limit = 512M
display_errors = Off
log_errors = On
po st_max_size= 30M
file_uploads = On
upload_max_filesize = 30M
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
mysqli.allow_local_infile = On
Next, you’ll need to reload the Apache web server for changes to take effect:
sudo systemctl reload apache2
@ncavalier
Is your installation working fine, except the modules?
@vijaydsk
Yes everything working 100% except the modules