Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Forbidden - spimport.php
Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 5, 2014 - 4:49 pm

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 http://www.3footcycling.dev Port 80

 

How can I import my bbpress?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2014 - 4:51 pm

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

Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 5, 2014 - 5:00 pm

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:\Users\cd\Documents\Websites\www.sitename.dev\wp-content\plugins\sp-import\admin\spimport-setup.php on line 32

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2014 - 5:35 pm

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

Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 5, 2014 - 5:35 pm

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?

Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 5, 2014 - 6:33 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 5, 2014 - 7:57 pm

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...

Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 6, 2014 - 2:13 pm

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?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 6, 2014 - 2:22 pm

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.

Avatar
SooLi
Member
sp_UserOfflineSmall Offline
Oct 6, 2014 - 7:12 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626