This Plug in doesn't work at all for me. In my test-setup, vanilla is located in a sub folder of my Wordpress installation. When I try to attach a file, an iframe containing a wordpress 404 page shows up underneath the vanilla footer. As far as I can see, the file is not being uploaded. When I post the comment, there is no reference to the attachment.
@flobster 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 ""
There is an ul-tag "Definitions" in the source, TransportError is "A fatal error occurred while processing the request. The server returned the following response: %s", WebRoot shows the correct path to my vanilla directory "http://loaclhost/wptest/community".
I changed the path variable, now the file gets uploaded into the right folder and the strange iframe doesn't show up anymore. Unfortunately, the ajax-loader keeps loading forever and when I press the Post Comment Button, the page turns into a raw HTML-page without any formatting and I get the following Error Message: 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).
This plugin doesn't seem to work for me. It installed fine but all it does is those animated squares and nothing more. Do i need to make any other settings besides activating attachments for members/administrators?
Im getting a wierd error in firebug: "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.
Folks, I dislike this addon, because it hasn't functionality that should. 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.
I want my forum to have the function that users can upload image(s). If i am allowed to wish for more the number of image can be uploaded can be set by administrator.
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.