[TH] Article Manager [Deleted]

@wang you may want to have a look here. I'm having issues with attachments. They show in my forum fine but once I add them to the article section thru the forum, the forum pictures become text to view the attachment. https://xenforo.com/community/threads/pictures-showing-as-attachments.116478/#post-1069370

This is what Chris D said:
It sounds like the add-on might be doing something to the attachment records when they are added to that add-on. For example, if it switches the attachment content_type and content_id to something else then it could cause this.
 
Last edited:
@wang you may want to have a look here. I'm having issues with attachments. They show in my forum fine but once I add them to the article section thru the forum, the forum pictures become text to view the attachment. https://xenforo.com/community/threads/pictures-showing-as-attachments.116478/#post-1069370

This is what Chris D said:

You say that the issue happened yesterday, but you have been using my add on for quite some time now.

Anyways, can you please post a step by step guide as to how you are adding them to the article section through the forum? Are you pasting it through the img tags or uploading as attachments?
 
You say that the issue happened yesterday, but you have been using my add on for quite some time now.

Anyways, can you please post a step by step guide as to how you are adding them to the article section through the forum? Are you pasting it through the img tags or uploading as attachments?
I made a mistake. I should have said I "noticed it yesterday". When I saw this post today with the issue http://www.collectorsunleashed.com/forum/threads/my-new-car.3195/#post-23053 I then checked the other 2 or 3 posts I have transferred to the article page using the forums Thread Tools -> Promote thread to article and saw that those transferred threads are the ones having the attachment issue.
Here is another one I added to the article page using the thread tools and the same thing happened to the original thread http://www.collectorsunleashed.com/...ouver-centennial-half-dollar.3194/#post-23050
 
I made a mistake. I should have said I "noticed it yesterday". When I saw this post today with the issue http://www.collectorsunleashed.com/forum/threads/my-new-car.3195/#post-23053 I then checked the other 2 or 3 posts I have transferred to the article page using the forums Thread Tools -> Promote thread to article and saw that those transferred threads are the ones having the attachment issue.
Here is another one I added to the article page using the thread tools and the same thing happened to the original thread http://www.collectorsunleashed.com/...ouver-centennial-half-dollar.3194/#post-23050

Can you please send me a test account for your forum and I would also need access to your database to check the attachments? And I will look into this.
 
I get an error if i change the Article Page Layout to List Layout ..

An exception occurred: Argument 1 passed to XenForo_Template_Helper_Core::helperUserNameHtml() must be of the type array, null given, called in /var/www/vhosts/it-maku.com/httpdocs/www/library/XenForo/Template/Helper/Core.php on line 853 in /var/www/vhosts/it-maku.com/httpdocs/www/library/XenForo/Template/Helper/Core.php on line 1671

  1. XenForo_Template_Helper_Core::helperUserNameHtml() in XenForo/Template/Helper/Core.php at line 853
  2. XenForo_Template_Helper_Core::callHelper() in XenForo/Template/Abstract.php(265) : eval()'d code at line 667
  3. eval() in XenForo/Template/Abstract.php at line 265
  4. XenForo_Template_Abstract->_renderInternal() in XenForo/Template/Abstract.php at line 191
  5. XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
  6. XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 124
  7. XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 639
  8. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  9. XenForo_FrontController->run() in /var/www/vhosts/it-maku.com/httpdocs/www/index.php at line 13
 
@wang Sorry, this was my fault. I had an customized template.

But now i have the next issue. I'm on to disable one addon after the other to reach out the issue. Maybe you have an hint for me .. ;)

Bildschirmfoto 2016-06-03 um 19.03.45.webp
 
It is happend when I try to edit and article. I disabled all other add-ons, but the error is still there. It's also in default style. On a clean installation with a new xenforo there is no issue.
 
It is happend when I try to edit and article. I disabled all other add-ons, but the error is still there. It's also in default style. On a clean installation with a new xenforo there is no issue.

I will provide a fix for it this week end.
 
I could not get topics to be promoted to articles either at your forum. Can you please disable next all the other add ons and try again to promote topics to articles? That is only to rule out the other add ons as interfering with the topic promotion.

Wang, I just got to play with this.. I installed it on my dev site with no add-ons at all, except Xen Media Gallery and the problem persists. I'm running the latest Xenforo version and Article Manager 2.0.8 and I'm also getting an erro when trying to edit a article. *Already reported*

Template Errors: faqe_edit_article_form

  1. htmlspecialchars() expects parameter 1 to be string, array given in /var/www/dev/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 196:
    195: {
    196: $__compilerVar16 .= '<span class="HiddenInput" data-name="content_data[' . htmlspecialchars($dataKey, ENT_QUOTES, 'UTF-8') . ']" data-value="' . htmlspecialchars($dataValue, ENT_QUOTES, 'UTF-8') . '"></span>
    197: ';

  2. htmlspecialchars() expects parameter 1 to be string, array given in /var/www/dev/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 196:
    195: {
    196: $__compilerVar16 .= '<span class="HiddenInput" data-name="content_data[' . htmlspecialchars($dataKey, ENT_QUOTES, 'UTF-8') . ']" data-value="' . htmlspecialchars($dataValue, ENT_QUOTES, 'UTF-8') . '"></span>
    197: ';

  3. htmlspecialchars() expects parameter 1 to be string, array given in /var/www/dev/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 196:
    195: {
    196: $__compilerVar16 .= '<span class="HiddenInput" data-name="content_data[' . htmlspecialchars($dataKey, ENT_QUOTES, 'UTF-8') . ']" data-value="' . htmlspecialchars($dataValue, ENT_QUOTES, 'UTF-8') . '"></span>
    197: ';

I run NginX and php 7 if that helps. If you need I can set an account on the dev site so you can take a look. I have my admin on the server trying to figure it out too.

Thanks!
 
Wang, I just got to play with this.. I installed it on my dev site with no add-ons at all, except Xen Media Gallery and the problem persists. I'm running the latest Xenforo version and Article Manager 2.0.8 and I'm also getting an erro when trying to edit a article. *Already reported*



I run NginX and php 7 if that helps. If you need I can set an account on the dev site so you can take a look. I have my admin on the server trying to figure it out too.

Thanks!

This has been reported by another user too. Anyways, I have emailed you a new copy of the add on that will fix the problem that you reported. You do not need to upgrade it, only upload the files.
 
@wang, did you mean the editing error? That got fixed with the version you sent me, but I still can't promote threads to article for some reason. I know it must be something related to my server, but I was wondering if you can check it out.. I ruled out the add-on conflict by doing a clean install on my dev site. I sent you login info.

Thanks!
 
@wang, did you mean the editing error? That got fixed with the version you sent me, but I still can't promote threads to article for some reason. I know it must be something related to my server, but I was wondering if you can check it out.. I ruled out the add-on conflict by doing a clean install on my dev site. I sent you login info.

Thanks!

Yes sir, I meant the editing error. I will take a look at it tomorrow about the promotion of threads.
 
Top Bottom