PageRenderTime 1095ms queryFilters 0ms Sphinxql 995ms GetByIds 76ms meta 0ms repositoryFilters 3ms languageFilters 0ms sourceFilters 1ms

525,184 results for 'php log repo:anton_orlov/link-finder' (1095 ms)

Source

Language

Repository

file.php https://bitbucket.org/dgough/annamaria-daneswood-25102012.git | PHP | 360 lines
43     */
44    var $_filename = 'php.log';
45
290     * Logs $message to the output window.  The message is also passed along
291     * to any Log_observer instances that are observing this Log.
292     *
294     * @param string $priority The priority of the message.  Valid
295     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
296     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
296     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
297     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
298     * @return boolean  True on success or false on failure.
345
346        /* Write the log line to the log file. */
347        $success = (fwrite($this->_fp, $line) !== false);
amuleweb-main-log.php https://bitbucket.org/gzf/umule.git | PHP | 271 lines
114
115<?php
116	// apply new options before proceeding
204          <td><a href="amuleweb-main-search.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','images/search_1.png',1)"><img src="images/search_0.png" alt="search" name="search" width="52" height="50" border="0"></a></td>
205          <td><a href="amuleweb-main-servers.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('edkserver','','images/edkserv_1.png',1)"><img src="images/edkserv_0.png" alt="edkserver" name="edkserver" width="52" height="50" border="0"></a></td>
206          <td><a href="amuleweb-main-kad.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sheserv','','images/sheserv_1.png',1)"><img src="images/sheserv_0.png" alt="sheserv" name="sheserv" width="52" height="50" border="0"></a></td>
210          <td width="190" align="right" class="texteinv"><a href="login.php">exit</a><br> 
211            <a href="amuleweb-main-log.php">log &bull;</a> <a href="amuleweb-main-prefs.php">configuration</a></td>
212          <td width="10"></td>
234		<h1 style="display:inline;">aMule log</h1>
235		<a href="log.php?rstlog=1" target="logframe" onclick="return confirm('Do you really want to reset aMule log?')">(Reset log)</a><br>
236	<iframe width="100%" height="400" name="logframe" src="log.php"></iframe>
241		<a href="log.php?rstsrv=1" target="srvframe" onclick="return confirm('Do you really want to reset Serverinfo?')">(Reset Serverinfo)</a>
242<iframe width="100%" height="200" name="srvframe" src="log.php?show=srv"></iframe>
243                  </td>
webmail_logger_config.php https://github.com/cormander/ravencore.git | PHP | 414 lines
2
3   global $sl_logs, $sl_log_events, $data_dir, $sl_logfile, $sl_namelookups,
4          $sl_dateformat, $sl_send_alerts, $sl_mass_mail_limit,
73   // of these elements.  When you do, the default PHP log facility
74   // (LOG_SYSLOG) will be used with LOG_INFO priority.  Some examples:
75   //
80   //    SYSTEM:LOG_INFO:LOG_MAIL:squirrelmail
81   //    SYSTEM:LOG_WARNING:LOG_MAIL:squirrelmail:LOG_CONS | LOG_NDELAY | LOG_PID
82   //
85   // different log facility.  For more details about the possible
86   // priority types (LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR,
87   // LOG_WARNING, LOG_NOTICE, LOG_INFO, LOG_DEBUG), see:
88   //
89   //    http://php.net/manual/function.syslog.php
90   //
sfException.class.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 287 lines
1<?php
2
20 * @author     Sean Kerr <sean@code-box.org>
21 * @version    SVN: $Id: sfException.class.php 11837 2008-09-29 08:12:42Z fabien $
22 */
61    {
62      // log all exceptions in php log
63      error_log($exception->getMessage());
101
102      if (sfConfig::get('sf_logging_enabled'))
103      {
103      {
104        $dispatcher->notify(new sfEvent($exception, 'application.log', array($exception->getMessage(), 'priority' => sfLogger::ERR)));
105      }
121      {
122        $files[] = sfConfig::get('sf_app_config_dir').'/error_500.php';
123      }
include_header.php http://thinktankforums.googlecode.com/svn/trunk/ | PHP | 127 lines
1<?php
2/* think tank forums
57            <div class="menu_body">
58                &middot; <a href="search.php">search</a><br />
59                &middot; <a href="editprofile.php">edit your profile</a><br />
59                &middot; <a href="editprofile.php">edit your profile</a><br />
60                &middot; <a href="logout.php">log out</a>
61
65
66    // print login box
67
70    echo <<<EOF
71                log in to {$ttf_cfg["forum_shortname"]}
72            </div>
73            <div class="menu_body">
74                <form action="{$force_https}login.php" method="post">
75                    <div>
import-greymatter.php http://core.svn.wordpress.org/ | PHP | 322 lines
1<?php
2if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. You must install WordPress before you import any entries.");
3
103
104		$loginthere = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_login = '$user_login'");
105		if ($loginthere) {
168				$user_joindate=addslashes($user_joindate);
169				$query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,user_registered,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')";
170				$result = $wpdb->query($query);
266<p>Completed GM 2 WordPress import !</p>
267<p>Now you can go and <a href="wp-login.php">log in</a>, have fun !</p>
268	<?php
281<ul>
282<li>parse gm-counter.cgi (what's the use of that file ?), gm-banlist.cgi, gm-cplog.cgi (you can make a CP log hack if you really feel like it, but I question the need of a CP log)</li>
283<li>import gm-templates. you'll start with the basic template wp.php</li>
daemon.php git://github.com/shamanis/daemon-php.git | PHP | 234 lines
1<?php
2/*
23    protected $_pid;
24    protected $_log;
25    protected $_err;
33        $this->_baseDir = dirname(__FILE__);
34        $this->_log = $this->_baseDir . '/daemon-php.log';
35        $this->_err = $this->_baseDir . '/daemon-php.err';
36        if ($path === null) {
37            $this->_pid = $this->_baseDir . '/daemon-php.pid';
38        } else {
43    /**
44    * Метод устанавливает путь log-файла
45    * @param string $path Абсолютный путь к log-файлу
108        chdir('/');
109        ini_set('error_log', $this->_baseDir . '/php_error.log');
110        
wplogger.php https://bitbucket.org/andydahl/5star.git | PHP | 309 lines
7 Plugin Name: Wordpress Logger
8 Plugin URI: http://www.turingtarpit.com/2009/05/wordpress-logger-a-plugin-to-display-php-log-messages-in-safari-and-firefox/
9 Description: Displays log messages in the browser console in Safari, Firefox and Opera. Useful for plugin and theme developers to debug PHP code.
40	 
41	 	message_type can be: WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
42	 	
43	 Example:
44	 	if ($wplogger) $wplogger->log( get_option('active_plugins') );
45	 	
47	 	[Information: from line xxx in file somefile.php] array (
48		  0 => 'wplogger/wplogger.php',
49		  1 => '12seconds-widget/12seconds-widget.php',
156	 * @param const $msgType[optional] type of message. Valid values are:
157	 * 					WPLOG_ERR. WPLOG_WARNING, WPLOG_INFO, WPLOG_DEBUG
158	 */
stock.php https://bitbucket.org/cpoppema/stockpiler.git | PHP | 423 lines
1<?php
2
89        set("body", $body);
90        return html("stock/history.php");
91    }
113        set("title", "Stock Delivery");
114        return html("stock/delivery.php");
115    }
151
152                    // Log adding delivery
153                    $entry = R::dispense('log');
188
189                    // Log adding delivery
190                    $entry = R::dispense('log');
217        set("title", "Stock Delivery");
218        return html("stock/delivery.php");
219    }
orders.php https://bitbucket.org/cpoppema/stockpiler.git | PHP | 402 lines
1<?php
2
116        set("body", $body);
117        return html("orders/history.php");
118    }
140        set("title", "New Order");
141        return html("orders/add.php");
142    }
175
176                // Log adding order
177                $entry = R::dispense('log');
203        set("title", "New Order");
204        return html("orders/add.php");
205    }
221            set("type", "order");
222            return html("error/notfound.php");
223        }
LogCenter.php https://bitbucket.org/innoteam/innomatic.git | PHP | 113 lines
57        if (isset($destinations['rootda'])) {
58            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/innomatic_root_db.log');
59            $tmp_log->logEvent($context, $eventString, $eventType);
65        if (isset($destinations['webservices'])) {
66            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/webservices.log');
67            $tmp_log->logEvent($context, $eventString, $eventType);
74            if (InnomaticContainer::instance('innomaticcontainer')->getState() != InnomaticContainer::STATE_SETUP) {
75                $php_log = InnomaticContainer::instance('innomaticcontainer')->getHome().'core/log/php.log';
76            } else {
78            }
79            $tmp_log = new Logger($php_log);
80            $tmp_log->logEvent($context, $eventString, $eventType);
102        if (isset($destinations['domainda'])) {
103            $tmp_log = new Logger(InnomaticContainer::instance('innomaticcontainer')->getHome().'core/domains/'.InnomaticContainer::instance('innomaticcontainer')->getCurrentDomain()->domaindata['domainid'].'/logs/dataaccess.log');
104            $tmp_log->logEvent($context, $eventString, $eventType);
logger.php https://bitbucket.org/baruffaldi/website-insaneminds.git | PHP | 103 lines
45                                 
46    if ( __LOG__ ) $loggerDbWriter     = new Zend_Log_Writer_Db( $db, "{$dbParams['logsdbname']}.{$dbParams['tableprefix']}{$dbParams['table_ad_ev_log']}_$serverId", $columnMapping);
47    else $loggerDbWriter     = new Zend_Log_Writer_Null( $db, "{$dbParams['logsdbname']}.{$dbParams['tableprefix']}{$dbParams['table_ad_ev_log']}_$serverId", $columnMapping);
50  //*******************
51    if ( __LOG__ ) $accessWriter = new Zend_Log_Writer_Stream( $accessLogFile );
52    else $accessWriter = new Zend_Log_Writer_Null( $accessLogFile );
52    else $accessWriter = new Zend_Log_Writer_Null( $accessLogFile );
53    if ( __LOG__ ) $errorsWriter = new Zend_Log_Writer_Stream( $errorsLogFile );
54    else $errorsWriter = new Zend_Log_Writer_Null( $errorsLogFile );
54    else $errorsWriter = new Zend_Log_Writer_Null( $errorsLogFile );
55    if ( __LOG__ ) $soapWriter   = new Zend_Log_Writer_Stream( $soapLogFile   );
56    else $soapWriter = new Zend_Log_Writer_Null( $soapLogFile );
76    // We want all loggers inside an array to easily set all event items
77    $loggers      = array( $accessLogger, $errorsLogger, $soapLogger );
78	  
file.php https://bitbucket.org/adarshj/convenient_website.git | PHP | 287 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.37 2004/01/19 08:02:40 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
240     * Logs $message to the output window.  The message is also passed along
241     * to any Log_observer instances that are observing this Log.
242     *
245     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
246     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
247     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
275
276        /* Write the log line to the log file. */
277        $success = (fwrite($this->_fp, $line) !== false);
file.php https://bitbucket.org/aradlein/shareplaylists | PHP | 317 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.46 2006/12/07 04:15:02 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
261     * Logs $message to the output window.  The message is also passed along
262     * to any Log_observer instances that are observing this Log.
263     *
266     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
267     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
268     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
301
302        /* Write the log line to the log file. */
303        $success = (fwrite($this->_fp, $line) !== false);
file.php https://github.com/MasahiroOzeki/web_crawler.git | PHP | 282 lines
2/**
3 * $Header: /repository/pear/Log/Log/file.php,v 1.36 2004/01/02 02:03:40 jon Exp $
4 *
9/**
10 * The Log_file class is a concrete implementation of the Log abstract
11 * class that logs messages to a text file.
245     *                  values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT,
246     *                  PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING,
247     *                  PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
251     */
252    function log($message, $priority = PEAR_LOG_INFO)
253    {
271
272        /* Write the log line to the log file. */
273        $success = (fwrite($this->_fp, $line) !== false);
sae.class.php https://github.com/ueffort/fn-php.git | PHP | 579 lines
78			case 'log':
79				//http://developer.baidu.com/wiki/index.php?title=docs/cplat/rt/php/log
80				if(!$this->isCloudSelf()) return false;
83				//打印一条警告日志,包括日志级别和日志内容
84				$logger ->logWrite(2, "this is for warning log print ");
85				//打印一条轨迹日志
85				//打印一条轨迹日志
86				$logger ->logTrace("this is for trace log print ");
87				//打印一条通知日志
87				//打印一条通知日志
88				$logger ->logNotice("this is for notice log print ");
89				//打印一条调试日志
91				//打印一条警告日志
92				$logger ->logWarning("this is for warning log print ");
93				//打印一条致命日志
bae.class.php https://github.com/ueffort/fn-php.git | PHP | 575 lines
73			case 'log':
74				//http://developer.baidu.com/wiki/index.php?title=docs/cplat/rt/php/log
75				if(!$this->isCloudSelf()) return false;
78				//打印一条警告日志,包括日志级别和日志内容
79				$logger ->logWrite(2, "this is for warning log print ");
80				//打印一条轨迹日志
80				//打印一条轨迹日志
81				$logger ->logTrace("this is for trace log print ");
82				//打印一条通知日志
82				//打印一条通知日志
83				$logger ->logNotice("this is for notice log print ");
84				//打印一条调试日志
86				//打印一条警告日志
87				$logger ->logWarning("this is for warning log print ");
88				//打印一条致命日志
index.php https://github.com/dreeman/modx106.git | PHP | 949 lines
83
84// check PHP version. MODX Evolution is compatible with php 4 (4.3.3+)
85$php_ver_comp =  version_compare(phpversion(), "4.3.3");
166
167// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
168include_once "accesscontrol.inc.php";
907        include_once "header.inc.php";
908        include_once "actions/eventlog_details.dynamic.php";
909        include_once "footer.inc.php";
912        // get the event log delete processor
913        include_once "processors/delete_eventlog.processor.php";
914    break;
941    include_once "log.class.inc.php";
942    $log = new logHandler;
943    $log->initAndWriteLog();
jupload.php https://github.com/molnarzoli82/viola.git | PHP | 768 lines
50 * 		Note: if you are using a callback function (i.e. callbackAfterUploadManagement) and you do not see a global 'object' you
51 * 					are expecting then it might have been destroyed by PHP - c.f. http://bugs.php.net/bug.php?id=39693
52 *
121		}
122		if (!isset($classparams['debug_php']))											// set true to log some messages in PHP log
123		$classparams['debug_php'] = false;
210	/**
211	 * Log a message to the PHP log.
212	 * Declared "protected" so it may be Extended if you require customised logging (e.g. particular log file location).
484	$this->logDebug('interceptAfterUpload', 'Entering function');
485	$this->logPHPDebug('interceptAfterUpload', $this->files);
486
510                    'An empty log has just been posted.');
511		$this->logPHPDebug('receive_debug_log', 'Empty error log received');
512	}
index.php https://github.com/64j/modx.evo.custom.git | PHP | 946 lines
178
179// accesscontrol.php checks to see if the user is logged in. If not, a log in form is shown
180include_once "accesscontrol.inc.php";
693        include_once "header.inc.php";
694        include_once "actions/logging.static.php";
695        include_once "footer.inc.php";
907        include_once "header.inc.php";
908        include_once "actions/eventlog_details.dynamic.php";
909        include_once "footer.inc.php";
912        // get the event log delete processor
913        include_once "processors/delete_eventlog.processor.php";
914    break;
938    include_once "log.class.inc.php";
939    $log = new logHandler;
940    $log->initAndWriteLog();
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21