what theme are you using and list all the plugins that you have enabled.
I am having this same issue. My site uses:
X Theme [and included plugins Cornerstone, X – Email Forms (MailChimp), X – Google Analytics, X – Terms of Use]
Event Calendar WD
Memphis Document Library
That error tells me that there is some conflicts with sessions being created. mDocs uses sessions data to stop double uploading for deletion of files.
Here is a simple test to run is open the docs-upload.php file and comment out line 50:
if ($_REQUEST['mdocs-nonce'] == MDOCS_NONCE ) {
and line 185:
} else mdocs_errors(MDOCS_ERROR_4,'error');
if the upload works then its a session problem, meaning another plugin or theme is destroying session data that is need for mDocs to work properly.
Thank you bhaldie. I tried your test, and it did work. So should I restore those two lines, then go about trying to isolate the plugin conflict, or can I just do without those two lines in the docs-upload.php?
Sorry for the newbie question, but I’m a relatively non-techie user trying to manage this site for my HOA.
–Rob
Oops! Forgot to add to my list of active plugins:
Contact Form 7
its not going to case any great issues by leaving it like that. The only scenario would be if you double click the upload button you might get some unexpected results, but I can’t say for sure.
I would try narrowing down plugins imo π
Having the exact same issue.
Have the default theme active, with zero additional plugins activated.
Commenting out the lines 50 and 185 as mentioned above works as a temp-fix.
Any thoughts on why?
It may be a server configuration then, if you are using apache
mod_session needs to be active in order to use sessions.
Also php needs to be configured properly to handle session as well..
Google apache session enabled or php sessions enables for more information.
10/10 for the quick replies chap!
IIS8 on Server2012r2 as it happens, but figured out the problem…
I didn’t have IIS_ISURS read permissions set to the PHP temp directory.
Server mis-configuration as you suspected.
Seems to be working without issue now. Job done π
Glad u figured it out π