Koozali.org: home of the SME Server

SiteBar on SME v6

Offline electroman00

  • *****
  • 491
  • +0/-0
SiteBar on SME v6
« on: April 10, 2006, 05:39:27 PM »
Hi

Trying to get Sitebar running
and I'm geting an error when uploading bookmarks from firefox.

Code: [Select]
Warning: fopen(): open_basedir restriction in effect. File(/tmp/php1QfZeW) is not within the allowed path(s): (/home/e-smith/files/ibays/sitebar) [loader.inc.php line 224]

Warning: fopen(/tmp/php1QfZeW): failed to open stream: Operation not permitted [loader.inc.php line 224]

Error: Can't open file!


Any help is appreciated....

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SiteBar on SME v6
« Reply #1 on: April 10, 2006, 07:41:31 PM »
Quote from: "electroman00"
Hi

Trying to get Sitebar running
and I'm geting an error when uploading bookmarks from firefox.

Code: [Select]
Warning: fopen(): open_basedir restriction in effect. File(/tmp/php1QfZeW) is not within the allowed path(s): (/home/e-smith/files/ibays/sitebar) [loader.inc.php line 224]

Warning: fopen(/tmp/php1QfZeW): failed to open stream: Operation not permitted [loader.inc.php line 224]

Error: Can't open file!


Any help is appreciated....

You are not allowed to write in the /tmp directory because of security measures concerning php. This is called basedir restriction and sets php to only runs scripts in certain parts of the tree of the filesystem.

You can create a writeable (don't know the exact permission and ownerships you will have to try a little I guess) subdirectory in your ibay and point the script to use this as the location to write it's temporary files.

You can also try to extend the php basedir setting, like described here: Troubleshooting FAQ: PHP Warning: (...) open_basedir restriction if installing anything PHP related in ibay
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)