• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Component for Joomla Errors

O

obeone

Guest
Getting the following strange errors when trying to install a component for Joomla.

I have a Plesk 8.2 VPS.

This appears to be attributed to permissions, which I hope suPHP will solve, I am in the process of installing suPHP at the moment.

But, any support on these errors would be great.

----------------------------------------

Warning: JTransProAdminController::config() [function.config]: open_basedir restriction in effect. File(/tpl/config.php) is not within the allowed path(s): (/var/www/vhosts/obeoneweb.com/httpdocs:/tmp) in /var/www/vhosts/obeoneweb.com/httpdocs/administrator/components/com_jtranspro/admin.jtranspro.php on line 44

Warning: JTransProAdminController::config(tpl/config.php) [function.config]: failed to open stream: Operation not permitted in /var/www/vhosts/obeoneweb.com/httpdocs/administrator/components/com_jtranspro/admin.jtranspro.php on line 44

Warning: JTransProAdminController::config() [function.config]: open_basedir restriction in effect. File(/tpl/config.php) is not within the allowed path(s): (/var/www/vhosts/obeoneweb.com/httpdocs:/tmp) in /var/www/vhosts/obeoneweb.com/httpdocs/administrator/components/com_jtranspro/admin.jtranspro.php on line 44

Warning: JTransProAdminController::config(tpl/config.php) [function.config]: failed to open stream: Operation not permitted in /var/www/vhosts/obeoneweb.com/httpdocs/administrator/components/com_jtranspro/admin.jtranspro.php on line 44

Warning: JTransProAdminController::config() [function.include]: Failed opening 'tpl/config.php' for inclusion (include_path='.:') in /var/www/vhosts/obeoneweb.com/httpdocs/administrator/components/com_jtranspro/admin.jtranspro.php on line 44
 
Hopefully someone will come along and give you more detailed info and maybe a specific fix.

All I can tell you is that the first error is the one to look at. Ignore the others (for now) as they are probably caused by the first one. suPHP won't help here because this isn't to do with permissions..

It says: open_basedir restriction in effect
Which means something is trying to access a file outside the default allowed path.

The allowed path is given as
/var/www/vhosts/obeoneweb.com/httpdocs
and
/tmp

The file that is being accessed is: /tpl/config.php

Now that doesn't sound right at all. No module should have created a directory at the root of the filesystem. So it sounds like something is misconfigured. Maybe it should be looking for /var/www/vhosts/obeoneweb.com/httpdocs/tpl/config.php instead, in which case a config file somewhere need to be adjusted to give it the full and correct path to where things are really located.

Or I could be totally wrong and I'm talking utter nonsense in which case you should ignore me.

Faris.
 
The config.php was created in the correct location.

/var/www/vhosts/obeoneweb.com/httpdocs/tpl/config.php


user/group issues are an issue with Joomla, and I am going to go through each file and change owner/group to the correct ones.

The strange thing here is that I am able to install this component/module/mombat on a standard shared GoDaddy account, and it works just fine. Ever since I moved to my VPS/Plesk set-up this type of issue has haunted me.

I will look into the /tpl/config.php issue further.

If anyone has any more support, Thanks in advance.
 
Back
Top