×
Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Strange Open_Basedir messages in admin interface on 3.03

More
4 years 10 months ago - 4 years 10 months ago #1 by cveile
Getting all kinds of open basedir messages when accessing the backend admin interface only. Front end displays fine. Backend appears to work, but the warnings are annoying.

Joomla 2.5.16
Upgraded Kunena to 3.03. No issues with previous installed version (1.7)
IIS 7.5

Here's an excerpt of the code:
 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev\administrator/templates/bluestork/js/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/kunena/kunena/js/bootstrap/moobootstrap-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 367 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/js/kunena/kunena/js/bootstrap/moobootstrap-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 387 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/js/media/kunena/kunena/js/bootstrap/moobootstrap-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 393 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev\administrator/templates/bluestork/js/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/kunena/kunena/js/bootstrap/moobootstrap.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 367 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/js/kunena/kunena/js/bootstrap/moobootstrap.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 387 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/js/media/kunena/kunena/js/bootstrap/moobootstrap.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 393 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev\administrator/templates/bluestork/js/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/kunena/kunena/js/bootstrap/moobootstrap_chrome-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 367 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/js/kunena/kunena/js/bootstrap/moobootstrap_chrome-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 387 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/js/media/kunena/kunena/js/bootstrap/moobootstrap_chrome-uncompressed.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 393 Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev\administrator/templates/bluestork/js/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/kunena/kunena/js/bootstrap/moobootstrap_chrome.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 367 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/js/kunena/kunena/js/bootstrap/moobootstrap_chrome.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 387 
Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\sitename.com\httpdocs\dev/media/C:\Inetpub\vhosts\sitename.com\httpdocs\dev/js/media/kunena/kunena/js/bootstrap/moobootstrap_chrome.js) is not within the allowed path(s): (C:\Inetpub\vhosts\sitename.com\httpdocs;c:\windows\temp;/tmp) in C:\Inetpub\vhosts\sitename.com\httpdocs\dev\libraries\joomla\html\html.php on line 393
Last edit: 4 years 10 months ago by cveile.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #2 by xillibit
Hello,

Do-you have checked the right of the directories ?

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago #3 by OC
Hi everyone!

I have exacly the same problems described in this thread. Today I updated Joomla (2.5.25) and Kunena (3.0.6), but unfortunately the problem remains.

I contacted my provider and he told that there seems to be a path construction problem in \httpdocs\libraries\joomla\html\html.php. He asked me to exchange the "/" in lines 367, 387 and 393 for a "\":

E.g.
wrong:
// If the file is in the template folder if (file_exists(JPATH_THEMES . "/$template/$folder/$file")) { $includes[] = JURI::base(true) . "/templates/$template/$folder/$file";
break;

right:
// If the file is in the template folder if (file_exists(JPATH_THEMES . "\$template\$folder\$file")) { $includes[] = JURI::base(true) . "\templates\$template\$folder\$file";
break;

After applying these changes I can access Kunena in the backend again but unfortunately have other kind of problems, e.g. the icons on Jooma control panel are not displayed anymore.

Could someone tell me what the cause of the problem is and how to solve it?
Thanks in advance,
Oliver

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago #4 by xillibit
Hello,

Can-you write here please the exact error message that you can seen ?

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.084 seconds