bobjgarrett
Forum Replies Created
-
Forum: Plugins
In reply to: [Download Monitor] Open_basedir restrictionThe full warning message is
Warning: file_exists(): open_basedir restriction in effect. File(/wp-content/uploads/dlm_uploads/2024/08/Dufour-News-129.pdf) is not within the allowed path(s): (/home:/home2:/home3:/usr/local/apache/htdocs:/tmp:/usr/local/php80/lib/php:/usr/local/lib/php:/usr/share:/etc/xml:/etc/pki:/usr/bin-safe:/dev/urandom:/dev/null:/proc/version) in /home/dufour/P4ML4XO9/htdocs/wp-content/plugins/download-monitor/src/FileManager.php on line 87So the paths set by the server do not go down to that level of folder such that the different folders in the dlm_uploads folder would be different. Could there be some other explanation?
I have now added some debug instructions to your code and identified the following:
For the file which does not produce the error the $parsed_file_path[‘scheme’] includes “https” but for the file which gives the warning the https is missing (ignore the | which was my separators.
debug:|https|/wp-content/uploads/dlm_uploads/2024/12/Dufour-News-130.pdf|
debug:||/wp-content/uploads/dlm_uploads/2024/08/Dufour-News-129.pdf|So why would the https be different and how to fix this?
Forum: Plugins
In reply to: [Download Monitor] Open_basedir restrictionI understand what you are saying but the newly added files do not show this warning.
So the file
/wp-content/uploads/dlm_uploads/2024/08/XXXXX-129.pdf does show this error in the Dashboard but
wp-content/uploads/dlm_uploads/2024/12/xxxx-130.pdf does notI doubt the access level controls for openbasedir go to this level
Forum: Plugins
In reply to: [Download Monitor] Compatibility with 6.7.1 #1607Just updated to the latest version and my problem (https://ww.wp.xz.cn/support/topic/compatibility-with-6-7-1-1607/#post-18209329) is still there.
Forum: Plugins
In reply to: [Download Monitor] Compatibility with 6.7.1 #1607I have done that update and the problem is still present.
This is a single site installation.
We have no caching plugins installed but I suspect the server has some SQL caching which cannot be disabled or reset. We have tried to have this disabled before but “no dice”. Your plugin worked before!
Forum: Plugins
In reply to: [Download Monitor] Compatibility with 6.7.1 #1607The php log also shows:
[Thu Dec 19 15:26:04.286511 2024] [access_compat:error] [pid 33935:tid 33971] [client 66.249.66.37:59609] AH01797: client denied by server configuration: /home/xxxxx/P4ML4XO9/htdocs/wp-content/uploads/dlm_uploads/2018/01/xxxxxx.pdf
[Thu Dec 19 17:10:25.538243 2024] [access_compat:error] [pid 15221:tid 15230] [remote 40.77.167.224:38802] AH01797: client denied by server configuration: /home/xxxxx/P4ML4XO9/htdocs/wp-content/uploads/dlm_uploads/2019/04/xxxxx.pdfForum: Plugins
In reply to: [Download Monitor] Compatibility with 6.7.1 #1607Since doing the updates to the latest WordPress and Download Monitor my Download Monitor List of Downloads includes the following text against each download in the file location column:
Warning: file_exists(): open_basedir restriction in effect. File(/wp-content/uploads/dlm_uploads/2024/08/xxxx.pdf) is not within the allowed path(s): (/home:/home2:/home3:/usr/local/apache/htdocs:/tmp:/usr/local/php80/lib/php:/usr/local/lib/php:/usr/share:/etc/xml:/etc/pki:/usr/bin-safe:/dev/urandom:/dev/null:/proc/version) in /home/xxx/P4ML4XO9/htdocs/wp-content/plugins/download-monitor/src/FileManager.php on line 87
I have put xxxxx where the file/site names are used. Any suggestion how to fix this?
Forum: Plugins
In reply to: [bbp style pack] Attempt to read property “ID” on nullWhen doing a Search and with having warnings displayed.
Super. Thank you.
Thanks for the quick response.
I assume that if I do as you suggest then when any updates are done I will lose my changes?
Thanks for the response. The block was due to Malicious file upload PHP.
I have tested changing a user from “Subscriber” to “Author” which allows the photo to be loaded. The question then is whether to make all our members “Author” or remove the Malicious File Upload PHP rule.
Given the pages which allow upload or posting are all ones which require users to be logged in it seems either is possible. Is there any other choice and which might be better in your view?
To confirm what the other plugin author said I disabled WordFence and was then able to successfully upload the particular image.
So it appears that WordFence prevents a subscriber uploading an image from a Pixel phone but permits an Admin to do the same.
Forum: Plugins
In reply to: [bbPress Notify (No-Spam)] Not Allowed To View This ContentYes, the topics are private and members need to log in to see the actual forum posts. Does that mean we cannot include the extract even though they are being sent to those with login rights? Surely the plugin has access so can do the extract for the email?
Forum: Plugins
In reply to: [bbp style pack] Array offset error after updateThat sorted it. Thank you.
Forum: Plugins
In reply to: [bbp style pack] Search Only Shows ReplyThis is the thread: https://bbpress.org/forums/topic/single-reply-redirect-to-topic/?rs=reply
Thanks
I have sent the hacked file for consideration.