CTA Featured Threads & Portal

CTA Featured Threads & Portal [Paid] 2.17.0

No permission to buy (£40.00)
That's related to a thread which is attempting to be auto-featured, which has an attachment which is still listed in the database but has been deleted from the server.
Thanks.
On the page URL shown, or any page within the thread?
 
That's related to a thread which is attempting to be auto-featured, which has an attachment which is still listed in the database but has been deleted from the server.
It's an 11 year old thread, which as already been featured and expired.
/admin.php?options/list/CtaFt - within Automatic Featuring - has 'Include Expired' unticked.
 
If you're sure of the thread, check for any attachments which are still associated with it in the DB but not present on the server.

You may need to manually edit the DB to remove any entries if you can't remove the nonexistent attachments any other way.
 
If you're sure of the thread
Unfortunately, I'm not.
Code:
#2 library/CTA/FeaturedThreads/Model/Featured.php(410): CTA_FeaturedThreads_Model_Featured->applyFeaturedThreadImage(233003, '', 'jpg', '192', '192', 'featured_icon_d...', 'ctaFtIcon', 'icons')
#3 library/CTA/FeaturedThreads/Model/Featured.php(245): CTA_FeaturedThreads_Model_Featured->attachedFeaturedThreadImage(Array, 233003, '', 'featured_icon_d...', 'ctaFtIcon', 'icons')
What does 233033 in the above represent? Attachment|Post|Thread id? Seems to be the only identifying id in the error contents that I could use to track down and identify/fix the issue?
 
That's related to a thread which is attempting to be auto-featured, which has an attachment which is still listed in the database but has been deleted from the server.
Code:
#2 library/CTA/FeaturedThreads/Model/Featured.php(410): CTA_FeaturedThreads_Model_Featured->applyFeaturedThreadImage(233003, '', 'jpg', '192', '192', 'featured_icon_d...', 'ctaFtIcon', 'icons')
#3 library/CTA/FeaturedThreads/Model/Featured.php(245): CTA_FeaturedThreads_Model_Featured->attachedFeaturedThreadImage(Array, 233003, '', 'featured_icon_d...', 'ctaFtIcon', 'icons')
What does 233033 in the above represent? Attachment|Post|Thread id? Seems to be the only identifying id in the error contents that I could use to track down and identify/fix the issue?
It should be the thread ID.

Code:
mysql> select position, post_id, attach_count from xf_post where thread_id = 233003;
+----------+---------+--------------+
| position | post_id | attach_count |
+----------+---------+--------------+
|        0 | 3079365 |            1 |
|        1 | 3079464 |            0 |
|        2 | 3079551 |            0 |
|        3 | 3079854 |            1 |
|        4 | 3079974 |            0 |
|        5 | 3080009 |            0 |
|        6 | 3080024 |            0 |
|        7 | 3080114 |            0 |
|        8 | 3080305 |            0 |
|        9 | 3080334 |            1 |
|       10 | 3080336 |            0 |
|       11 | 3080351 |            0 |
|       12 | 3080414 |            0 |
|       13 | 3080440 |            0 |
+----------+---------+--------------+
14 rows in set (0.00 sec)

https://netrider.net.au/threads/motogp-2017.233003/

Certainly doesn't appear to be any missing attachments in this thread.
 
Do any threads with attachments work when they are featured?
Yes, I can manually feature threads with no error (front-end or ACP error log) - including the example thread (id 233033) above that appears to fail automatic featuring.
Of note, this thread has no text in it's first post, only an image, so it errors on manual featuring without adding some description text. Perhaps this is impacting/failing automatic featuring?
 
Is there anything in the database for this thread?
Code:
mysql> select position, post_id, attach_count from xf_post where thread_id = 54248;
+----------+---------+--------------+
| position | post_id | attach_count |
+----------+---------+--------------+
|        0 |  948849 |            0 |
|        1 |  948859 |            0 |
|        2 |  948861 |            0 |
|        3 |  948863 |            0 |
|        4 |  948902 |            0 |
|        5 |  948929 |            0 |
+----------+---------+--------------+
6 rows in set (0.00 sec)
 
I don't have any other suggestions.

The code is designed to not feature a thread if it can't find an image which is defined in the database.

If you can manually feature it then perhaps it was just a temporary glitch?
 
Hello everyone. I am having problems with how the images looks on my site, they will look great from a cellphone but awfully wide from a PC. I am using the Promote to Slider feature. Images are set as they originally came: Adaptive Height Speed 500, Snippet length 500. Any thoughts?
 
You should set the slider image dimensions to be as large as possible if you have no maximum width on the forum itself.

Images look fine scaled down but never work scaled up.
 
You have a max width set for the forum, so typically you would work out what the maximum available width is for the slider - either by calculating or, more simply, using the browser console.
It looks to be 950px for that style.

Once you have made the relevant changes to the options and style properties, you will need to upload new images so new versions can be saved.
 
Quick question, where should I change to 950 in here? If not under Slider kindly point out exactly where. Thanks a bunch!!!

CTA.jpg
 
Getting quite a few errors. Look all to be from the featured archive. The errors stop when I disable that function.

ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) - library/XenForo/Helper/Php.php:206
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(68) "http://www.forum.com/threads/featured-archive?order=views&page=775"
["_GET"] => array(3) {
["/threads/featured-archive"] => string(0) ""
["order"] => string(5) "views"
["page"] => string(3) "775"
}
["_POST"] => array(0) {
}
}
 
Back
Top Bottom