Jump to content

praveen

Approved members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by praveen

  1. I checked the code 2-3 times. In terms of the order of content, nothing changed. When i moved the ad block to the top, the structure of the page including the order of the js remained the same. Infact i removed all the slider/carousel codes before making this change. But nothing showed up. The moment i moved it to the middle of the page, ads started showing.
  2. To confuse things further, I moved the code back to the old location in Site #2 and the ad shows up perfectly fine...
  3. This issue is happening on two sites that i manage. Site #1 I disabled two ads for 1 or 2 days and then enabled them again. Since then, i am not able to see the ad on the site. But if i click on "show banner" in the backend, the ads show up. I tried accessing the site via a different IP range (using my mobile network and not my broadband wifi) and the ads show up. I have no filter setup on my system or in the backend (i do not know if there is such an option). Site #2 I moved the ad location from middle of the page to the header. Nothing else was changed. And the ads stopped showing. I tried creating a new zone and added that code to the site. But nothing. Both the sides are running the async codes. At the same time, on both of these two sites, ads in other locations/zones are showing fine without any issues. Site #1 is on Wordpress. Site #2 is on 4Images. Both are running the latest stable versions. Revive is also running the latest version. The only additional thing that is setup (on the domain where revive is running) is the htaccess caching lines below because of Google Pagespeed warnings. # Caching Settings <IfModule mod_headers.c> <FilesMatch "\.(flv|gif|jpe?g|png|ico|swf)$"> Header set Cache-Control "max-age=2592000" </FilesMatch> <FilesMatch "\.(js|css|pdf|txt)$"> Header set Cache-Control "max-age=604800" </FilesMatch> <FilesMatch "\.htm(l)?$"> Header set Cache-Control "max-age=43200" </FilesMatch> </IfModule> ## BROWSER CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 week" </IfModule> ## BROWSER CACHING ##Incase it helps, i migrated from OpenX. But been using Revive for a year now and have updated it without any issues so far. Any help is appreciated. Thanks.
  4. After changing to the async tags, the impressions on the sites that i manage dropped by 25 to 35% This has resulted in a drop of 25% in revenue . As gabrielt said, increase in pagespeed is a good thing but this loss in revenue is not. The sites that i track use only 2 or 3 networks and in 2 cases Adsense being the only one.
  5. Bumping this topic as this is a really must-have feature seeing big G is bent on speed..
  6. Hi, For a long time i have been using the single page call method to load the banners. While i have no issues with it, Google Pagespeed keeps saying that i have a js that is blocking the page rendering (something similar) and wants me to load it Asynchronous or call it in the footer. the code that is use is the Is there a way to load this Asynchronously or in a manner that is not flagged by Google Page Speed?
  7. Just wanted to drop in and let know that i was able to successfully install a new copy of Revive 3.0.3 today. The server configs have not changed from the time this topic was created and nothing new was done. All i did was delete the 3.0.2 files and upload 3.0.3 into a brand new directory (not the same name as old). And voila, it installed
  8. I got my host to check and they have said the PHP Configuration is the same as any other and not customized. I also showed them the requirements (below) and they have everything is in order. And they wanted me to check with the developer as to why it is not installing Apache with mod_php or any webserver using FastCGI (nginx, IIS 7+, lighttpd, etc.) PHP 5.1.4+, 5.2.x, 5.3.x, 5.4.20+, 5.5.2+ Required PHP extensions: zlib, pcre, xml, mysql and/or pgsql Suggested PHP extensions: curl and/or openssl, gd, any opcode cache extension (opcache, apc, eaccelerator, xcache)
  9. Any idea why it is not installing?
  10. 3.0 got installed because i wanted to upgrade from OpenX to Revive. But that did not go through and 3.0 got installed. The 3.0 got installed in a new DB, new folder. 3.0.2 was installed in a new folder, same db as 3.0 but with all tables dropped. And, nothing was changed on the server after 3.0 install and before 3.0.2 attempted install.
  11. @chinnu, i do not how well to respond to your question. If you are thinking i am a novice in this, then all i can say is this:- I have been using Open X for years and have 2 Open X installations on this server for the last 4 years or so. And I have gone through the installation guide, upgrade guide and all others that are available here and elsewhere. So, please spare me the noob questions.
  12. Hi, PHP Version 5.3.13 Mysql 5.0.96
  13. I have the same issue..After installing database message it just shows some pear error
  14. I did. After entering the db details, it said "installing database" and then the above error message.. Nothing after that.. It is so frustrating to get this to work. First it would not upgrade from Openx and now it would not even install... Have to look for another solution if this does not work at all.
  15. Yes, all steps followed properly. Remote DB? No, is that required? It does not say anywhere that it has to be configured.
  16. Few weeks ago i tried to upgrade from Openx to Revive and that did not go through successfully. Today, i thought i shall install a fresh copy of Revive and re-do all ads manually. So i first tried installaing 3.0 on a new DB and new folder. Kept getting some errors and install would not go through. Then i saw 3.0.2 has been released. So i dropped all tables, deleted the old (3.0) files and uploaded a fresh copy of 3.0.2. After i entered the DB details, i got the following error. This server has OpenX running currently on a different DB and folder. -------------------------------------------------------------------------------- MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2/Driver/Datatype/Common.php LINE: 1104 DEBUG INFO: 1099 * @access public 1100 */ 1101 function quote($value, $type = null, $quote = true, $escape_wildcards = false) 1102 { 1103 $db =& $this->getDBInstance(); 1104 if (PEAR::isError($db)) { 1105 return $db; 1106 } 1107 1108 if (is_null($value) 1109 || ($value === '' && $db->options['portability'] & MDB2_PORTABILITY_EMPTY_TO_NULL) MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2/Driver/Datatype/Common.php LINE: 1208 DEBUG INFO: 1203 if (!$quote) { 1204 return $value; 1205 } 1206 1207 $db =& $this->getDBInstance(); 1208 if (PEAR::isError($db)) { 1209 return $db; 1210 } 1211 1212 $value = $db->escape($value, $escape_wildcards); 1213 return "'".$value."'"; MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2/Driver/Datatype/Common.php LINE: 1104 DEBUG INFO: 1099 * @access public 1100 */ 1101 function quote($value, $type = null, $quote = true, $escape_wildcards = false) 1102 { 1103 $db =& $this->getDBInstance(); 1104 if (PEAR::isError($db)) { 1105 return $db; 1106 } 1107 1108 if (is_null($value) 1109 || ($value === '' && $db->options['portability'] & MDB2_PORTABILITY_EMPTY_TO_NULL) MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2/Driver/Manager/mysql.php LINE: 940 DEBUG INFO: 935 * @return array 936 */ 937 function getTableStatus($table) 938 { 939 $db =& $this->getDBInstance(); 940 if (PEAR::isError($db)) { 941 return $db; 942 } 943 944 $query = "SHOW TABLE STATUS LIKE '{$table}'"; 945 $result = $db->queryAll($query, null, MDB2_FETCHMODE_ASSOC); MESSAGE: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2.php LINE: 2635 DEBUG INFO: 2630 $err =& $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null, 2631 'result class does not exist '.$class_name, __FUNCTION__); 2632 return $err; 2633 } 2634 $result =& new $class_name($this, $result, $limit, $offset); 2635 if (!MDB2::isResultCommon($result)) { 2636 $err =& $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null, 2637 'result class is not extended from MDB2_Result_Common', __FUNCTION__); 2638 return $err; 2639 } 2640 if (!empty($types)) { MESSAGE: Non-static method MDB2::isResultCommon() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2.php LINE: 3368 DEBUG INFO: 3363 */ 3364 function queryAll($query, $types = null, $fetchmode = MDB2_FETCHMODE_DEFAULT, 3365 $rekey = false, $force_array = false, $group = false) 3366 { 3367 $result = $this->query($query, $types); 3368 if (!MDB2::isResultCommon($result)) { 3369 return $result; 3370 } 3371 3372 $all = $result->fetchAll($fetchmode, $rekey, $force_array, $group); 3373 $result->free(); MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2.php LINE: 3616 DEBUG INFO: 3611 function fetchAll($fetchmode = MDB2_FETCHMODE_DEFAULT, $rekey = false, 3612 $force_array = false, $group = false) 3613 { 3614 $all = array(); 3615 $row = $this->fetchRow($fetchmode); 3616 if (PEAR::isError($row)) { 3617 return $row; 3618 } elseif (!$row) { 3619 return $all; 3620 } 3621 MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/MDB2/Driver/Manager/mysql.php LINE: 946 DEBUG INFO: 941 return $db; 942 } 943 944 $query = "SHOW TABLE STATUS LIKE '{$table}'"; 945 $result = $db->queryAll($query, null, MDB2_FETCHMODE_ASSOC); 946 if (PEAR::isError($result)) 947 { 948 return array(); 949 } 950 return $result; 951 } MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/OA/Upgrade/DB_UpgradeAuditor.php LINE: 323 DEBUG INFO: 318 } 319 320 function getTableStatus($table) 321 { 322 $result = $this->oDbh->manager->getTableStatus($this->prefix.$table); 323 if (PEAR::isError($result)) 324 { 325 return array(); 326 } 327 return $result; 328 } MESSAGE: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/OA/Upgrade/UpgradeLogger.php LINE: 70 DEBUG INFO: 65 * @param string $message 66 * @return boolean 67 */ 68 function isPearError($result, $message='omg it all went PEAR shaped!') 69 { 70 if (PEAR::isError($result)) 71 { 72 $this->logError($message.' '. $result->getUserInfo()); 73 return true; 74 } 75 return false; MESSAGE: Non-static method OX::assetPath() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/OA/Admin/Template.php LINE: 100 DEBUG INFO: 95 $this->templateName = $templateName; 96 97 $this->assign('phpAds_TextDirection', $GLOBALS['phpAds_TextDirection']); 98 $this->assign('phpAds_TextAlignLeft', $GLOBALS['phpAds_TextAlignLeft']); 99 $this->assign('phpAds_TextAlignRight', $GLOBALS['phpAds_TextAlignRight']); 100 $this->assign('assetPath', OX::assetPath()); 101 $this->assign("adminWebPath", MAX::constructURL(MAX_URL_ADMIN, '')); 102 $this->assign("oaTemplateDir", MAX_PATH.'/lib/templates/admin/'); 103 104 //for pluggable page elements 105 //- plugins may need to refrence their JS in OXP page templates MESSAGE: Non-static method MAX::constructURL() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/OA/Admin/Template.php LINE: 101 DEBUG INFO: 96 97 $this->assign('phpAds_TextDirection', $GLOBALS['phpAds_TextDirection']); 98 $this->assign('phpAds_TextAlignLeft', $GLOBALS['phpAds_TextAlignLeft']); 99 $this->assign('phpAds_TextAlignRight', $GLOBALS['phpAds_TextAlignRight']); 100 $this->assign('assetPath', OX::assetPath()); 101 $this->assign("adminWebPath", MAX::constructURL(MAX_URL_ADMIN, '')); 102 $this->assign("oaTemplateDir", MAX_PATH.'/lib/templates/admin/'); 103 104 //for pluggable page elements 105 //- plugins may need to refrence their JS in OXP page templates 106 $this->assign("adminPluginWebPath", MAX::constructURL(MAX_URL_ADMIN, 'plugins')); MESSAGE: Non-static method MAX::constructURL() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/OA/Admin/Template.php LINE: 106 DEBUG INFO: 101 $this->assign("adminWebPath", MAX::constructURL(MAX_URL_ADMIN, '')); 102 $this->assign("oaTemplateDir", MAX_PATH.'/lib/templates/admin/'); 103 104 //for pluggable page elements 105 //- plugins may need to refrence their JS in OXP page templates 106 $this->assign("adminPluginWebPath", MAX::constructURL(MAX_URL_ADMIN, 'plugins')); 107 108 //- plugins may need to inject their own 109 //template based elements into normal templates 110 $this->assign("pluginBaseDir", MAX_PATH.'/www/admin/plugins/'); 111 $this->assign("pluginTemplateDir", '/templates/'); MESSAGE: Non-static method OA_Dal::getTablePrefix() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/max/Dal/Common.php LINE: 137 DEBUG INFO: 132 return 'MAX_Dal_Admin_'.ucfirst($table); 133 } 134 135 function getTablePrefix() 136 { 137 return OA_Dal::getTablePrefix(); 138 } 139 140 /** 141 * A private method to manage creation of the utilised OA_DB class. 142 * MESSAGE: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/PEAR.php LINE: 867 DEBUG INFO: 862 } 863 $this->message = $message; 864 $this->code = $code; 865 $this->mode = $mode; 866 $this->userinfo = $userinfo; 867 if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) { 868 $this->backtrace = debug_backtrace(); 869 if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) { 870 unset($this->backtrace[0]['object']); 871 } 872 } MESSAGE: Only variable references should be returned by reference TYPE: Notice FILE: /home/abcdefghi/public_html/manager/lib/max/Dal/Common.php LINE: 148 DEBUG INFO: 143 * @access private 144 * @return mixed An instance of the OA_DB class. 145 */ 146 function &_getDbConnection() 147 { 148 return OA_DB::singleton(); 149 } 150 151 /** 152 * A private method for instantiating the DB_QueryTool class. 153 * MESSAGE: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context TYPE: Strict FILE: /home/abcdefghi/public_html/manager/lib/pear/DB/QueryTool/Query.php LINE: 296 DEBUG INFO: 291 if (is_object($dsn)) { 292 $res = $this->db =& $dsn; 293 } else { 294 $res = $this->db = DB::connect($dsn, $options); 295 } 296 if (DB::isError($res)) { 297 // FIXXME what shall we do here? 298 $this->_errorLog($res->getUserInfo()); 299 } else { 300 $this->db->setFetchMode(DB_FETCHMODE_ASSOC); 301 } Fatal error: Call to undefined method PEAR_Error::setFetchMode() in /home/abcdefghi/public_html/manager/lib/pear/DB/QueryTool/Query.php on line 300
×
×
  • Create New...