Support

Admin Tools

#16065 Filescanner failing on 2.5.11 JError: JPath::check Use of relative paths not permitted

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 14 May 2013 06:57 CDT

hkymre
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 2.5.11
PHP version: 5.3.8
MySQL version: 5.0.96-community
Host: (optional, but it helps us help you) ezpzhosting
Admin Tools version: 2.5.11

Description of my issue:
Since updating to 2.5.11 the file scanner is failing to send an email with the info.

Last Tick : 2013-05-14 10:37:18 GMT+0100 (BST)
Last folder : /home/xxxxx/public_html/cli/../templates/rt_leviathan/html/joomla/2.5
Memory used : 7.9 Mb
Warnings : no warnings issued (good)

Last Tick : 2013-05-14 10:37:18 GMT+0100 (BST)
Last folder : -
Memory used : 7.9 Mb
Warnings : no warnings issued (good)

JError: JPath::check Use of relative paths not permitted

Checked the component and the scan is working but no email is being sent out.
Error occurs with cron and backend scan

hkymre
Sorry error only occurs with cron.
email received ok via backend scan.

nicholas
Akeeba Staff
Manager
Normally the CLI script is able to determine the real path to the site's root and this error doesn't occur. Since you get this error it means that the real path cannot be determined, causing such a problem. As it is not clear why realpath() doesn't work on some systems, I can't provide a solution :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!