PageRenderTime 1218ms queryFilters 0ms Sphinxql 1065ms GetByIds 115ms meta 0ms repositoryFilters 8ms languageFilters 4ms sourceFilters 1ms

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

Source

Language

Repository

testwebservice.php https://github.com/blackboard-open-source/moodle.git | PHP | 1,573 lines
1<?php
2
117
118            //Does not work till XML => PHP is implemented (MDL-22965)
119            if ($this->testrest) {
122
123                require_once($CFG->dirroot . "/webservice/rest/lib.php");
124                $restclient = new webservice_rest_client($CFG->wwwroot
124                $restclient = new webservice_rest_client($CFG->wwwroot
125                                . '/webservice/rest/server.php', $this->testtoken);
126
264
265            //Display the content of $coursecontents in your php log and check if you obtain
266            //what you are expecting
1533        $message2['text'] = 'this is a message with an image
1534            http://moodle.org/pluginfile.php/51/mod_forum/post/713724/moodle2-logo.png';
1535        $message2['touserid'] = 2;  //replace by a existing user id
LogTest.php https://github.com/BugBuster1701/MySQLDumper.git | PHP | 64 lines
27        $logPath = $logger->getFile(Msd_Log::ERROR);
28        $this->assertEquals(WORK_PATH . '/log/phpError.log', $logPath);
29    }
35        $loggerTypes = array(
36                        Msd_Log::PHP => WORK_PATH . '/log/php.log',
37                        Msd_Log::PERL => WORK_PATH . '/log/perl.log',
52        $loggerTypes = array(
53                        Msd_Log::PHP => WORK_PATH . '/log/php.log',
54                        Msd_Log::PERL => WORK_PATH . '/log/perl.log',
55                        Msd_Log::PERL_COMPLETE => WORK_PATH . '/log/perlComplete.log',
56                        Msd_Log::ERROR => WORK_PATH . '/log/phpError.log',
57                  );
58        foreach ($loggerTypes as $logType => $logPath) {
59            $this->assertInstanceof('Zend_Log', $logger->getLogInstance($logType));
60            $this->assertEquals($logger->getFile($logType), $logPath);
sysGeneric.php.tpl https://github.com/caracolazo/pm.git | Smarty Template | 388 lines
53
54 /*** enable ERROR_LOG_NOTICE_ERROR to log Notices messages in default apache log ***/
55  //  define ( 'ERROR_LOG_NOTICE_ERROR', true );
233    else {
234      require_once( PATH_METHODS . "login/sysLogin.php" ) ;
235      die();
296      $logFile = PATH_DATA . 'log' . PATH_SEP . 'workflow.log';
297      $logger = Log::singleton('file', $logFile, 'wf ' . SYS_SYS, null, PEAR_LOG_INFO);
298      Propel::setLogger($logger);
303      $logFile = PATH_DATA . 'log' . PATH_SEP . 'rbac.log';
304      $logger = Log::singleton('file', $logFile, 'rbac ' . SYS_SYS, null, PEAR_LOG_INFO);
305      Propel::setLogger($logger);
330    if ( SYS_TARGET == '' ) {
331      $phpFile = str_replace ( '.php', 'index.php', $phpFile );
332      $phpFile = include ( $phpFile );
functions.lib.php https://github.com/ChevalierBayard/dolibarr.git | PHP | 4,404 lines
164	if (is_object($db) && ! empty($db->connected)) { $depth=$db->transaction_opened; $disconnectdone=$db->close(); }
165	dol_syslog("--- End access to ".$_SERVER["PHP_SELF"].(($disconnectdone && $depth)?' (Warn: db disconnection forced, transaction depth was '.$depth.')':''), (($disconnectdone && $depth)?LOG_WARNING:LOG_DEBUG));
166}
479 *	SYSLOG_HANDLERS = ["mod_syslog_file"]  		file name is then defined by SYSLOG_FILE
480 *	SYSLOG_HANDLERS = ["mod_syslog_syslog"]  	facility is then defined by SYSLOG_FACILITY
481 *  Warning, syslog functions are bugged on Windows, generating memory protection faults. To solve
490 *                                  		0=Show nothing
491 *											On Windows LOG_ERR=4, LOG_WARNING=5, LOG_NOTICE=LOG_INFO=6, LOG_DEBUG=6 si define_syslog_variables ou PHP 5.3+, 7 si dolibarr
492 *											On Linux   LOG_ERR=3, LOG_WARNING=4, LOG_INFO=6, LOG_DEBUG=7
506		// Test log level
507		$logLevels = array(	LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO, LOG_DEBUG);
508		if (!in_array($level, $logLevels))
2265	//else print 'Sorry, an error occured but the parameter $dolibarr_main_prod is defined in conf file so no message is reported to your browser. Please read the log file for error message.';
2266	dol_syslog("Error ".$syslog, LOG_ERR);
2267}
English.php http://addondb.googlecode.com/svn/trunk/ | PHP | 380 lines
53$locale['pla_140'] = "Full Name";
54$locale['pla_141'] = "Only registered members may apply for a license.<br /><br /><a href='".BASEDIR."register.php'>Register</a> or <a href='".BASEDIR."login.php'>Log in</a>";
55$locale['pla_142'] = "Email";
76
77<b>PHP-Fusion CRL</b> (Copyright Removal License). This is a new version of the old CRL, since the old one was never written down properly. The new version is No 1.0 of PHP-Fusion CRL and is in effect as of the release of PHP-Fusion v7.01.02.<br />\n<br />\n
78
88
89Upon application, PHP-Fusion will ensure that your work follows PHP-Fusion coding standards, that it works with the core properly and that it does not contain faulty, unsafe or malicious code. It will be a guarantee of quality for those downloading your work. It is our intention to raise the general level of standards of addons with this license, to improve quality, inventiveness and uniqueness. Our intention is that this will inspire skilled developers out there to try to outdo each other and create some really fabulous addons.<br />\n<br />\n
90
98
994: Provided your work will be accepted as an Official Approved Addon, we will give you a license, Enduser PHP-Fusion Addon License, (EPAL v1.0), which you accept to use with your own customers. We will also supply you with logotypes that states that your products are Officially Approved Addons and that you are an Approved Developer of Addons, ADA.<br />\n<br />\n
100
112$locale['pla_503'] = " where you can apply for official PHP-Fusion Addon Developer Status.";
113$locale['pla_504'] = "You must be a member to apply. <a href='".BASEDIR."register.php'>Register</a> or <a href='".BASEDIR."login.php'>Log in</a>";
114
TestOfGridController.php git://github.com/ginatrapani/ThinkUp.git | PHP | 303 lines
1<?php
2/**
3 *
4 * ThinkUp/tests/TestOfGridController.php
5 *
29 */
30require_once dirname(__FILE__).'/init.tests.php';
31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php';
31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php';
32require_once THINKUP_WEBAPP_PATH.'config.inc.php';
33
51
52    public function testNotLoggedIn() {
53        $controller = new GridController(true);
57        $this->assertEqual('You must <a href="'.$config->getValue('site_root_path').
58        'session/login.php">log in</a> to do this.', $v_mgr->getTemplateDataItem('error_msg'));
59    }
list_view.php http://ditag.googlecode.com/svn/trunk/ | PHP | 426 lines
6
7include_once("db_login.php");
8$cnx_status = connect_to_db();
16if (!$_SESSION['auth']) {
17	echo "Please <a href=\"login_form.php\">log in</a> to the MoDD website.";
18	echo "</body></html>";
171		echo("<th width='25%' class='table_header' scope='col'>" .
172		"<form action=\" " . $_SERVER[PHP_SELF] . "\" method=\"POST\">\n" .
173		"Comments <input type=\"submit\" name=$button_name value=$button_val>\n" .
225		 	 
226				 echo "<a href=\"scripts/get_file.php?sample_id=$id&file_type=mp3&file_id=$audio_file_id\">".		
227				 "$file_parts[0].mp3</a><br />";
346	echo ("<td ALIGN=right><a href=\"change_password.php\">change password</a></td>");
347	echo ("<td ALIGN=right><a href=\"goodbye.php\">log out</a></td></tr>");
348	echo ('<tr><td WIDTH="2%"><h2 class="nice_box"> Welcome, ' . $name . '!</h2></td></tr>');
list_view_2.php http://ditag.googlecode.com/svn/trunk/ | PHP | 426 lines
6
7include_once("db_login.php");
8$cnx_status = connect_to_db();
16if (!$_SESSION['auth']) {
17	echo "Please <a href=\"login_form.php\">log in</a> to the MoDD website.";
18	echo "</body></html>";
171		echo("<th width='25%' class='table_header' scope='col'>" .
172		"<form action=\" " . $_SERVER[PHP_SELF] . "\" method=\"POST\">\n" .
173		"Comments <input type=\"submit\" name=$button_name value=$button_val>\n" .
225		 	 
226				 echo "<a href=\"scripts/get_file.php?sample_id=$id&file_type=mp3&file_id=$audio_file_id\">".		
227				 "$file_parts[0].mp3</a><br />";
346	echo ("<td ALIGN=right><a href=\"change_password.php\">change password</a></td>");
347	echo ("<td ALIGN=right><a href=\"goodbye.php\">log out</a></td></tr>");
348	echo ('<tr><td WIDTH="2%"><h2 class="nice_box"> Welcome, ' . $name . '!</h2></td></tr>');
SQLiteDialect.class.php git://github.com/xp-framework/xp-framework.git | PHP | 243 lines
50        'datediff_3'   => 'datediff_not_implemented',
51        'datename_2'   => 'php("strval", php("idate", %t, php("strtotime", %s)))',
52        'datepart_2'   => 'php("idate", %t, php("strtotime", %s))',
52        'datepart_2'   => 'php("idate", %t, php("strtotime", %s))',
53        'day_1'        => 'php("idate", "d", php("strtotime", %s))',
54        'degrees_1'    => 'php("rad2deg", %d)',
62        'locate_3'     => 'locate(%s, %s, %d)',
63        'log10_1'      => 'php("log10", %d)',
64        'log_1'        => 'php("log", %d)',
68        'minute_1'     => 'php("idate", "i", php("strtotime", %s))',
69        'month_1'      => 'php("idate", "m", php("strtotime", %s))',
70        'nullif_2'     => 'nullif(%s, %s)',
78        'rtrim_2'      => 'php("rtrim", %s, %s)',
79        'second_1'     => 'php("idate", "s", php("strtotime", %s))',
80        'sign_1'       => 'sign(%d)',
sfException.class.php https://bitbucket.org/morskoi/zakvaska.git | PHP | 450 lines
1<?php
2
20 * @author     Sean Kerr <sean@code-box.org>
21 * @version    SVN: $Id: sfException.class.php 33539 2012-09-19 05:36:02Z fabien $
22 */
90    {
91      // log all exceptions in php log
92      error_log($exception->getMessage());
137
138      if (sfConfig::get('sf_logging_enabled'))
139      {
139      {
140        $dispatcher->notify(new sfEvent($exception, 'application.log', array($exception->getMessage(), 'priority' => sfLogger::ERR)));
141      }
198    // when using CLI, we force the format to be TXT. Compare exactly to 
199    // the string 'cli' because the php 5.4 server is identified by 'cli-server'
200    if ('cli' == PHP_SAPI)
account.php https://bitbucket.org/rkrebbers/homework-final.git | PHP | 51 lines
1<?php
2session_start(); // NEVER forget this!
2session_start(); // NEVER forget this!
3include ('database_connection.php');
4include ('functions.php');
6{
7    die("To access this page, you need to <a href='index.php'>LOGIN</a>"); // Make sure they are logged in!
8} // What the !isset() code does, is check to see if the variable $_SESSION['loggedin'] is there, and if it isn't it kills the script telling the user to log in!
21<hr>
22<?php 
23echo "Hello there, <b>{$_SESSION['name']}!</b>";
42<p>To do the online quiz, please click the following link below</p>
43<a href='quiz.php'>Quiz</a>
44<hr>
45<p>If you wish to log out, please click on the link below</p>
46<a href='logout.php'>Log Out</a>
47
class.flyspray.php https://bitbucket.org/djl/flyspray-mirror | PHP | 1,165 lines
1<?php
2/**
48    /**
49     * List of severities. Loaded in i18n.inc.php
50     * @access public
104            switch ($last) {
105                // The 'G' modifier is available since PHP 5.1.0
106                case 'g':
131    {
132        $cfile = $basedir . '/flyspray.conf.php';
133        if (is_readable($hostconfig = sprintf('%s/%s.conf.php', $basedir, $_SERVER['SERVER_NAME']))) {
252            $uri = isset($_SERVER['REQUEST_URI']) ?
253                $_SERVER['REQUEST_URI'] : $_SERVER['PHP_SELF'];
254            if ($url && $url{0} == '?' && false !== ($q = strpos($uri, '?'))) {
513    {
514        return str_replace('.php', '', array_map('basename', glob_compat(BASEDIR ."/lang/[a-zA-Z]*.php")));
515
menu.php https://bitbucket.org/rlm3/rlm3 | PHP | 71 lines
7		<?php if (!isset($_SESSION['cPeople_ID'])) { ?>
8		<a href="/p078_dealerd1/index.php">Login</a><br>
9		<?php } ?>
13		<a href="/p078_dealerd1/M012_Tasks/Tasks_Others_Status.php">Tasks Others</a><br>
14		<?php if ($rolemgr->check("DL")) echo "<a href=\"/p078_dealerd1/p077_DealLog1/index.php\">Deal Log</a><br>"; ?>
15		<?php if ($rolemgr->check("BOSS/JS")) echo "<a href=\"/p078_dealerd1/p077_DealLog2/index.php\">Deal Log 2</a><br>"; ?>
20		<?php if (isset($_SESSION['cPeople_ID'])) { ?>
21		<a href="/p078_dealerd1/logout.php">Log Off</a><br>
22		<?php } ?>
32				
33				<span style="font-size:9px"><input type="checkbox" style="width:4px;height:4px;" name="<?php echo str_replace(" ",'QQQQ',$the_role); ?>" <?php if ($set) echo ' CHECKED'; ?>> <?php echo $the_role; ?></span><br>
34				
52				?>
53				<option value="<?php echo $id; ?>"<?php if ($id==$_SESSION['cPeople_ID']) echo ' selected'; ?>><?php echo $person; ?></option>
54				<?php
bootstrap.php https://github.com/lukealford/anchor-cms.git | PHP | 101 lines
1<?php defined('IN_CMS') or die('No direct access allowed.');
2
7	// echo and exit with some usful information
8	echo 'Anchor requires PHP 5.3 or newer, your current environment is running PHP ' . PHP_VERSION;
9	exit(1);
13require PATH . 'system/classes/helpers.php';
14require PATH . 'system/classes/autoload.php';
15
17Autoloader::map(array(
18	'Config' => PATH . 'system/classes/config.php',
19	'Error' => PATH . 'system/classes/error.php',
24	'Response' => PATH . 'system/classes/response.php',
25	'Log' => PATH . 'system/classes/log.php',
26	'Db' => PATH . 'system/classes/db.php',
51	note: magic quotes is deprecated in PHP 5.3
52	src: php.net/manual/en/security.magicquotes.disabling.php
53*/
es_MX.php https://bitbucket.org/meerdevelopersoffice/bolivia.git | PHP | 127 lines
25    'Cannot save system configuration file \'config.php\'.' => 'No se puede guardar el archivo \'config.php\'.',
26    'Cannot open \'config_db.php\' configuration file.' => 'No se puede abrir el archivo \'config_db.php\'.',
27    'Cannot write to the \'config_db.php\' configuration file.' => 'No se puede escribir en el archivo \'config_db.php\'',
27    'Cannot write to the \'config_db.php\' configuration file.' => 'No se puede escribir en el archivo \'config_db.php\'',
28    'Configuration file \'config_db.php\' is not writable. Change its permissions so it is, then re-run installation step.' => 'El archivo \'config_db.php\' no tiene permisos de escritura. Corrige los permisos y reinicia este paso de la instalaciĆ³n.',
29    'Host name cannot be empty.' => 'El nombre del host es requerido.',
58    'Company Name:' => 'Nombre de la empresa:',
59    'Admin Login:' => 'Login del Admin:',
60    'Admin Password:' => 'Password del Admin:',
91    'Disabled' => 'Deshabilitado',
92    'To switch error logging set $error_logging in config.php file' => 'Para cambiar a modo error logging pon $error_logging en el archivo config.php',
93    'Log file is not writeable' => 'El archivo de log\'s no tiene permisos de escritura',
112    'Non-standard theme directory \'%s\' is not writable' => 'El directorio del tema \'% S\' no tiene permisos de escritura',
113    'OpenSSL PHP extension have to be enabled to use extension repository system.' => 'La extension PHP OpenSSL tienen que estar habilitada para utilizar el sistema de repositorios.',
114    'OpenSSL have to be available on your server to use extension repository system.' => 'OpenSSL tienen que estar disponible en tu servidor para utilizar el sistema de repositorios.',
constants.settings.php https://github.com/chrisbst35/LI_LEMONDE.git | PHP | 335 lines
91
92define("URL_SMARTIES", "http://images.logicimmo.com/getimage2.php?v5=1&");
93define("URL_SMARTIES_AD_THUMB", URL_SMARTIES . "path=thumb&wm=137&hm=105&type=prop&id=");
98define("URL_VIDEOS_AD", constant("URL_SITE_" . strtoupper($_global["site"])) . "mmf/mmf_player.php?file=");
99define("URL_FLUX_MOBIVILLAGE", "http://videos.logic-immo.prod.mobivillage.com/generateStream.php?iddp=");
100
147//define('CURRENT_EXCLUSIVE_IMG',URL_MMF_SITE.'static/logos/orpi_hd'); // orpi.jpg
148define('CURRENT_EXCLUSIVE_IMG', 'http://www.logic-immo.com/images/logos/orpi_hd'); // orpi.jpg
149
181// log des contacts agence
182define("PATH_LOG_CONTACT_AGENCY", "/data/apache/DATA/fr/log/");
183define("ENABLE_LOG_CONTACT_AGENCY", true);
242  Activer la bufferisation pour traiter les liens (W3C, RefNAT)
243  1 ==> Actif (Code correspondant dans: head.php & footer.php)
244  Walid ASBAITI 10/07/09
Sen.class.php https://github.com/jbrisbin/FrameworkBenchmarks.git | PHP | 292 lines
61        // Load project configuration file
62        if(is_file(CONF_PATH.'config.php'))
63            C(include CONF_PATH.'config.php');
65        // Loading framework underlying language pack
66        L(include SEN_PATH.'Lang/'.strtolower(C('DEFAULT_LANG')).'.php');
67
91                SEN_PATH.'Common/functions.php', // Standard mode function library
92                CORE_PATH.'Core/Log.class.php',    // Log processing class
93                CORE_PATH.'Core/Dispatcher.class.php', // URL scheduling class
94                CORE_PATH.'Core/App.class.php',   // Application class
95                CORE_PATH.'Core/Action.class.php', // Controller class
96                CORE_PATH.'Core/View.class.php',  // View class
271            $errorStr = "$errstr ".$errfile." subsection $errline line.";
272            if(C('LOG_RECORD')) Log::write("[$errno] ".$errorStr,Log::ERR);
273            function_exists('halt')?halt($errorStr):exit('ERROR:'.$errorStr);
eventsByGenre.php https://github.com/gkipkorir/public_html.git | PHP | 233 lines
1<?php 
2	//start session
64
65	//if session user is set (from logging in), show link to create event and log out
66	if(isset($_SESSION['User'])){
68	    echo "<a href='./CreateEvent.php'>Create Event</a></br>";
69	    echo "<a href='./CreateOrganization.php'>Create Organization</a></br>";
70	    echo "<a href='./addMembers.php'>Add Members to Org</a></br>";
80		if($row['supervisor']==1) {
81		    echo "<a href='./approveEvents.php'>Approve Events</a></br>";
82		}
82		}
83	    echo "<a href='./logout.php'>Don't forget to logout</a><br>";
84	}
87	    $_SESSION['User'] = null;
88	    echo "<a href='./login.php'>Log In</a></br>";
89	    echo "<a href='./CreateUser.php'>Create User</a></br>";
20-php-standards-group-file-naming.html https://github.com/hiromi2424/translate.git | HTML | 158 lines
1<p>As version 2.0 of the CakePHP framework will adopt the <a href=
2"http://groups.google.com/group/php-standards/web/psr-0-final-proposal">
12              ApcEngine.php
13              FileEngine.php
14              MemcacheEngine.php
14              MemcacheEngine.php
15              XCacheEngine.php
16            Cache.php
18            Component/
19                AclComponent.php
20                AuthComponent.php
67            Engine/
68                FileLog.php
69            CakeLog.php
109                menu.php
110                phpunit.php
111                xdebug.php
cleaner.php https://bitbucket.org/kristovaher/wave-framework | PHP | 222 lines
13 * data), 'errors' (clears debugging errors), 'limiter' (clears request data of user agent IP's), 
14 * 'logs' (clears system logs), 'tokens' (clears API session tokens), 'tmp' (clears folder from 
15 * everything that might be stored here), 'data' (clears the folder intended for database 
144			$directory='..'.DIRECTORY_SEPARATOR.'filesystem'.DIRECTORY_SEPARATOR.'limiter'.DIRECTORY_SEPARATOR;
145			$log=array_merge($log,dirCleaner($directory,$cutoff));
146		}
185		if(!empty($log)){
186			// Log is returned in plain text format, every log entry in a separate line
187			echo '<p>';
194		echo '<h2>Modes</h2>';
195		echo '<p><a href="cleaner.php?maintenance&cutoff='.$cutoff.'">Maintenance</a> - Removes all cache, logs, cookie sessions and temporary files</p>';
196		echo '<p><a href="cleaner.php?cache&cutoff='.$cutoff.'">Cache</a> - Removes all cache files</p>';
204		echo '<p><a href="cleaner.php?errors&cutoff='.$cutoff.'">Errors</a> - Debugging errors</p>';
205		echo '<p><a href="cleaner.php?logs&cutoff='.$cutoff.'">Logs</a> - Request logs</p>';
206		echo '<p><a href="cleaner.php?tmp&cutoff='.$cutoff.'">Temporary Files</a> - Temporary files only</p>';
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21