« Previous Next »

Thread: joomla

Last post 02-12-2009 3:36 AM by waxie. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 02-10-2009, 5:25 AM

    • waxie
    • Top 500 Contributor
    • Joined on 07-04-2007, 10:29 AM
    • Posts 20

    joomla

    I installed joomla like described here http://learn.iis.net/page.aspx/527/joomla-on-iis/

    When i set Global Configuration menu configure SEO settings and press apply i get this eror: 

    PHP Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (\\hb1411\iisstorage\web;c:\windows\temp) in \\hb1411\iisstorage\web\testbjorn\wwwroot\libraries\joomla\filesystem\path.php on line 200

     

  • 02-10-2009, 6:22 AM In reply to

    Re: joomla

    Sounds like the IUSR or Network service account doesn't have permission to write to c:\windows\temp, which is the default %TMP% location.

     

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 02-10-2009, 7:48 AM In reply to

    • waxie
    • Top 500 Contributor
    • Joined on 07-04-2007, 10:29 AM
    • Posts 20

    Re: joomla

    The tmp is location is c:\windows\temp

    network service and iusr have write permissions in this folder, but i still get the same error.

    I'll look with processmonitor if there is some kind of deny.

    This is a farm setup, so where will he try to use the temp folder from? If this is the storage server that it could be a problem.

  • 02-10-2009, 2:43 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 661

    Re: joomla

    It looks like Joomla tries to check folder "/tmp" at the file system root. Since the open_basedir does not allow access to that location the warning occurs. The easiest way to fix that I think is to add the "C:\tmp" to the open_basedir, e.g.:

    open_basedir = \\hb1411\iisstorage\web;c:\windows\temp;c:\tmp

    Note, that you do not actually have to have this directory on a file system as Joomla will fall back to configured session directory if it cannot write to tmp folder.

    http://ruslany.net
  • 02-11-2009, 3:31 AM In reply to

    • waxie
    • Top 500 Contributor
    • Joined on 07-04-2007, 10:29 AM
    • Posts 20

    Re: joomla

    No that didn't fix it. I created the c:\tmp dir and added the security for iusr and network service.

    Also added it as openbasedir:

    PHP Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (\\hb1411\iisstorage\web;c:\windows\temp;c:\tmp) in \\hb1411\iisstorage\web\testbjorn\wwwroot\libraries\joomla\filesystem\path.php on line 200

     

    The settings seem to be saved, but i don't want it to show this error.

  • 02-11-2009, 1:42 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 661

    Re: joomla

    Try this instead:

    open_basedir = "\\hb1411\iisstorage\web;c:\windows\temp;/tmp"  . This worked for me.

    http://ruslany.net
  • 02-12-2009, 3:36 AM In reply to

    • waxie
    • Top 500 Contributor
    • Joined on 07-04-2007, 10:29 AM
    • Posts 20

    Re: joomla

    Thx that fixed it.

Page 1 of 1 (7 items)
Microsoft Communities