Ask your WordPress questions! Pay money and get answers fast! (more info)

No such file or directory when installing plugins WordPress

  • SOLVED

Hi,

I have a problem regarding installing plugins after the update to wp 3.9. The bad thing is that my most important plugin is one of of the affected. By the way everything works fine on 3.8.1,3.8.2 and 3.8.3. Also i have tested on my local install with 3.9 and everything works fine. So it seems something happens when installing on my host. I have talked with the author of the plugin, he don't understand why this is happening. I have talked with my host, they are on to it but they don't really understand it either.

Also, i could run the site with 3.8.3 or 3.8.2, but someday i must update and what will happen then..if you have a site full with users. So when activating the plugin everything crashes and the error messages occurs

So i hope somebody can understand this issue och fix this for me. Because i need to release my site this week.

Answers (6)

2014-04-29

Navjot Singh answers:

Check the permissions of all folders. Try to reupload the WordPress core files manually via FTP and then try again.


Veritus comments:

Do you mean on the whole wordpress folders or only on the content folder? Yes, i will try to reupload the wp 3.9 core files again through and see what happens..


Veritus comments:

I did this now..the same problem..


Navjot Singh comments:

Can you PM me your FTP and WP login Details?


Veritus comments:

Sure no problems, i'll send you a pm right away..


Navjot Singh comments:

Seems you have already deactivated the plugin and got rid of the error. Get a fresh set of plugin files..delete the old ones..reupload and install again. Problem is with the plugin. Your WordPress install looked fine to me.

Also you have used 775 permissions throughout the wp-content/plugins directory. Recommended permissions are 755. For the moment I have changed bbpress folder permissions. See if that works.


Veritus comments:

oki, i'll check that but. I can't understand why its working on wp 3.9 on my local install but not on my host. When the plugins is activated the plugin adds code to htaccess.. can you check that out?


Veritus comments:

It seems to be the same code as in my local install..


Veritus comments:

I still have some permission issues with bbpress...

2014-04-29

Just Me answers:

It is a long shot but try to add this to your wpconfig.php


Veritus comments:

What code?


Just Me comments:

sorry

define('WP_USE_EXT_MYSQL', true);


Veritus comments:

Thanks, i'll check that out..


Veritus comments:

It seems that your fix makes it works..it testing this out now..


Veritus comments:

Seems that worked out the problems with my job board. Thank you for that!


Veritus comments:

What does this code mean exactly?


Just Me comments:

In WP 3.9 msqli will be used if present. Did leads to weird errors. Most of them due to trying to read data from the database but getting nothing in return. Software anticipates on that. I have seen software in an upgrade loop because of it, never able to retrieve the correct version number from the db.

This code tells WP to use msql instead of msqli.

I am glad it solved your problem.

2014-04-29

Arnav Joy answers:

please tell me what you did ? is there plugin folder and all the files and folder are there in there server?


Veritus comments:

I just uploaded the plugin as usual and that went trough, then when activating it..this happens.. Yes everything is in the folder.. i have even deleted it and added the content through ftp..so i'm confused by this problem.


Veritus comments:

Even the pages of the plugin are made with shortcodes and everything..


Veritus comments:

on wordpress

2014-04-29

Balanean Corneliu answers:

Try to change the chmode access 755 to that folders.


Veritus comments:

I have already tested that..

2014-04-29

Euryko Fabiano answers:

Did you make any change to your php config or webserver config ?

Try to rename plugins/ to anything/ on wp-content
Then log in to your admin panel
Try to reactivate only that plugin


Veritus comments:

Done that, it happens anyway. At first i didn't touch the wp-config. Now i did this, trying to find a solution. I find this code at some guys website:

/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') ) { define( 'ABSPATH', dirname(__FILE__).'/' ); }

/* Setup a temporary folder for uploading and updating */
define( 'WP_TEMP_DIR', ABSPATH.'wp-content/tmp/') ;


Added a tmp folder with 775.

2014-04-29

Hariprasad Vijayan answers:

Hi,

Are you getting error when activating all plugins?


Veritus comments:

no, i have seen that this error comes only with one plugin. Then i have bbpress that is working a little crazy, a had some file permission problems with the plugin.


Hariprasad Vijayan comments:

Which plugin show that error? bbpress?


Veritus comments:

Wp job board shows this error: no such file or directory. BBpress has shown filer permission problems.


Hariprasad Vijayan comments:

<blockquote>Also i have tested on my local install with 3.9 and everything works fine</blockquote>

Is it fresh install of wordpress 3.9 or upgraded from an older version?


Veritus comments:

the installation on my host is upgraded from 3.5.1 to 3.9. But i have installed everything manually again to 3.9 and the same problem occurs. I use their one klick install with prefix wp_

In my local install it's a fresh install with 3.9. Maybe it's something with the upgrade from 3.5.1 to 3.9 on my host that kills it???