Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[ABANDONED] Attachments II
S
✭✭
[ABANDONED] Attachments II
0
Comments
Let's try to figure out what's the problem. Could you view HTML source code of discussion page and tell what defined for WebRoot under section ""
And wonder to see some error text...
The server returned the following response: %s", WebRoot shows the correct path to my vanilla directory "http://loaclhost/wptest/community".
Find
var WebRoot = definition('WebRoot');
and change it tovar WebRoot = definition('WebRoot') + '/';
Parse error: syntax error, unexpected $end in [local path]...\community\plugins\AttachmentsTwo\view.attachedfiles.php on line 11
Afterwards, the corresponding discussion is inaccessible (results in the error above).
You can try fix it youself. In file view.attachedfiles.php change
<?endforeach;?>
to<?php endforeach;?>
console.log(response);
need remove this line (or comment it)."uncaught exception: Syntax error, unrecognized expression: ); jquery.js".
And also not ending loader.
I was getting a "Permission denied to get property HTMLDocument.readyState".
This was due to missing 'www' in the config file, which seemed to solve that.
@S, please have a look at it again
Perhaps because not enough opportunities to hook post comment process...
Anyway, consider this addon as test, probe, educational. And dont' use it on production servers... I return to developing when the need.
If i am allowed to wish for more the number of image can be uploaded can be set by administrator.