Closed GoogleCodeExporter closed 8 years ago
Version? SVN 69 What steps will reproduce the problem? 1.Enabled EVE Api 2.Entered full api 3.Enabled all settings options. What is the expected output? What do you see instead? No forum errors :) One forum error for every page load. What version of the product are you using? On what operating system? PHP5, cURL, mysql. Please provide any additional information below. This error is deplayed in the forum error log (SMF2 RC3) for every page access, since the copyright is on every page, fills up the error log fast. http://site.org/index.php?8: Trying to get property of non-objectFile: /sitepath/forum/Sources/TEA.php Line: 12 1: <?php 2: 3: if (!defined('SMF')) 4: die('Hacking attempt...'); 5: 6: Global $tea, $db_prefix, $sourcedir, $modSettings, $user_info, $context, $txt, $smcFunc, $settings; 7: loadLanguage('TEA'); 8: 9: require_once($sourcedir.'/TEAC.php'); 10: 11: Global $forum_copyright; ==>12: $forum_copyright .= '<br><a href="http://code.google.com/p/temars-eve-api/" target="_blank" class="new_win">TEA '.$tea -> version.' © 2009-2010, Temars EVE API</a>'; 13: 14: class TEA extends TEAC 15: { 16: var $corps; 17: 18: function __construct(&$db_prefix, &$sourcedir, &$modSettings, &$user_info, &$context, &$txt, &$smcFunc, &$settings) 19: { 20: // $this -> db_prefix = &$db_prefix; 21: $this -> sourcedir = &$sourcedir; 22: $this -> modSettings = &$modSettings; 23: $this -> user_info = &$user_info; 24: $this -> context = &$context; 25: $this -> txt = &$txt; 26: $this -> smcFunc = &$smcFunc; 27: $this -> settings = &$settings; 28: 29: $this -> version = "1.1.1"; 30: 31: $permissions["tea_view_own"] = 1; 32: $permissions["tea_view_any"] = 0;
Original issue reported on code.google.com by cadal.ga...@gmail.com on 14 Sep 2010 at 1:06
cadal.ga...@gmail.com
Original comment by tema...@googlemail.com on 14 Sep 2010 at 12:51
tema...@googlemail.com
Original issue reported on code.google.com by
cadal.ga...@gmail.com
on 14 Sep 2010 at 1:06