Signature Once

Signature Once 2.0.8

No permission to download
It's a good addon - does exactly what it says on the tin. :)

Except for one perhaps small oversight - it doesn't limit signatures in Conversations.

Any chance of covering that in a future update, please?
 
Upgraded from 1.0 to 1.0.1, no longer able to load incredibly large threads (1000+ pages) due to PHP exceeding memory allocation limits. Disabling the add on fixed the problem

Code:
/Tick/Tackk/SignatureOnce/XF/Repository/Post.php, Line 65

Code:
[LIST]
[*]ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes)
[*]src/XF/Db/AbstractStatement.php:110
[/LIST]

Edit: I get this problem with 1.0 if 'Show Signature Once Per Thread' is enabled
 
Last edited:
Upgraded from 1.0 to 1.0.1, no longer able to load incredibly large threads (1000+ pages) due to PHP exceeding memory allocation limits. Disabling the add on fixed the problem

Code:
/Tick/Tackk/SignatureOnce/XF/Repository/Post.php, Line 65

Code:
[LIST]
[*]ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes)
[*]src/XF/Db/AbstractStatement.php:110
[/LIST]

Edit: I get this problem with 1.0 if 'Show Signature Once Per Thread' is enabled

Any ideas @batpool52!?
 
Not that I can think of any. I tried the add-on on a thread with 24,781 posts and it works fine for me. Can you message me the list of add-ons you've installed along with the complete stack trace?
 
If it's compatible with 2.1, you might want to change your "compatible versions" to 2.0 and 2.1 here in XF's Resource Manager. :) We've used an earlier version of this from XF 1.x (by a different developer) and really like the feature!
 
Seems there's a compatibility issue with XenPorta 2 PRO? @batpool52! @Jaxel

Code:
XF\Db\InvalidQueryException: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM xf_post LIMIT 1' at line 1 src\XF\Db\AbstractStatement.php:217

    Generated by: Andy Jan 28, 2019 at 9:04 PM

Stack trace

SELECT  FROM xf_post LIMIT 1
------------

#0 src\XF\Db\Mysqli\Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1064, '42000')
#1 src\XF\Db\Mysqli\Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1064, '42000')
#2 src\XF\Db\Mysqli\Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src\XF\Db\AbstractAdapter.php(89): XF\Db\Mysqli\Statement->execute()
#4 src\XF\Db\AbstractAdapter.php(96): XF\Db\AbstractAdapter->query('SELECT  FROM xf...', Array)
#5 src\addons\TickTackk\SignatureOnce\XF\Repository\Post.php(79): XF\Db\AbstractAdapter->fetchRow('SELECT  FROM xf...')
#6 src\addons\TickTackk\SignatureOnce\XF\Repository\Post.php(30): TickTackk\SignatureOnce\XF\Repository\Post->getPostCountsForSignatureOnce(Object(XF\Mvc\Entity\ArrayCollection), 1)
#7 src\addons\TickTackk\SignatureOnce\XF\Pub\Controller\Thread.php(32): TickTackk\SignatureOnce\XF\Repository\Post->setPostsShowSignature(Object(XF\Mvc\Entity\ArrayCollection), 1)
#8 src\addons\Andy\Calendar\XF\Pub\Controller\Thread.php(16): TickTackk\SignatureOnce\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#9 src\addons\XDinc\FTSlider\Pub\Controller\Thread.php(10): Andy\Calendar\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#10 src\addons\SV\UserEssentials\XF\Pub\Controller\Thread.php(27): XDinc\FTSlider\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#11 src\addons\SV\AlertImprovements\XF\Pub\Controller\Thread.php(19): SV\UserEssentials\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#12 src\XF\Mvc\Dispatcher.php(321): SV\AlertImprovements\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#13 src\XF\Mvc\Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#14 src\XF\Mvc\Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#15 src\XF\Mvc\Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src\XF\App.php(2177): XF\Mvc\Dispatcher->run()
#17 src\XF.php(390): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state

<pre class='xdebug-var-dump' dir='ltr'>
<small>C:\wamp64\www\nerdface\src\XF\Debugger.php:28:</small>
<b>array</b> <i>(size=4)</i>
  'url' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/nerdface/index.php?threads/slipsum.1/'</font> <i>(length=38)</i>
  'referrer' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'http://localhost/nerdface/index.php'</font> <i>(length=35)</i>
  '_GET' <font color='#888a85'>=&gt;</font>
    <b>array</b> <i>(size=1)</i>
      'threads/slipsum_1/' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>''</font> <i>(length=0)</i>
  '_POST' <font color='#888a85'>=&gt;</font>
    <b>array</b> <i>(size=0)</i>
      <i><font color='#888a85'>empty</font></i>
</pre>
Disabled this add-on and was able to access the thread.
 
Back
Top Bottom