MODx commands

File(./../theme/modxcommands.css) is not within the allowed - MODx commands

File(./../theme/modxcommands.css) is not within the allowed

by Stoker 4.0 » Sun Feb 01, 2015 1:50 pm

Code: Select all

Warning: file_exists(): open_basedir restriction in effect. File(./../theme/modxcommands.css) is not within the allowed path(s): (/var/www/vhosts/phpbb3bbcodes.com/httpdocs/:/tmp/) in /var/www/vhosts/phpbb3bbcodes.com/httpdocs/cache/twig/f1/e4/24f2f21d0ac3c455dc71ff48d261.php on line 23 


Code: Select all

<!-- INCLUDECSS ../theme/modxcommands.css -->

should be:

Code: Select all

<!-- INCLUDECSS @dmzx_modxcommands/../theme/modxcommands.css -->


The error is found both in mcp and ucp. Easy way to reproduce it is when sending a PM
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: File(./../theme/modxcommands.css) is not within the allo

by KillBill. » Tue May 26, 2015 1:52 pm

OR click download attachments and The attachment does not exist anymore.

add error

Code: Select all

Warning: file_exists(): open_basedir restriction in effect. File(./../../theme/modxcommands.css)
User avatar
KillBill.
Registered User
Posts: 600
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: File(./../theme/modxcommands.css) is not within the allo

by KillBill. » Tue Aug 18, 2015 10:28 pm

Stoker 4.0 wrote:

Code: Select all

<!-- INCLUDECSS @dmzx_modxcommands/../theme/modxcommands.css -->


So right:

Code: Select all

<!-- INCLUDECSS @dmzx_modxcommands/modxcommands.css -->
User avatar
KillBill.
Registered User
Posts: 600
Joined: Tue Jun 02, 2009 4:07 pm
Contact: