Mr Lucky
Well-known member
Try running this query:
Thanks that worked, what was the issue?
Try running this query:
Mysqli prepare error: Unknown column 'max_purchases' in 'field list'
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
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1638
XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1627
XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
XenForo_DataWriter->save() in Audentio/AdManager/ControllerAdmin/Package.php at line 164
Audentio_AdManager_ControllerAdmin_Package->actionSave() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/caftest/public_html/admin.php at line 13
@Mike Creuzer I went to add in my 1st ad and now my entitre site errors the following on all pages + locked out of admin same error..
An exception occurred: Undefined index: zone_position in /home/pucksters/public_html/library/Audentio/AdManager/Model/Advertisement.php on line 464
- XenForo_Application::handlePhpError() in Audentio/AdManager/Model/Advertisement.php at line 464
- Audentio_AdManager_Model_Advertisement->prepareAdvertisementsForDisplay() in Audentio/AdManager/Model/Advertisement.php at line 74
- Audentio_AdManager_Model_Advertisement->getPreparedAdvertisementsFromCache() in Audentio/AdManager/Listener/CodeEvent.php at line 36
- Audentio_AdManager_Listener_CodeEvent::templateCreate()
- call_user_func_array() in XenForo/CodeEvent.php at line 58
- XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 82
- XenForo_Template_Abstract->__construct() in XenForo/Dependencies/Public.php at line 239
- XenForo_Dependencies_Public->createTemplateObject() in XenForo/ViewRenderer/Abstract.php at line 263
- XenForo_ViewRenderer_Abstract->createTemplateObject() in XenForo/ViewRenderer/HtmlPublic.php at line 119
- XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 637
- XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
- XenForo_FrontController->run() in /home/pucksters/public_html/index.php at line 13
ALTER TABLE `admon_advertisement_zone` ADD `zone_position` varchar(50) NOT NULL DEFAULT '' AFTER `wrapper_class`;
Y0u'll have to create a custom advertisement zone and place the helper into the template manually if you want to use anything other than the pre-defined locations
Jake
Could you post an example what to put as the helper?
My header ad is showing up on all pages accept my index "home" which is featured threads from @Brogan Any ideas?
{xen:helper advertisement, 'YOUR_ZONE_ID'}
Except it happened on my test server, where opcache is not running.It's likely caused by OpCache.
Bug in Safari: first rotation causes page to jump.
New Features:
- Ability to track clicks on HTML advertisements.
First rotation as in when it adds the advertisement to the page initially, or first rotation as in when it switches from one advertisement to another?
Either way, this can be fixed by setting a height on the zone. This is somewhat expected because the ad is placed using javascript, and there may be a delay on that.
When switching from first ad to second.
Adding the height "auto" does not work. Adding a fixed height stops it being properly responsive.
.funzone_below_top_breadcrumb {
height: 20px;
}
@media(min-width: 400px) {
.funzone_below_top_breadcrumb {
height: 40px;
}
}
@media(min-width: 800px) {
.funzone_below_top_breadcrumb {
height: 80px;
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.