• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Search results

  1. MattW

    Not a bug XF1.X to XF1.X Import not importing attachments

    So I'm working with someone to merge a couple of forums into one. I've chosen not to retain content ID's (not worried about redirects etc), and everything works fine....apart from the attachments. The existing forum has over 13,000 attachments: However, it's only importing 53 attachments
  2. MattW

    XF 1.5 deferred.php called multiple times continually

    Trying to figure what's going on with the database load on a site, and I'm seeing deferred.php being called continually. Is there anything in the xf_cron_entry table I can look for to see if something is stuck?
  3. MattW

    XF 2.0 Bulk Remove Banned IP Addresses

    Is there a fast way to bulk remove all the banned IP addresses?
  4. MattW

    XF2 with CSP enabled

    So, having just upgraded to XF2, I was unable to drag and drop / paste an image into the editor (Attach files button worked). Looking in the Chrome console, it was reporting that blob: was being blocked, as I wasn't allowing this in the CSP string img-src 'self' blob: data: Adding blob: into...
  5. MattW

    Fixed Custom Thread Fields

    So, creating a custom thread field, and forcing it to be a number: Specifically not checking the "Require whole number" box, as I want to allow decimal points. It errors asking for a whole number:
  6. MattW

    XF 2.0 config.php memcached

    Apologies if I've missed something really obvious, but what are the settings that are needed for config.php in XF2 to enable Memcached as the back end cache? I've tried searching, but only Redis comes up in the results. Thanks :)
  7. MattW

    Fixed RSS Feed Error PHP7.2RC2 and XF 1.5.15

    http://travaux.ovh.net/rss.php?proj=11 Using the above RSS feed, I'm now getting errors on PHP7.2RC2 using XF 1.5.15 Stack Trace ErrorException: count(): Parameter must be an array or an object that implements Countable - library/Zend/Feed/Reader/Entry/Rss.php:204 Generated By: Matt, 1 minute...
  8. MattW

    Fixed Email invalid (bounced)

    I'm working through a bounce issue on a site, and when a user is updating their email address to a new one, the system is still sending a further email to their old (invalid) address, causing an additional bounce. This is then being counted by AWS as an additional bounce. So, the question I...
  9. MattW

    Duplicate Error on Upgrading to 2.0

    So, just tried upgrading the RM, and the error with ES crashed the upgrade during the rebuild (HERE) It's showing that the RM can still be upgraded, but when I try again, it's now saying the old RM table no longer exists. XF\Db\Exception: MySQL query error [1146]: Table 'xf2.xf_resource'...
  10. MattW

    Can't fix XFES 2.0 Beta Rebuild Error

    XFES\Elasticsearch\BulkRequestException: Elasticsearch indexing error: Elasticsearch bulk action error (first error: [thread-1282] failed to parse [prefix]) src/addons/XFES/Elasticsearch/Api.php:394 Generated by: Matt Sep 6, 2017 at 11:33 AM Stack trace #0...
  11. MattW

    Not a bug Unable to paste into code popup

    Samsung S8+ with Chrome Unable to paste into the code popup box. Long hold to paste closes the keyboard and doesn't give the option to paste (as it does in the editor window)
  12. MattW

    Fixed Feeder errors

    Error: Call to a member function getId() on null src/XF/Service/Feed/Reader.php:78 Generated by: Unknown account Sep 5, 2017 at 8:30 PM Stack trace #0 /home/nginx/domains/xf2.mattwservices.co.uk/public/src/XF/Service/Feed/Feeder.php(23): XF\Service\Feed\Reader->getFeedData() #1...
  13. MattW

    Can't fix Upgrade from 1.5 to 2 Beta Error

    LogicException: xf_forum_field already exists, but the structure does not match. in src/XF/Db/Schema/Create.php at line 51 XF\Db\Schema\Create->getQuery() in src/XF/Db/Schema/AbstractDdl.php at line 132 XF\Db\Schema\AbstractDdl->apply() in src/XF/Db/SchemaManager.php at line 171...
  14. MattW

    XF 1.5 if statement in config

    I'm trying to switch the Memcached version being used based on the PHP version Is going something like this possible in the config.php file? if (phpversion() < "7") { $config['cache']['backend'] = 'Memcached'; } else { $config['cache']['backend'] = 'Libmemcached'; }
  15. MattW

    Fixed Mysqli prepare error: Key 'media_date' doesn't exist in table 'media'

    Just upgraded XFMG to 1.1.11, and XMFG is now causing the below errors: Mysqli prepare error: Key 'media_date' doesn't exist in table 'media' Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115 Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381...
  16. MattW

    XF 1.5 deferred.php hanging

    I've been trying to help get to the bottom of a double posting issue, and we've been able to reproduce it. It's happening when deferred.php is being called, and it's causing the browser to lock, and just display the loading icon in the top right. People are then posting again, causing a double...
  17. MattW

    XF 1.5 2FA Emails rejected by Amazon SES

    So, I send all mail from the forum via Amazon SES, which requires you to verify each sending address being used. I've had a member try and activate 2FA (from what I can tell looking at the error logs), and the 2FA email is being sent from his own address - XXXXXX@gmail.com (changed address and...
  18. MattW

    Add-on Additional Alert / Email Preferences [PAID]

    Hello, I'm after some custom work making an addon to perform some additional functions I require for my forum. Basically, I want to have certain nodes in my forum send email notifications for each reply to a thread, regardless of when the person(s) last viewed the thread (while adhering to...
  19. MattW

    Cannot reproduce iconv_substr(): Detected an incomplete multibyte character in input string

    Full stack trace ErrorException: iconv_substr(): Detected an incomplete multibyte character in input string - library/Zend/Date.php:2082 Generated By: Unknown Account, Yesterday at 3:57 PM Stack Trace #0 [internal function]: XenForo_Application::handlePhpError(8, 'iconv_substr():...'...
  20. MattW

    Fixed Elasticsearch 2.0 Error

    Just upgraded to ES2.0, and the search no longer works. Index can be rebuilt OK, but searching throws the below error Error Info ErrorException: Object of class stdClass could not be converted to string - library/XenES/Search/SourceHandler/ElasticSearch.php:845 Generated By: Matt, 1 minute ago...