Using Joomla, when I was trying to update some pages on my site, I got this error message: "The page was not displayed because the request entity is too large."



Indeed, the pages I was trying to edit where significantly large, when lots of links and pictures on them, but this is the way I like it: a good read like this one:

I had a look at the logs of the server, and the "php_error.log" file was giving this nasty error message every single time I tried to upload a large file:

[31-Jan-2021 **:**:**UTC] PHP Warning:  is_dir(): open_basedir restriction in effect.
File(/plugins/system/nrframework/language) is not within the allowed path(s):
D:/****/\;C:\*****\) in
D:\******\\httpdocs\plugins\system\nrframework\NRFramework\Functions.php on line 383



I open the "user.ini" file on the root of httpdocs, and it was poitingn to C:\windows\temp...hmmmmm, will I have access to write there?



 So I change it to match the temp folder of Joomla, configured under Global >> Server


 But that did not make any difference, so I put back pointing to the Windows >> temp folder


Then I visited Joomla > Global Server and took note of the "Path to Temp Folder": D:\domains\\httpdocs/tmp




The page was not displayed because the request entity is too large

A website hosted in Plesk is not accessible: open_basedir restriction in effect

Open_basedir restriction in effect. File(X) is not within the allowed path(s): Y


Print Friendly, PDF & Email

Comments powered by CComment