0
Welcome Guest! Login
0 items Join Now

open_basedir restriction

    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    open_basedir restriction

    Posted 9 years 3 months ago
    • Hello. My Website ( www.nducouncil.org ) has been working very fine for several years. Then suddenly, it has begun displaying a strange Error Message. Furthermore, I cannot even log into my Joomla Administrator/Backend. Can anybody help me ?
      The Error Message is as follows:

      Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\nducouncil.org\httpdocs\installation\index.php) is not within the allowed path(s): (C:/Inetpub/vhosts/nducouncil.org\;C:\Windows\Temp\) in C:\Inetpub\vhosts\nducouncil.org\httpdocs\includes\framework.php on line 27

      Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\vhosts\nducouncil.org\httpdocs\includes\framework.php:27) in C:\Inetpub\vhosts\nducouncil.org\httpdocs\libraries\joomla\session\session.php on line 423

      Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\nducouncil.org\httpdocs\includes\framework.php:27) in C:\Inetpub\vhosts\nducouncil.org\httpdocs\libraries\joomla\session\session.php on line 423

      Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\nducouncil.org\httpdocs\includes\framework.php:27) in C:\Inetpub\vhosts\nducouncil.org\httpdocs\libraries\joomla\session\session.php on line 426

      Thanks in advance for any help.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • Ask you hosting company for help - it looks like they changed something on you.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • Hello.
      My Hosting Company has still not helped with this issue. Please, can anybody help me?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • You could try setting error level to "none" in global configuration as those are warnings only - other than that you will need help from your host.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • Thank you Sir. Thanks a lot for the solution above. In my Joomla 2.5 Website, I've the set the "Error Reporting" as - none; and the 3rd and 4th Error Messages have disappeared, but the 1st and 2nd Error Messages above are still there.

      However, in my Joomla 1.5 Websites, when I set the "Error Reporting" as - none; all the 4 Error Messages are still there. Please, kindly help me further.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • There is nothing further I can do - It sounds very much to me like your hosting company has upgraded php and other things on your server without telling you. Also, we do not support Joomla 1.5 any longer and Joomla (not RT) will cease support for Joomla 2.5 as of 31st December 2014 too.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • Thanks a lot Sir for the contribution. I'll still hope that somebody on the Forum would propose a further Solution. Can anybody out there help me ?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: open_basedir restriction

    Posted 9 years 3 months ago
    • Ted EVEN wrote:
      Thanks a lot Sir for the contribution. I'll still hope that somebody on the Forum would propose a further Solution. Can anybody out there help me ?

      Two solutions, the slow way where you do the work and the quick way where we do the work:

      SLOW)

      This is probably happening, as Joomla Update requires one of "allow_url_fopen" or "cURL" to be enabled in your PHP settings:
      1. Admin -> Site -> System Information -> PHP Information -> Core -> allow_url_fopen = OFF
      2. this means you need cURL to update and your's is probably enabled
      3. However if you DON'T have Admin -> Site -> System Information -> PHP Settings -> Open basedir = NONE
      4. or
        Admin -> Site -> System Information -> PHP Settings -> Safe Mode = OFF then "cURL" won't work
      From the Security Checklist/Hosting and Server Setup
      Use allow_url_fopen
      This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers. Note: This can only be set in php.ini due to security reasons. Enable and use allow_url_fopen to allow Joomla's One-Click-Update to work properly.
      For more information see: PHP Manual: allow_url_fopen and allow_url_include
      Proper setup will have this:
      allow_url_fopen = 1
      allow_url_include = 0
      PHP default: allow_url_fopen is enabled
      PHP default: allow_url_include is disabled
      If allow_url_fopen isn't allowed then use Joomla's "Install from Directory" option.
      This option requires that you unpack the archive file in a directory on your server. This is the best method if you have a slow internet connection or you are experiencing timeouts during the update process.
      • Unpack the archive file in a temporary directory on your local machine.
      • Upload all the files in this directory (for example, using FTP) to a temporary directory that is visible to the web server. For example, you can create a sub-directory under the tmp directory in your Joomla root. For this example, let's say the directory on the server is home/myuser/myjoomla/tmp/upgrade250).
      • In the Extension Manager: Install screen, enter the full path of the temporary directory (on the server) from step 2 (for example, /home/myuser/myjoomla/tmp/upgrade250).
      • Press the Install button.
      The system will work for a short time (perhaps a minute or less, depending on your server). Then a message indicating a successful installation will display.

      QUICK)

      Contact Premier Support
    • The following users have thanked you: MrT

Time to create page: 0.055 seconds