Can't install plugins in OJS 2.4.8.1

We have recently upgrade our OJS from an earlier version to 2.4.8.1. As there are numerous types of plugins to be installed on OJS, we decided to try out a few of them on our platform. Although the same plugin is installed and runs very well on other systems with lower versions, we can not simply install any of the plugins developed for OJS. This message appears all the time “The uploaded plugin archive does not contain a folder that corresponds to the plugin name.”

We would appreciate if you share your solutions with us.

Hi @aiac,

What plugin are you trying to install?

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec,
Thank you for your message.
I can not install any plugin. Two of them about XML generation and one is about counter view. However, these plugins can be installed in another interface in which an earlier version of OJS is used.

Hi @aiac,

Can you provide me with a link to any of these?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

This is the link to the journal where plugins are installed without any problem
http://www.journals.mymla.org/index.php/MJLL

and this is one of the journals in which no plugin can be installed
http://www.journals.aiac.org.au/index.php/IJELS

It should be noted that the hosting of these two journals are different. One is based in Malaysia and the other other one is based in Australia.

Hi @aiac,

I was asking about the plugins, actually – can you provide a link to any of these?

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec
Thank you for your message. Attached is the plugin that I am attaching for
your consideration. We have developed it based on OJS2.4.5 and installed it
without any problem. However we are unable to install it in 2.4.8.1.
Regards,
Ali

Hi @aiac,

It looks like you attached the plugin in an email reply; unfortunately that doesn’t add it to your post in this forum software.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

if that is the case, how I can send the plugin to you?

Hi @aiac,

If you can post the plugin online somewhere and send me the URL, that would be OK. Alternately, send me a PM and I can give you my private email address.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec

I have already emailed you the plugin.
Regards,
Ali

Hi @aiac,

The plugin installs OK for me on my OJS 2.4.8-1 installation. I’d suggest checking file permissions (e.g. in your PHP upload area, and in the plugins/importexport directory). Make sure the tar tool is installed and configured in your config.inc.php.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec,

Thanks for your message. I will double check and will get back to you.

Dear @Alec,

We doubled checked the points your raised, yet no avail.

Hi @aiac,

Can you clarify your file permissions and ownership in your plugins directory? What is your server API (SAPI)? What OS does your system use, and does it use anything like open_basedir in your PHP configuration?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi

The first point is that we use CPannel and and Whm. The permission
directory is 775. The ownership is set by WHM and it is UNIX-directory.
However, we could not find if OS can use open_basedir in our PHP
configuration.