Support Forum

Forbidden – spimport.php

SO SooLi
SooLi
Member

I am installing Simple:Press on my local host via ServerPress.  Everything has gone well so far.  Now I am trying to import my bbpress and I received 20 of the following messages:

 

Forbidden

You don’t have permission to access /wp-content/plugins/sp-import/engine/spimport.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 Server at www.3footcycling.dev Port 80

 

How can I import my bbpress?

10 Answers

New Answer

MP Mr Papa
Mr Papa
Member

sounds like you need to correct your server permissions… why is access to the plugin engine file disallowed?

SO SooLi
SooLi
Member

I am using ServerPress and have never run into any permission errors with WP or any plugins before this.  I am hoping you can tell me what to do.

I dragged and dropped the importer folder into the plugins directory and did the same for Simple:Press.  I can access them both via the Dashboard without a problem so the importer seems to be installed without any problems.

 

There was also this message before the 20 Forbidden messages:

Warning: Creating default object from empty value in C:UserscdDocumentsWebsiteswww.sitename.devwp-contentpluginssp-importadminspimport-setup.php on line 32

MP Mr Papa
Mr Papa
Member

the warnings are not important…

but the importer is trying to include a file from within the plugin and access is being denied as the message tells you…

Please verify the permissions on the importer plugin dir and then the subdirs and files…typicall the dirs should be 0755 and the php files should be 0644

SO SooLi
SooLi
Member

The only documentation I could find for the importer was under the topic Importing Other Forums and it says “[This page is marked as: Needs Writing] – Coming soon…”

So for “bbPress Database Host:” I entered “127.0.0.1” because that is what is in the wpconfig.php “MySQL hostname.” My online production site has “localhost.”  Did I enter the correct value?

SO SooLi
SooLi
Member

Mr Papa said

Please verify the permissions on the importer plugin dir and then the subdirs and files…typicall the dirs should be 0755 and the php files should be 0644

 

This is on a localhost so there aren’t 0755 and 0644 permissions as on a web host.  The folders do have full access as I am running as the admin.

MP Mr Papa
Mr Papa
Member

not sure what more I can add… your server is not allowing a file include on the file spimport.php… its done via a jquery load command…  something non standard on your server is blocking the jquery load…  likely permissions or uid/gid (ownership) issues…

guess it would be worth checking that the file is actually there too…

SO SooLi
SooLi
Member

I installed the SP plugin and the importer plugin on our live WP system and tried the import and received 15 of the following messages:

403 Permission Denied
You do not have permission for this request /wp-content/plugins/sp-import/engine/spimport.php?action=userPhase&phase=1

 

I dragged and dropped the SP and importer plugins into the WP plugins folder, instead of going through the normal WP plugin install process because I read to do it that way for SP, could that have any relationship to this problem?

I just went through the file manager and saw that all of the folders have a 755 permission and spimport.php has a 644. 

All of my site pages went not accessible, timing out, for about a half hour.  Now everything seems to be back.  It wasn’t the server because I have other sites that were fully accessible.

Can you tell me how to get bbpress imported?

IK Ike
Ike
Member

Sorry, unfortunately I have no experience with importing myself, will have to wait for Mr Papa to take a look when he is on later.

SO SooLi
SooLi
Member

Solved.

There was a .htaccess deny *.php in the wp-content folder.  not sure how it got there but I temporarily disabled it in the ServerPress install and the import went through fine and then I did the same online and it went through fine.

thanks

MP Mr Papa
Mr Papa
Member

good fine… often done by security plugins… we do not add such a file…  interesting that it affects the importer… I may need to check into that and see if there is something odd about the file include there…