Wednesday, February 08, 2012
Text Size
UddeIMIf you are using the UddeIM private messaging system (PMS) on your Joomla site together with Community Builder you might come along with the installation of UddeIM profile link plugin for CB.

This plugin adds a link to the PMS to the user profile, which makes it possible to write a message to a user while viewing his profile.




Depending on your Webserver setup this can lead to Warning messages like:
open_basedir restriction

This warning may be shown when clicking on a user name, which usually directs you to the users profle page.

To get rid of this warnings try the following:
First make a backup of the original "pms.uddeim.profilelink.php" file which is in:
components\com_comprofiler\plugin\user\plug_uddeimprofilelink

Have alook for the code around line 182 which should begin with:
if (file_exists($this->pathtoadmin.'./language'.$postfix.'/'.$this->mosConfig_lang.'.php')) {

Replace the /lanuage entries with ./language, which means: simply add a dot "." before the slash.
In the code below, those dots are already added.

If you have done so, the warning messages should be gone.
This procedure works for me, but I can't give any guarantee that it works for everyone.
Again: Before editing be sure to have a backup of the original file.


if (file_exists($this->pathtoadmin.'./language'.$postfix.'/'.$this->mosConfig_lang.'.php')) {
include_once($this->pathtoadmin.'./language'.$postfix.'/'.$this->mosConfig_lang.'.php');
} elseif (file_exists($this->pathtoadmin.'./language'.$postfix.'/english.php')) {
include_once($this->pathtoadmin.'./language'.$postfix.'/english.php');
} elseif (file_exists($this->pathtoadmin.'./language/english.php')) {
include_once($this->pathtoadmin.'./language/english.php');            }

 

Related Posts:
Rok Comments

2 days ago
Rok Comments
Depending on the the template you use itmay happen
JDownloads Pagination

29 days ago
JDownloads Pagination
Depending on the template you use on your Joomla i
JDownloads White Page

35 days ago
JDownloads White Page
Migrating the popular JDownloads component from Jo
RT Radiance

76 days ago
RT Radiance
If you are using the Radiance template from Rocket
Database Size

138 days ago
Database Size
Sometimes the Joomla database size is getting bigg

Share this post

blog comments powered by Disqus



Category: Joomla

Free Subscription

Latest Tweets

pixelwondersde's avatar
Pixel Wonders pixelwondersde
Loading...

Last 4 tweets from pixelwondersde: