Fix (Temp):
The primary problem here is that the 'ip_address' field in the xcas_clicks_zone table is set to 'INT' for the datatype. The script looks to push a write that expects that field to be set as "VARBINARY".
By changing the the datatype to 'VARBINARY' (same as the other table xcas_clicks_banner) the script works properly when someone clicks an ad.
It seems to work on my test environment, but I'd like @XCentral to confirm the function.
Use this fix at your own risk.
Edit: I realized that the field length was set by myself after I changed the data type, so that's my edit and I removed that from this post.
Probably should consider adjusting to match, at least.
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect integer value: 'U`%' for column 'ip_address' at row 1 - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, Today at 11:18 AM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xc...', Array)
#3 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/Model/Stats.php(126): Zend_Db_Adapter_Abstract->insert('xcas_clicks_zon...', Array)
#4 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/ControllerPublic/Index.php(44): XenCentral_AdServer_Model_Stats->logZoneClick(16)
#5 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenCentral_AdServer_ControllerPublic_Index->actionRedirect()
#6 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(311) "https://www.myptsd.com/c/ads/redirect?bannerId=1280&url=http%3A%2F%2Fwww.amazon.com%2Fs%2F%3Fref_%3Dassoc_tag_ph_1384415829695%26_encoding%3DUTF8%26camp%3D1789%26creative%3D9325%26linkCode%3Dpf4%26me%3DA2L77EE7U53NWQ%26rh%3Di%253Amerchants%252Cn%253A284507%26tag%3Dpf03-20%26linkId%3DKAS5UZJ2TX2IIPL5&skipZone=0"
["_GET"] => array(3) {
["bannerId"] => string(4) "1280"
["url"] => string(192) "http://www.amazon.com/s/?ref_=assoc_tag_ph_1384415829695&_encoding=UTF8&camp=1789&creative=9325&linkCode=pf4&me=A2L77EE7U53NWQ&rh=i%3Amerchants%2Cn%3A284507&tag=pf03-20&linkId=KAS5UZJ2TX2IIPL5"
["skipZone"] => string(1) "0"
}
["_POST"] => array(0) {
}
}
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect integer value: 'BKA' for column 'ip_address' at row 1 - library/Zend/Db/Statement/Mysqli.php:214
Generated By: honeypie058, Today at 6:10 PM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xc...', Array)
#3 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/Model/Stats.php(126): Zend_Db_Adapter_Abstract->insert('xcas_clicks_zon...', Array)
#4 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/ControllerPublic/Index.php(44): XenCentral_AdServer_Model_Stats->logZoneClick(10)
#5 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenCentral_AdServer_ControllerPublic_Index->actionRedirect()
#6 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
["url"] => string(215) "https://www.myptsd.com/c/ads/redirect?bannerId=1468&url=https%3A%2F%2Fwww.amazon.com%2FBest-Sellers%2Fzgbs%2F%3F%26tag%3Dpf03-20%26camp%3D0%26creative%3D0%26linkCode%3Dur1%26adid%3D18FX9T4YJBR1M6C7APNT%26&skipZone=0"
["_GET"] => array(3) {
["bannerId"] => string(4) "1468"
["url"] => string(112) "https://www.amazon.com/Best-Sellers/zgbs/?&tag=pf03-20&camp=0&creative=0&linkCode=ur1&adid=18FX9T4YJBR1M6C7APNT&"
["skipZone"] => string(1) "0"
}
["_POST"] => array(0) {
}
}
Since the last update I'm now getting errors. Also, the user banners don't seem to be deactivating or activating any longer on their due date and time.
Code:Error Info Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect integer value: 'U`%' for column 'ip_address' at row 1 - library/Zend/Db/Statement/Mysqli.php:214 Generated By: Unknown Account, Today at 11:18 AM Stack Trace #0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array) #1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xc...', Array) #3 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/Model/Stats.php(126): Zend_Db_Adapter_Abstract->insert('xcas_clicks_zon...', Array) #4 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/ControllerPublic/Index.php(44): XenCentral_AdServer_Model_Stats->logZoneClick(16) #5 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenCentral_AdServer_ControllerPublic_Index->actionRedirect() #6 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #7 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run() #8 {main} Request State array(3) { ["url"] => string(311) "https://www.myptsd.com/c/ads/redirect?bannerId=1280&url=http%3A%2F%2Fwww.amazon.com%2Fs%2F%3Fref_%3Dassoc_tag_ph_1384415829695%26_encoding%3DUTF8%26camp%3D1789%26creative%3D9325%26linkCode%3Dpf4%26me%3DA2L77EE7U53NWQ%26rh%3Di%253Amerchants%252Cn%253A284507%26tag%3Dpf03-20%26linkId%3DKAS5UZJ2TX2IIPL5&skipZone=0" ["_GET"] => array(3) { ["bannerId"] => string(4) "1280" ["url"] => string(192) "http://www.amazon.com/s/?ref_=assoc_tag_ph_1384415829695&_encoding=UTF8&camp=1789&creative=9325&linkCode=pf4&me=A2L77EE7U53NWQ&rh=i%3Amerchants%2Cn%3A284507&tag=pf03-20&linkId=KAS5UZJ2TX2IIPL5" ["skipZone"] => string(1) "0" } ["_POST"] => array(0) { } }
Code:Error Info Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect integer value: 'BKA' for column 'ip_address' at row 1 - library/Zend/Db/Statement/Mysqli.php:214 Generated By: honeypie058, Today at 6:10 PM Stack Trace #0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array) #1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xc...', Array) #3 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/Model/Stats.php(126): Zend_Db_Adapter_Abstract->insert('xcas_clicks_zon...', Array) #4 /home/ptsdforu/public_html/c/library/XenCentral/AdServer/ControllerPublic/Index.php(44): XenCentral_AdServer_Model_Stats->logZoneClick(10) #5 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenCentral_AdServer_ControllerPublic_Index->actionRedirect() #6 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #7 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run() #8 {main} Request State array(3) { ["url"] => string(215) "https://www.myptsd.com/c/ads/redirect?bannerId=1468&url=https%3A%2F%2Fwww.amazon.com%2FBest-Sellers%2Fzgbs%2F%3F%26tag%3Dpf03-20%26camp%3D0%26creative%3D0%26linkCode%3Dur1%26adid%3D18FX9T4YJBR1M6C7APNT%26&skipZone=0" ["_GET"] => array(3) { ["bannerId"] => string(4) "1468" ["url"] => string(112) "https://www.amazon.com/Best-Sellers/zgbs/?&tag=pf03-20&camp=0&creative=0&linkCode=ur1&adid=18FX9T4YJBR1M6C7APNT&" ["skipZone"] => string(1) "0" } ["_POST"] => array(0) { } }
Hello everyone,
This is a bug fix release of XenCentral Ad Server, that fixes a bug with storing zone statistics and throwing an error for ip column.
All licensed customers can download the package from their Client's Area.
Thank you!
Ok... it won't let me embed a banner now, as in, it won't give me the code when trying to embed a banner. No error log generated, just:
View attachment 91937
Also... could you please put the 1.3.3 versions in the download area, as I have reverted mine so it works correctly, but you haven't listed the 1.3.3 versions.
View attachment 92117
It doesn't seem to work when I move a date ahead (an ad running today (starting tomorrow)Can anyone confirm if the current version is correctly enabling / disabling user banners upon their appropriate date and time? It's not for me... so wondering whether I need to do the above, delete it all and fresh install.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Can anyone confirm if the current version is correctly enabling / disabling user banners upon their appropriate date and time? It's not for me... so wondering whether I need to do the above, delete it all and fresh install.
We use essential cookies to make this site work, and optional cookies to enhance your experience.