We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

The problem with the unit (Page Settings) | Forum

Topic location: Forum home » Support » General Questions
Алексей
Алексей Jan 11 '16
Hi!

Settings: admin/settings/page Add the code block above:


Displayed correctly:


But when you have to choose the picture:


The block also appears... It is not right.


How to fix it? How to remove a block here?:


Thank you.

ross Team
ross Jan 11 '16
In order to use the add properly, we recommend to use advertisement plugin and not insert it in the page settings: 

http://www.oxwall.org/store/item/37

Алексей
Алексей Jan 11 '16
After installing the plugin - Error 500

Apparently the author it is not yet decided http://www.oxwall.org/forum/topic/43425

ross Team
ross Jan 11 '16
Please enable debug mode and see the actual error, then provide it here
Алексей
Алексей Jan 12 '16

Quote from ross Please enable debug mode and see the actual error, then provide it here
Ok!

Message:SQLSTATE[42S02]: Base table or view not found: 1146 Table 'znleha_org.ow_base_geolocation_ip_to_country' doesn't existFile:/home/z/znleha/public_html/ow_core/database.phpLine:720Trace:#0 /home/z/znleha/public_html/ow_core/database.php(720): PDOStatement->execute() #1 /home/z/znleha/public_html/ow_core/database.php(275): OW_Database->execute('SELECT `cc3` FR...', Array) #2 /home/z/znleha/public_html/ow_system_plugins/base/bol/geolocation_ip_to_country_dao.php(92): OW_Database->queryForColumn('SELECT `cc3` FR...', Array) #3 /home/z/znleha/public_html/ow_system_plugins/base/bol/geolocation_service.php(77): BOL_GeolocationIpToCountryDao->ipToCountryCode3('2.60.60.20') #4 /home/z/znleha/public_html/ow_plugins/advertisement/components/ads.php(69): BOL_GeolocationService->ipToCountryCode3('2.60.60.20') #5 /home/z/znleha/public_html/ow_plugins/advertisement/classes/event_handler.php(64): ADS_CMP_Ads->__construct(Array) #6 [internal function]: ADS_CLASS_EventHandler->addPageTopBanner(Object(BASE_CLASS_EventCollector)) #7 /home/z/znleha/public_html/ow_core/event_manager.php(204): call_user_func(Array, Object(BASE_CLASS_EventCollector)) #8 /home/z/znleha/public_html/ow_smarty/plugin/function.add_content.php(42): OW_EventManager->trigger(Object(BASE_CLASS_EventCollector)) #9 /home/z/znleha/public_html/ow_smarty/template_c/85732b6fe35f7a2e4f9d4107449aebf21806fe47.file.general.html.php(64): smarty_function_add_content(Array, Object(Smarty_Internal_Template)) #10 /home/z/znleha/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(180): content_5694a58db0c3d0_70916960(Object(Smarty_Internal_Template)) #11 /home/z/znleha/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/z/znleha/...') #12 /home/z/znleha/public_html/ow_core/renderable.php(271): OW_ViewRenderer->renderTemplate('/home/z/znleha/...') #13 /home/z/znleha/public_html/ow_core/html_document.php(623): OW_Renderable->render() #14 /home/z/znleha/public_html/ow_core/response.php(200): OW_HtmlDocument->render() #15 /home/z/znleha/public_html/ow_core/application.php(458): OW_Response->respond() #16 /home/z/znleha/public_html/index.php(94): OW_Application->returnResponse() #17 {main}Type:PDOException

Алексей
Алексей Jan 12 '16
With text, I realized that it is necessary to install another plugin ...



I understand very little English ...

Алексей
Алексей Jan 12 '16

Done!


Indeed, it is necessary to install two plugins.


Thank you.

ross Team
ross Jan 12 '16
Yes, for now you need to install Geolocation IP database plugin too. This will be fixed in the upcoming update of the software
The Forum post is edited by ross Jan 12 '16
Алексей
Алексей Jan 12 '16

Quote from ross Yes, for now you need to install Geolocation IP database plugin too. This will be fixed in the upcoming update of the software
Yes, I understand. I just hard to read in a foreign language.
The Forum post is edited by Алексей Jan 12 '16