Hello
PHP Warning: fopen(): open_basedir restriction in effect. File(/tmp/phpwAqkR5) is not within the allowed path(s): (/opt/sitex) in /opt/sitex/includes/fck/editor/filemanager/connectors/php/util.php on line 89
It's not a site x problem it's a php basedir rectriction so you can modify it this way : (source smefr)
Allow PHP to access certain directories
By default, for security reasons, PHP scripts located in the i-bays, including Primary, can only access files contained in this i-bay (when trying to access a non - authorized the tree, Apache would return the error "Warning: open_basedir restriction in effect."). However, for some scripts, it is necessary to get information elsewhere is the case for example phpSysInfo which fetches multiple items in the / proc /.
To do this, we must modify the restriction PHPBaseDir i-bay in the server configuration.
If we return to our example of phpSysInfo, imagining that it lies within the i-bay foo (how original, eh ...), it should type the following in a terminal as root :
db accounts setprop PHPBaseDir foo /home/e-smith/files/ibays/foo/:/proc/
signal-event ibay-modify foo
We see the first line different paths, separated by a colon ":", accessible by PHP i-bay (the i-bay itself and / proc /). Another example: if an i-bay just needed access to other i-bays, it would then indicate / home / e-smith / files / ibays / as PHPBaseDir.
Beware, if you allow access to the path / dir, it will provide access to directory / dir1 / and / dir2 / (assuming they exist, of course).
Therefore, if you want to restrict access to a specific directory, add the trailing slash (eg / dir1 /).
One could also consider giving access to the entire tree, but as I said above, this would constitute a risk in terms of server security: imagine a poorly conceived script that would modify or delete files essential for the proper functioning of the system!
Hackers could exploit scripts including poorly secured system and modify the file as they wish ...
I think you can do like this
db accounts setprop PHPBaseDir sitex /opt/sitex/:/tmp/
signal-event ibay-modify sitex
But i'm not sure because sitex is not installed in an ibay but in opt so the command may not be good but it's surely something like that
Hope this help
)
regards David