[XFA] Media Of The Month - XF2

[XFA] Media Of The Month - XF2 [Paid] 4.4.3

No permission to buy (€15.00)
Don't have a www. folder. See attachment. These are all the folders I have.
 

Attachments

  • Folders.webp
    Folders.webp
    13.8 KB · Views: 2
There's a button on top of the add-on page to upload from archive, you just select the zip from your computer. But you need to configure the permission first.

Add

$config['enableAddOnArchiveInstaller'] = true;

to the src/config.php file
 
There's a button on top of the add-on page to upload from archive, you just select the zip from your computer. But you need to configure the permission first.

Add

$config['enableAddOnArchiveInstaller'] = true;

to the src/config.php file
Was done already. Selecting the zip seems to work. Thanks!
 
Last edited:
Question,

So I unzipped the files and uploaded the upload folder but what or where is the forum directory? I've tried a few options like public html, data and styles but it doesn't appear in the add-ons section of the ACP.
Where should it go to? Does any one know?
Everything is explained here:

Does anyone have a demo of this running on 2.2? Also I read with the latest update for 2.2 a vote button has been added to the lightbox. Is this vote button still visible on smaller mobile displays? I only ask because with XF 2.2 the lightbox sidebar that includes interactions and comments for media items is being hidden for smaller displays instead of being moved below the media, so you can't make use of this on mobile.
The vote button would be there like others buttons on mobile, I believe the buttons are still there in mobile view ?
 
@XFA thanks, I have it running already. Now looking for Dutch translation because I'm getting server errors all te time about my own translations.. (I guess)
 
Bug:

Disabling the add-on (not uninstalling) causes server errors

Unknown column xfa_motm on XFMG:Album
Today at 12:06 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Yesterday at 12:04 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Friday at 12:02 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Thursday at 12:00 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Wednesday at 12:02 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Tuesday at 12:05 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Monday at 12:24 AM src/XF/Mvc/Entity/Finder.php:1640
 
Bug:

Disabling the add-on (not uninstalling) causes server errors

Unknown column xfa_motm on XFMG:Album
Today at 12:06 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Yesterday at 12:04 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Friday at 12:02 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Thursday at 12:00 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Wednesday at 12:02 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Tuesday at 12:05 AM src/XF/Mvc/Entity/Finder.php:1640
Unknown column xfa_motm on XFMG:Album
Monday at 12:24 AM src/XF/Mvc/Entity/Finder.php:1640
Do you have the full error log ?
I mean the detail of one of this error.
 
  • InvalidArgumentException: Unknown column xfa_motm on XFMG:Album
  • src/XF/Mvc/Entity/Finder.php:1640
  • Generated by: Unknown account
  • Aug 23, 2021 at 12:02 AM

Stack trace​

#0 src/XF/Mvc/Entity/Finder.php(603): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('xfa_motm', true)
#1 src/XF/Mvc/Entity/Finder.php(267): XF\Mvc\Entity\Finder->columnSqlName('xfa_motm', true)
#2 src/XF/Mvc/Entity/Finder.php(131): XF\Mvc\Entity\Finder->buildCondition('xfa_motm', 1)
#3 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(54): XF\Mvc\Entity\Finder->where('xfa_motm', 1)
#4 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(19): XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cronMode1()
#5 [internal function]: XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cron(Object(XF\Entity\CronEntry))
#6 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#7 src/XF/Job/Manager.php(258): XF\Job\Cron->run(8)
#8 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 8)
#10 job.php(43): XF\Job\Manager->runQueue(false, 8)
#11 {main}

Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(90) "https://*****.com/threads/XXXXX.12345/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}


-------------------------------------------------------------------------------------------------------

  • InvalidArgumentException: Unknown column xfa_motm on XFMG:Album
  • src/XF/Mvc/Entity/Finder.php:1640
  • Generated by: Unknown account
  • Aug 28, 2021 at 12:04 AM

Stack trace​

#0 src/XF/Mvc/Entity/Finder.php(603): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('xfa_motm', true)
#1 src/XF/Mvc/Entity/Finder.php(267): XF\Mvc\Entity\Finder->columnSqlName('xfa_motm', true)
#2 src/XF/Mvc/Entity/Finder.php(131): XF\Mvc\Entity\Finder->buildCondition('xfa_motm', 1)
#3 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(54): XF\Mvc\Entity\Finder->where('xfa_motm', 1)
#4 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(19): XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cronMode1()
#5 [internal function]: XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cron(Object(XF\Entity\CronEntry))
#6 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#7 src/XF/Job/Manager.php(258): XF\Job\Cron->run(7.95354)
#8 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 7.95354)
#9 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 7.95354)
#10 job.php(43): XF\Job\Manager->runQueue(false, 8)
#11 {main}

Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(22) "https://*****.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Last edited:
I am a bit surprised, it seems the error comes from the cron task but if you disabled the add-on, the cron task should not execute.
Do you see the cron task active in the cron tasks list ?
 
XFA updated [XFA] Media Of The Month - XF2 with a new update entry:

Bug fix and new features

Corrected bug
  • Ribbon not displayed in Lightbox view

New features
  • Revamped options page with tabbed layout
  • Option to display month/year instead of default MOTM ribbon text for awarded medias
  • New « Awarded date » order option for MOTM winner widget
  • New « Random » order option for MOTM winner widget
  • [MODE 1] Option to select a specific category in which to create MOTM monthly albums
  • [MODE 1] Option to hide « Media of the month albums » link from...

Read the rest of this update entry...
 
Top Bottom