On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




include_once() error

UserPost

8:29 am
14 Oct 2008


koni

New Member

posts 2

1

Hello, I just install the plugin on my wordpress 2.6.2 powered blog.

Here is the kind of trace I get then :

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/share/php/sf-startup.php) is not within the allowed path(s): (/home/web1081/:/home/web11/shared/) in /home/web1081/web/wp-content/plugins/simple-forum/sf-control.php on line 26

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/share/pear/sf-startup.php) is not within the allowed path(s): (/home/web1081/:/home/web11/shared/) in /home/web1081/web/wp-content/plugins/simple-forum/sf-control.php on line 26

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/share/php/sf-includes.php) is not within the allowed path(s): (/home/web1081/:/home/web11/shared/) in /home/web1081/web/wp-content/plugins/simple-forum/sf-control.php on line 27

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/usr/share/pear/sf-includes.php) is not within the allowed path(s): (/home/web1081/:/home/web11/shared/) in /home/web1081/web/wp-content/plugins/simple-forum/sf-control.php on line 27


Here are reported only the firts lines, because each include_once() in sf_control and sf_includes and following seems to be the source of such errors.

Oddly, I can acces the forum administration pages, but just before the option panel, I still get tons of such traces (and also on main page).

Looking at the forum, I've read that getting corrects right on the server could be the solution, but It is not possible on the server hosting my blog. Further more, I don't get why the blog tries to include “/usr/share/php/something.php” while trying to include one of the plugin file…

Do you have any idea why only this pluggin causes such errors ? Any solution in mind ?

I've tryed to replace include_once by include or require_once without any positive effect, but i am not a php guru… :(

Thanks for your help !

koni

3:58 am
15 Oct 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

2

this is a problem with your hosting…  the open_basedir is set to not allow php includes…  you need to contact your host and ask them to unrestrict the open_basedir or modify your php.ini file yourself and remove the restriction…

9:19 am
16 Oct 2008


koni

New Member

posts 2

3

Ok Ok…

Just a question : why does none of any of the (many) installed plugins cause such errors ??

Does the forum plugin make a particular form of include ???

I can give you a list of installed ones if it can be usefull…

10:43 am
16 Oct 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

No it doesn't but many plugins do not need to include other files or do not behave correctly. This plugin is rather a large, complex one and it is important that we break it down into as small sections of code as we can otherwise you would have too much unecessary code being loaded. This is good practice. I can not comment on other plugins, many of which are first class but many of which are also badly constructed and load up code when it is not needed.



Reply to Topic: include_once() error

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 5 + 11        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

10 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)