4.2.0 upgrade and unable to view the Module Installer

cravaus wrote on Thursday, January 01, 2015:

I have upgraded to 4.2.0. All looks good except when I hit the ‘manage modules’ button I get the “Sorry, the page you are looking for is not found.” message. I am running OpenEMR on a Synology NAS and have had to make some modifications to get the program to work documented here: http://sourceforge.net/p/openemr/discussion/202505/thread/27f1a3c8. It looks like I may need to adjust some paths for the Module Installer to show up. Where would I start to look? What files are involved?

fsgl wrote on Thursday, January 01, 2015:

Try /interface/modules/zend_modules/public/Installer (opening frame in another tab gives the path).

It’s not possible to attach custom & zend folders here.

Upgrade the localhost copy & go from there.

cravaus wrote on Thursday, January 01, 2015:

Yes, this appears to be the problem. There is no /interface/modules/zend_modules/public/Installer to run. So, I re ran the update and still no /interface/modules/zend_modules/public/Installer. In /Public/ I only see index.php and .htaccess. Is Installer supposed to be built by the upgrade? I am looking in the tar file and I do not see Installer there.

I found the following: https://sourceforge.net/p/openemr/code-review/220/

Apparently there is an installation guide for Installer. I looked at that. I made the required modifications in the apache conf file and still no success.

fsgl wrote on Thursday, January 01, 2015:

There are 4 folders & one .php file in zend_modules in localhost. See attachment.

If you wish to work from GitHub, that’s fine.

May be simpler to upgrade on localhost, then devise a way to get the modules into host.

cravaus wrote on Thursday, January 01, 2015:

Yes, thanks. I see that in my structure at zend_modules. It looks like the upgrade went ok and the files are there. Perhaps I am misunderstanding this new function. Do I need to have Zend Framework installed first for this to work? I will try that.

fsgl wrote on Thursday, January 01, 2015:

I’m clueless about Zend.

Have fun with this new adventure.

bradymiller wrote on Friday, January 02, 2015:

Hi,
For Zend, there are two steps to configure it(not too tough). Turn on apache mod_rewrite module and allow use of htaccess files. Regarding the apache use of htaccess, most secure way is to only allow it in OpenEMR and then disallow it in the sites directory (to prevent a hacker from uploading a htaccess file as a document). For example, in ubuntu apache config would look something like this:

  <Directory "/var/www/openemr">
      AllowOverride FileInfo
  </Directory>
  <Directory "/var/www/openemr/sites">
      AllowOverride None
  </Directory>

As an aside, note that there are no available modules yet (so you are not missing anything at this time if this feature does not work).

-brady
OpenEMR