PageRenderTime 3033ms queryFilters 163ms Sphinxql 1620ms GetByIds 1377ms meta 0ms repositoryFilters 4ms languageFilters 1ms sourceFilters 1ms

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

Source

Language

Repository

default-configuration.php https://bitbucket.org/hgj/tickethammer.git | PHP | 138 lines
20 * Every aspect of the Sodium framework is configured in this file. Also,
21 * PHP configuration should be done here too, prior to the former.
22 *
22 *
23 * NOTE: Not renaming 'default-configuration.php' to 'configuration.php'
24 * is not considered to be a mistake. Although, please keep in mind,
34// Custom PHP log
35ini_set('error_log', 'logs/php.log');
36
67// Timezone
68// NOTE: A PHP warning is generated prior to PHP 5.4.0, if PHP has to guess
69// the timezone by itself.
78	// You can put cron related configuration here
79	ini_set('error_log', 'logs/cron.log');
80	return;
product_start.php https://github.com/gypsyfarm/gypsyfarm.git | PHP | 197 lines
1<?php
2require("../functions.php");
5
6require("../check_login.php");
7
19
20 #require("../Bill/left_menu.php"); 
21 echo '<table border="0" width="100%" cellspacing="0" cellpadding="0">';
27        
28        echo "<a href=\"javascript:poptastic('Help.php?x=47A$menu_user_type');\"><font face='Verdana' size='1' color='#FFFFFF'>help</font</a>";
29        
43           echo '<hr>';
44	   echo '<font face="Verdana" size="1">*<a href="../logout.php">Log out</a></font><br>';
45	   
176    else {
177      // they have not tried to log in yet or have logged out
178      echo '<font size=4 color=black>You are not logged in, please enter a valid userid and password.</font>';
product_results.php https://github.com/gypsyfarm/gypsyfarm.git | PHP | 228 lines
1<?php
2
7
8require("../check_login.php");
9
22<?
23#require("../Bill/left_menu.php");    
24
31        
32        echo "<a href=\"javascript:poptastic('Help.php?x=47A$menu_user_type');\"><font face='Verdana' size='1' color='#FFFFFF'>help</font</a>";
33        
49           echo '<hr>';
50	   echo '<font face="Verdana" size="1">*<a href="../logout.php">Log out</a></font><br>';
51	   
207    else {
208      // they have not tried to log in yet or have logged out
209      echo '<font size=4 color=black>You are not logged in, please enter a valid userid and password.</font>';
product_maint.php https://github.com/gypsyfarm/gypsyfarm.git | PHP | 279 lines
1<?php
2require("../functions.php");
9require("../check_login.php");
10require("../phpclasses.php");
11 
82<?
83#require("../left_menu.php"); 
84
94        
95        echo "<a href=\"javascript:poptastic('Help.php?x=47A$menu_user_type');\"><font face='Verdana' size='1' color='#FFFFFF'>help</font</a>";
96        
117           echo '<hr>';
118	   echo '<font face="Verdana" size="1">*<a href="../logout.php">Log out</a></font><br>';
119	   
255    else {
256      // they have not tried to log in yet or have logged out
257      echo '<font size=4 color=black>You are not logged in, please enter a valid userid and password.</font>';
LogTest.php https://github.com/philippfrenzel/Elastica.git | PHP | 65 lines
8    {
9        $logPath = '/tmp/php.log';
10        $client = new Elastica_Client(array('log' => $logPath));
28        $client = new Elastica_Client();
29        $log = new Elastica_Log($client);
30
37    {
38        $client = new Elastica_Client(array('log' => '/tmp/php.log'));
39        $log = new Elastica_Log($client);
53        $errorLog = ini_get('error_log');
54        ini_set('error_log', sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'php.log');
55
57
58        $log->log($message);
59
frontpage.php https://github.com/CasperGemini/e107.git | PHP | 685 lines
33$e_sub_cat = 'frontpage';
34require_once ('auth.php');
35
40// Get list of possible options for front page
41$front_page['news'] = array('page' => 'news.php', 'title' => ADLAN_0);
42//$front_page['download'] = array('page' => 'download.php', 'title' => ADLAN_24);		// Its a plugin now
179				$fp_update_prefs = TRUE;
180				frontpage_adminlog('01', 'Dec '.$mv);
181			}
656/**
657 *	Log event to admin log
658 *
665{
666	e107::getAdminLog()->log_event('FRONTPG_'.$msg_num, $woffle, E_LOG_INFORMATIVE, '');
667}
post-thumbnail-editor.php https://github.com/pica-design/nextstepmaine.git | PHP | 440 lines
44// * Add a tour for new users
45require_once( PTE_PLUGINPATH . 'php/log.php' );
46
105function pte_update_user_options(){
106	require_once( PTE_PLUGINPATH . 'php/options.php' );
107	$options = pte_get_user_options();
148/**
149 * Used in functions.php, log.php & options.php to get pseudo-TMP file paths
150 */
263	// Move all adjuntant functions to a separate file and include that here
264	require_once(PTE_PLUGINPATH . 'php/functions.php');
265	PteLogger::debug( "PARAMETERS: " . print_r( $_REQUEST, true ) );
372function pte_launch_options_page(){
373	require_once( PTE_PLUGINPATH . 'php/options.php' );
374	pte_options_page();
functions.php https://github.com/pica-design/nextstepmaine.git | PHP | 698 lines
5
6require_once(PTE_PLUGINPATH . 'php/log.php');
7
35	{
36		$logs['error'] = $logger->get_logs( PteLogMessage::$ERROR | PteLogMessage::$WARN );
37	}
38	//if ( $logger->get_log_count( PteLogMessage::$WARN ) > 0 ){
39	//   $logs['warn'] = $logger->get_logs( PteLogMessage::$WARN );
40	//}
41	if ( $options['pte_debug'] ){
42		$logs['log'] = $logger->get_logs();
43	}
58
59	if ( count( $logs['error'] )+count( $logs['log'] ) > 0 ){
60		$mixed = array_merge_recursive( $mixed, $logs );
PKPApplication.inc.php https://github.com/michaeljoyce/pkp-lib.git | PHP | 419 lines
27		// FIXME: Error logging needs to be suppressed for strict
28		// and deprecation errors in PHP5 as long as we support PHP 4.
29		// This is primarily for static method warnings and warnings
30		// about use of ... =& new ... Static class members cannot be
31		// declared in PHP4 and ... =& new ... is deprecated since PHP 5.
32		$errorReportingLevel = E_ALL;
301	 * Auxiliary function to errorHandler that returns a formatted error message.
302	 * Error type formatting code adapted from ash, http://ca3.php.net/manual/en/function.set-error-handler.php
303	 * @param $errorno string
352			// Back-trace pretty-printer adapted from the following URL:
353			// http://ca3.php.net/manual/en/function.debug-backtrace.php
354			// Thanks to diz at ysagoon dot com
408		$message[] = "   OS: " . Core::serverPHPOS();
409		$message[] = "   PHP Version: " . Core::serverPHPVersion();
410		$message[] = "   Apache Version: " . (function_exists('apache_get_version') ? apache_get_version() : 'N/A');
rep.php https://github.com/RootLoudDev/fluency_tool.git | PHP | 570 lines
72		scenarioDone[1] = "<?php echo $scenario[1] ?>"
73		scenarioDone[2] = "<?php echo $scenario[2] ?>"
74		scenarioDone[3] = "<?php echo $scenario[3] ?>"
231			fileName = "Scenario6.spx";
232			document.getElementById('notes').value = "<?php echo $fbText[6]; ?>";
233			document.JavaSonicRecorderUploader.addNameValuePair("scenario", fileName);
349<div id="container">
350<div class="blue" name="navmenu" id="navmenu" style="width: 100px; float: right;"><a href="logout.php"> Log Out </a>
351</div>
556{	
557	document.getElementById("navmenu").innerHTML = '<?=$currentUser->username?> <a href="logout.php">Log Out </a><br/><br/><a href="manager.php"> Peer Review </a>';
558} else {
558} else {
559document.getElementById("navmenu").innerHTML = '<?=$currentUser->username?> <a href="logout.php"> Log Out </a>';
560} 
init.php https://github.com/MrBertie/taskpaperplus.git | PHP | 167 lines
1<?php
2namespace tpp;
22//------------------------------
23// Error reporting and logging.
24//------------------------------
24//------------------------------
25require_once('inc/debugmode.php');
26
28// takes care of autoloading class files
29require_once(APP_PATH . 'inc/autoload.php');
30
37$config = array();
38require_once(APP_PATH . 'conf/config.php');
39
40
41log&&msg('Initialising basic app data');
42
ExceptionLoggingSubscriber.php git://github.com/drupal/drupal.git | PHP | 103 lines
4
5use Drupal\Core\Logger\LoggerChannelFactoryInterface;
6use Drupal\Core\Utility\Error;
26   *
27   * @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger
28   *   The logger channel factory.
30  public function __construct(LoggerChannelFactoryInterface $logger) {
31    $this->logger = $logger;
32  }
64    $error = Error::decodeException($exception);
65    $this->logger->get('php')->log($error['severity_level'], '%type: @message in %function (line %line of %file).', $error);
66
68    if ($is_critical) {
69      error_log(sprintf('Uncaught PHP Exception %s: "%s" at %s line %s', get_class($exception), $exception->getMessage(), $exception->getFile(), $exception->getLine()));
70    }
tester.php https://bitbucket.org/kristovaher/wave-framework | PHP | 478 lines
1<?php
2
23
24// Log is printed out in plain text format
25header('Content-Type: text/html;charset=utf-8');
48	// These arrays store the test results
49	$testErrorLog=array();
50	$testsRun=array();
59	// Loading State
60	require(__ROOT__.'engine'.DIRECTORY_SEPARATOR.'class.www-state.php');
61	$state=new WWW_State($config);
68		// Including the required class and creating the object
69		require(__ROOT__.'engine'.DIRECTORY_SEPARATOR.'class.www-database.php');
70		$databaseConnection=new WWW_Database($config['test-database-type'],$config['test-database-host'],$config['test-database-name'],$config['test-database-username'],$config['test-database-password'],false,false);
422				echo '<h3>Logged errors</h3>';
423				foreach($testErrorLog as $address=>$log){
424					echo '<p class="bold red small" style="text-align:left;">';
in_progress.php https://bitbucket.org/mlaco/keypow | PHP | 80 lines
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<?php include("validate_session.php")?>
4<?php
46            <p>
47            <a href="/main.php">Enter Log</a>
48            </p>
49            <p>
50            <a href="/view_log.php">View Logs</a>
51            </p>
52            <p>
53            <a href="/logout.php">Log out</a>
54            </p>
70                        <p>
71                            <input type="button" class="myBtn" value="Stop and Log" id="log" onclick="inprog_log()"/>
72                        </p>
view_log.php https://bitbucket.org/mlaco/keypow | PHP | 82 lines
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<?php include("validate_session.php")?>
4<html xmlns="http://www.w3.org/1999/xhtml">
38            <p>
39            <a href="/main.php">Enter Log</a>
40            </p>
41            <p>
42            <a href="/view_log.php">View Logs</a>
43            </p>
44            <p>
45            <a href="/logout.php">Log out</a>
46            </p>
67                        <p>
68                            <input class="myBtn" type="button" id="enter" value="Get logs" onclick="fetch_logs()"></input>
69                        </p>
compatibility.php https://bitbucket.org/hanigamal/my-wave-framework | PHP | 442 lines
70				} else {
71					$log[]='<span class="bold red"><span class="bold red">FAILURE</span></span>: PHP is running older version than 5.3, Wave Framework has not been tested on older versions of PHP';
72				}
73			} else {
74				$log[]='<span class="bold orange">WARNING</span>: Unable to detect PHP version number, Wave Framework requires PHP version 5.3 or above';
75			}
80			} else {
81				$log[]='<span class="bold orange">WARNING</span>: PHP setting short_open_tag is turned off, default View controller requires this to work properly, if this is not possible then edit /controllers/controller.view.php';
82			}
131			} else {
132				$log[]='<span class="bold orange">WARNING</span>: Zlib PHP extension is not supported, this is needed if output compression is used, but system turns it off automatically if extension is not present';
133			}
350			} else {
351				$log[]='<span class="bold orange">WARNING</span>: /filesystem/logs/ is not writable, this warning can be ignored if performance logging is not used by Index Gateway';
352			}
wplogger.php https://gitlab.com/hunglion1368/wordpress-boilerplate.git | PHP | 308 lines
7 Wordpress Logger
8 http://www.turingtarpit.com/2009/05/wordpress-logger-a-plugin-to-display-php-log-messages-in-safari-and-firefox/
9 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	 */
wplogger.php https://gitlab.com/javicodigonexo/deficitdao.git | PHP | 308 lines
7 Wordpress Logger
8 http://www.turingtarpit.com/2009/05/wordpress-logger-a-plugin-to-display-php-log-messages-in-safari-and-firefox/
9 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	 */
history_api.php https://github.com/giallu/mantisbt.git | PHP | 770 lines
1<?php
2# MantisBT - A PHP based bugtracking system
25 *
26 * @uses access_api.php
27 * @uses authentication_api.php
27 * @uses authentication_api.php
28 * @uses bug_api.php
29 * @uses bug_revision_api.php
29 * @uses bug_revision_api.php
30 * @uses bugnote_api.php
31 * @uses columns_api.php
31 * @uses columns_api.php
32 * @uses config_api.php
33 * @uses constant_inc.php
33 * @uses constant_inc.php
34 * @uses custom_field_api.php
35 * @uses database_api.php
log.html git://github.com/kvz/phpjs.git | HTML | 42 lines
16layout: function
17title: PHP's log in JavaScript
18description: >-
19  Here’s what our current JavaScript equivalent to <a
20  href="https://php.net/manual/en/function.log.php">PHP's log</a> looks like.
21function: log
27  - /functions/math/log/
28  - /php/log/
29  - /functions/log/
31{% codeblock lang:javascript %}module.exports = function log (arg, base) {
32  //  discuss at: https://locutus.io/php/log/
33  // original by: Onno Marsman (https://twitter.com/onnomarsman)
39    ? Math.log(arg)
40    : Math.log(arg) / Math.log(base)
41}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21