PageRenderTime 366ms queryTime 43ms sortTime 9ms getByIdsTime 198ms findMatchingLines 55ms

100+ results results for 'php error_log repo:MasahiroOzeki/web_crawler' (366 ms)

Not the results you expected?
dbops_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 257 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
18 * @package    core_backup
                    
19 * @category   phpunit
                    
20 * @copyright  2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
                    
27global $CFG;
                    
28require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php');
                    
29require_once($CFG->dirroot . '/backup/util/includes/restore_includes.php');
                    
149
                    
150        $CFG->backup_error_log_logger_level = backup::LOG_NONE;
                    
151        $CFG->backup_output_indented_logger_level = backup::LOG_NONE;
                    
                
Callback.php https://github.com/neofutur/rss2twi.php.git | PHP | 320 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24require_once 'Zend/Feed/Pubsubhubbub.php';
                    
25
                    
28 */
                    
29require_once 'Zend/Feed/Pubsubhubbub/CallbackAbstract.php';
                    
30
                    
33 */
                    
34require_once 'Zend/Feed/Reader.php';
                    
35
                    
90    {
                    
91        error_log(__METHOD__.":".__LINE__);
                    
92
                    
144         */
                    
145         error_log(__METHOD__.":".__LINE__);
                    
146
                    
                
sso.class.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 234 lines
                    
1<?php
                    
2
                    
11 * overwrite its method, then modify the corresponding calling code in 
                    
12 * main/inc/local.inc.php
                    
13 * @package chamilo.auth.sso
                    
22    public $deauth_uri; //    '/?q=logout',
                    
23    public $referer; // http://my.chamilo.com/main/auth/profile.php
                    
24
                    
75     * Validates the received active connection data with the database
                    
76     * @return	bool	Return the loginFailed variable value to local.inc.php
                    
77     */
                    
83        
                    
84        //error_log('check_user');
                    
85        //error_log('sso decode cookie: '.print_r($sso,1));
                    
93        if (Database::num_rows($result) > 0) {
                    
94            //error_log('user exists');
                    
95            $uData = Database::fetch_array($result);
                    
                
permissions.inc.php git://github.com/modxcms/revolution.git | PHP | 192 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Tömma webbplatsens cache.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Radera felloggen.';
                    
60$_lang['perm.error_log_view_desc'] = 'Se felloggen.';
                    
                
config.php https://github.com/magwai/zkernel.git | PHP | 163 lines
                    
1<?php
                    
2		$basepath = isset($basepath) ? $basepath : '';
                    
2		$basepath = isset($basepath) ? $basepath : '';
                    
3        require_once($basepath . "FileManager/FileManagerPlugin.php");
                    
4
                    
11        $mcFileManagerConfig['general.disabled_tools'] = "";
                    
12        $mcFileManagerConfig['general.error_log'] = "";
                    
13        $mcFileManagerConfig['general.language'] = "ru"; // en, sv
                    
31
                    
32		$p = preg_replace('/\/zkernel\/ctl\/mce\/plugins\/filemanager\/.*index\.php/i', '', $_SERVER['SCRIPT_FILENAME']).'/upload/mce';
                    
33        // General file system options
                    
43        $mcFileManagerConfig['filesystem.invalid_file_name_msg'] = "";
                    
44        $mcFileManagerConfig['filesystem.extensions'] = "gif,jpg,htm,html,pdf,zip,txt,php,png,swf,dcr,mov,qt,ram,rm,avi,mpg,mpeg,asf,flv,xml,doc,docx,rtf,rar,xls";
                    
45        //$mcFileManagerConfig['filesystem.file_templates'] = '${rootpath}/templates/document.htm,${rootpath}/templates/another_document.htm';
                    
115		$mcImageManagerConfig['authenticator'] = "SessionAuthenticator";
                    
116		$mcImageManagerConfig['authenticator.login_page'] = "login_session_auth.php";
                    
117		$mcImageManagerConfig['authenticator.allow_override'] = "*";
                    
                
getProducts.php https://bitbucket.org/rkandpal/nustechgmgitfork.git | PHP | 344 lines
                    
1<?php
                    
2	require_once(dirname(__FILE__).'/../functions.php');
                    
2	require_once(dirname(__FILE__).'/../functions.php');
                    
3	require_once(dirname(__FILE__).'/../config.php');
                    
4	StartSession();
                    
79		}
                    
80		// error_log($query);
                    
81	}
                    
198				$output['highlighthtml'] .= ' 		<td class="forms"><div class="product-form">';
                    
199				$output['highlighthtml'] .= '				<form class="view-product" name="view-product" id="view-'.$id.'" method="get" action="product.php">';
                    
200				$output['highlighthtml'] .= '					<input type="submit" class="rounded-corners" name="view" id="view-'.$id.'" value="VIEW" />';
                    
259				$output['html'] .= ' 		<td class="forms"><div class="product-form">';
                    
260				$output['html'] .= '				<form class="view-product" name="view-product" id="view-'.$id.'" method="get" action="product.php">';
                    
261				$output['html'] .= '					<input type="submit" class="rounded-corners" name="view" id="view-'.$id.'" value="VIEW" />';
                    
                
lang_main_cback_ctracker.php https://github.com/TheSteffen/icy_phoenix_langs.git | PHP | 169 lines
                    
1<?php
                    
2/**
                    
83/*
                    
84 * Language Strings for the class_ct_database.php
                    
85 */
                    
85 */
                    
86	'ctracker_error_loading_config' => 'De CrackerTrackerconfiguratie kan niet worden geladen vanuit de database. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
87	'ctracker_error_updating_config' => 'De CrackerTrackerconfiguratie kan niet worden bijgewerkt. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
87	'ctracker_error_updating_config' => 'De CrackerTrackerconfiguratie kan niet worden bijgewerkt. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
88	'ctracker_error_loading_blocklist' => 'De CrackerTrackerbloklijst kan niet worden geladen vanuit de database. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
89	'ctracker_error_insert_blocklist' => 'De gegevens kunnen niet worden toegevoegd aan de CrackerTrackerbloklist. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
90	'ctracker_error_delete_blocklist' => 'De gegevens kunnen niet worden verwijderd uit de CrackerTrackerbloklist. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
91	'ctracker_error_login_history' => 'Er is een fout met de databaseoperatie in het CrackerTrackerlogingeschiedenis. Heb je het installatiescript uitgevoerd en het bestand "includes/constants.php" bewerkt?',
                    
92	'ctracker_error_del_login_history' => 'De CrackerTrackerinloggschiedenistabel kan niet worden geleegd.',
                    
113	'ctracker_login_wrong' => 'De ingegeven bevestigingscode is niet goed!',
                    
114	'ctracker_code_dbconn' => 'Het is niet mogelijk om een bevestigingscode te laden vanuit de database! Als je een phpBB Plus installatie hebt moet je ook de interne phpBB-modules installeren voor de bevestigingscode. Lees de referenties van phpBB Plus in de "add_ons" map van de CrackerTracker Modpakket!',
                    
115	'ctracker_login_success' => 'Je gebruikersaccount is opnieuw geactiveerd.<br /><br />Klik <a href="%s">hier</a> om terug te gaan om opnieuw in te loggen.',
                    
                
permissions.inc.php https://github.com/Obert/revolution.git | PHP | 137 lines
                    
1<?php
                    
2$_lang['perm.about_desc'] = 'Страница «О пректе».';
                    
50$_lang['perm.empty_cache_desc'] = 'Очищать кэш сайта.';
                    
51$_lang['perm.error_log_erase_desc'] = 'Очищать журнал ошибок.';
                    
52$_lang['perm.error_log_view_desc'] = 'Видеть журнал ошибок.';
                    
                
permissions.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Den Site-Cache leeren.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Das Fehlerprotokoll löschen.';
                    
60$_lang['perm.error_log_view_desc'] = 'Das Fehlerprotokoll anzeigen.';
                    
                
permissions.inc.php https://github.com/thomasd/revolution.git | PHP | 188 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Per svuotare la cache del sito.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Per cancellare il log degli errori.';
                    
60$_lang['perm.error_log_view_desc'] = 'Per vedere il log degli errori.';
                    
                
permissions.inc.php https://github.com/thomasd/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
63$_lang['perm.empty_cache_desc'] = 'Den Site-Cache leeren.';
                    
64$_lang['perm.error_log_erase_desc'] = 'Das Fehlerprotokoll löschen.';  // leeren?
                    
65$_lang['perm.error_log_view_desc'] = 'Das Fehlerprotokoll anzeigen.';
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 142 lines
                    
1<?php
                    
2/**
                    
57$_lang['perm.empty_cache_desc'] = 'Tühjanedada lehe puhver.';
                    
58$_lang['perm.error_log_erase_desc'] = 'Kustutata error logi.';
                    
59$_lang['perm.error_log_view_desc'] = 'Vaadata error logi.';
                    
                
menu.tpl https://gitlab.com/reclamare/mao | Smarty Template | 202 lines
                    
6      <li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li>
                    
7      <li><a href="<?php echo $recurring; ?>"><?php echo $text_recurring; ?></a></li>
                    
8      <li><a href="<?php echo $filter; ?>"><?php echo $text_filter; ?></a></li>
                    
71              <li><a href="<?php echo $openbay_link_etsy; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
                    
72              <li><a href="<?php echo $openbay_link_etsy_settings; ?>"><?php echo $text_openbay_settings; ?></a></li>
                    
73              <li><a href="<?php echo $openbay_link_etsy_links; ?>"><?php echo $text_openbay_links; ?></a></li>
                    
90      <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
                    
91      <li><a href="<?php echo $order_recurring; ?>"><?php echo $text_order_recurring; ?></a></li>
                    
92      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
                    
144          </li>
                    
145          <li><a href="<?php echo $country; ?>"><?php echo $text_country; ?></a></li>
                    
146          <li><a href="<?php echo $zone; ?>"><?php echo $text_zone; ?></a></li>
                    
161          <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
                    
162          <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
                    
163        </ul>
                    
                
Compatibility.php https://github.com/bradt/wp-migrate-db.git | PHP | 347 lines
                    
1<?php
                    
2
                    
48			if ( ob_get_length() ) {
                    
49				error_log( ob_get_clean() );
                    
50			}
                    
                
backup_includes.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 100 lines
                    
1<?php
                    
2
                    
30// Include all the backup needed stuff
                    
31require_once($CFG->dirroot . '/backup/util/interfaces/checksumable.class.php');
                    
32require_once($CFG->dirroot . '/backup/util/interfaces/executable.class.php');
                    
32require_once($CFG->dirroot . '/backup/util/interfaces/executable.class.php');
                    
33require_once($CFG->dirroot . '/backup/util/interfaces/processable.class.php');
                    
34require_once($CFG->dirroot . '/backup/util/interfaces/annotable.class.php');
                    
34require_once($CFG->dirroot . '/backup/util/interfaces/annotable.class.php');
                    
35require_once($CFG->dirroot . '/backup/util/interfaces/loggable.class.php');
                    
36require_once($CFG->dirroot . '/backup/backup.class.php');
                    
36require_once($CFG->dirroot . '/backup/backup.class.php');
                    
37require_once($CFG->dirroot . '/backup/util/output/output_controller.class.php');
                    
38require_once($CFG->dirroot . '/backup/util/factories/backup_factory.class.php');
                    
69require_once($CFG->dirroot . '/backup/util/loggers/base_logger.class.php');
                    
70require_once($CFG->dirroot . '/backup/util/loggers/error_log_logger.class.php');
                    
71require_once($CFG->dirroot . '/backup/util/loggers/file_logger.class.php');
                    
                
BenchmarkCommand.php https://gitlab.com/andecode/theme-spark | PHP | 312 lines
                    
1<?php
                    
2
                    
106      if ($response->getStatusCode() != 200) {
                    
107        throw new \Exception($this->trans('commands.webprofiler.benchmark.messages.error_login'));
                    
108      }
                    
                
AssetModel.php https://gitlab.com/randydanniswara/website | PHP | 434 lines
                    
1<?php
                    
2/**
                    
198            } else {
                    
199                error_log($e);
                    
200            }
                    
375    /**
                    
376     * Determine the max upload size based on PHP restrictions and config
                    
377     *
                    
385        $maxAssetSize  = $this->factory->getParameter('max_size');
                    
386        $maxAssetSize  = ($maxAssetSize == -1 || $maxAssetSize === 0) ? PHP_INT_MAX : Asset::convertSizeToBytes($maxAssetSize.'M');
                    
387        $maxPostSize   = Asset::getIniValue('post_max_size');
                    
                
default.php https://gitlab.com/campus-academy/krowkaramel | PHP | 220 lines
                    
106                                    <li class="eael-product-quick-view">
                    
107                                        <a id="eael_quick_view_<?php echo uniqid(); ?>" data-quickview-setting="<?php echo htmlspecialchars(json_encode($quick_view_setting),ENT_QUOTES); ?>"
                    
108                                           class="eael-product-gallery-open-popup open-popup-link">
                    
121                                    <li class="add-to-cart"><?php woocommerce_template_loop_add_to_cart(); ?></li>
                    
122		                        <?php } ?>
                    
123
                    
125                                    <li class="eael-product-quick-view">
                    
126                                        <a id="eael_quick_view_<?php echo uniqid(); ?>" data-quickview-setting="<?php echo htmlspecialchars(json_encode($quick_view_setting),ENT_QUOTES); ?>"
                    
127                                           class="eael-product-gallery-open-popup open-popup-link">
                    
187                                <li class="eael-product-quick-view">
                    
188                                    <a id="eael_quick_view_<?php echo uniqid(); ?>" data-quickview-setting="<?php echo htmlspecialchars(json_encode($quick_view_setting),ENT_QUOTES); ?>"
                    
189                                       class="eael-product-gallery-open-popup open-popup-link">
                    
193                            <?php } ?>
                    
194	                        <?php if( $should_print_link ){?>
                    
195                                <li class="view-details"><?php echo '<a href="' . $product->get_permalink
                    
                
checks_test.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 136 lines
                    
1<?php
                    
2
                    
19 * @package    core_backup
                    
20 * @category   phpunit
                    
21 * @copyright  2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
                    
28global $CFG;
                    
29require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php');
                    
30
                    
56
                    
57        $CFG->backup_error_log_logger_level = backup::LOG_NONE;
                    
58        $CFG->backup_output_indented_logger_level = backup::LOG_NONE;
                    
                
permissions.inc.php https://github.com/thomasd/revolution.git | PHP | 189 lines
                    
1<?php
                    
2/**
                    
59$_lang['perm.empty_cache_desc'] = 'サイトのキャッシュを空に';
                    
60$_lang['perm.error_log_erase_desc'] = 'エラーログを削除';
                    
61$_lang['perm.error_log_view_desc'] = 'エラーログを表示';
                    
                
Mandrill.php https://gitlab.com/urbanjunglestudio/movidly_admin | PHP | 161 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'Mandrill/Templates.php';
                    
4require_once 'Mandrill/Exports.php';
                    
4require_once 'Mandrill/Exports.php';
                    
5require_once 'Mandrill/Users.php';
                    
6require_once 'Mandrill/Rejects.php';
                    
6require_once 'Mandrill/Rejects.php';
                    
7require_once 'Mandrill/Inbound.php';
                    
8require_once 'Mandrill/Tags.php';
                    
8require_once 'Mandrill/Tags.php';
                    
9require_once 'Mandrill/Messages.php';
                    
10require_once 'Mandrill/Whitelists.php';
                    
10require_once 'Mandrill/Whitelists.php';
                    
11require_once 'Mandrill/Ips.php';
                    
12require_once 'Mandrill/Internal.php';
                    
                
permissions.inc.php https://github.com/opengeek/revolution.git | PHP | 193 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'To empty the site cache.';
                    
59$_lang['perm.error_log_erase_desc'] = 'To erase the error log.';
                    
60$_lang['perm.error_log_view_desc'] = 'To view the error log.';
                    
                
sfException.class.php https://github.com/mrwabu/urlcatcher.git | PHP | 438 lines
                    
1<?php
                    
2
                    
20 * @author     Sean Kerr <sean@code-box.org>
                    
21 * @version    SVN: $Id: sfException.class.php 23186 2009-10-19 14:43:29Z fabien $
                    
22 */
                    
82    {
                    
83      // log all exceptions in php log
                    
84      error_log($exception->getMessage());
                    
188    // when using CLI, we force the format to be TXT
                    
189    if (0 == strncasecmp(PHP_SAPI, 'cli', 3))
                    
190    {
                    
253
                    
254    $template = sprintf('%s.%s.php', $debug ? 'exception' : 'error', $format);
                    
255    foreach ($templatePaths as $path)
                    
                
PhpGenerator.html https://gitlab.com/Renatafsouza/EP3OO | HTML | 350 lines
                    
58                <a href="../../files/erubis/engine/ephp_rb.html">
                    
59                erubis/engine/ephp.rb
                    
60                </a>
                    
133<pre>
                    
134<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 46</span>
                    
135    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_debug</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
                    
137      <span class="ruby-identifier">s</span> = <span class="ruby-identifier">code</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\'/</span>, <span class="ruby-value str">&quot;\\'&quot;</span>)
                    
138      <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;?php error_log('*** debug: #{s}='.(#{code}), 0); ?&gt;&quot;</span>
                    
139    <span class="ruby-keyword kw">end</span>
                    
181<pre>
                    
182<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 37</span>
                    
183    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_literal</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
                    
184      <span class="ruby-identifier">code</span>.<span class="ruby-identifier">strip!</span>
                    
185      <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;?php echo #{code}; ?&gt;&quot;</span>
                    
186    <span class="ruby-keyword kw">end</span>
                    
                
Configuration.php https://gitlab.com/cividesk-civicrm/com.cividesk.payment.braintree | PHP | 551 lines
                    
1<?php
                    
2namespace Braintree;
                    
159     * Sets or gets the proxy type to use for connecting to Braintree. This value
                    
160     * can be any of the CURLOPT_PROXYTYPE options in PHP cURL.
                    
161     *
                    
546    {
                    
547        error_log('[Braintree] ' . $message);
                    
548    }
                    
                
Tasks.php https://github.com/TheRosettaFoundation/SOLAS-Match.git | PHP | 360 lines
                    
1<?php
                    
2
                    
11
                    
12require_once __DIR__."/../DataAccessObjects/TaskDao.class.php";
                    
13require_once __DIR__."/../../Common/protobufs/models/TaskMetadata.php";
                    
13require_once __DIR__."/../../Common/protobufs/models/TaskMetadata.php";
                    
14require_once __DIR__."/../../Common/protobufs/emails/UserFeedback.php";
                    
15require_once __DIR__."/../../Common/protobufs/emails/OrgFeedback.php";
                    
15require_once __DIR__."/../../Common/protobufs/emails/OrgFeedback.php";
                    
16require_once __DIR__."/../lib/IO.class.php";
                    
17require_once __DIR__."/../lib/Upload.class.php";
                    
17require_once __DIR__."/../lib/Upload.class.php";
                    
18require_once __DIR__."/../../Common/lib/SolasMatchException.php";
                    
19
                    
190        if ($task_claimant_user === "$task_id,$claimant_id,$user_id") Lib\Notify::sendOrgFeedback($feedbackData);
                    
191        else error_log("Security mismatch: $task_claimant_user !== $task_id,$claimant_id,$user_id");
                    
192
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
60$_lang['perm.empty_cache_desc'] = 'Het leegmaken van de site cache.';
                    
61$_lang['perm.error_log_erase_desc'] = 'Het wissen van de error log.';
                    
62$_lang['perm.error_log_view_desc'] = 'Het bekijken van de error log.';
                    
                
restore_includes.php https://github.com/mackensen/moodle.git | PHP | 101 lines
                    
1<?php
                    
2
                    
30// Include all the backup needed stuff
                    
31require_once($CFG->dirroot . '/backup/util/interfaces/checksumable.class.php');
                    
32require_once($CFG->dirroot . '/backup/util/interfaces/loggable.class.php');
                    
32require_once($CFG->dirroot . '/backup/util/interfaces/loggable.class.php');
                    
33require_once($CFG->dirroot . '/backup/util/interfaces/executable.class.php');
                    
34require_once($CFG->dirroot . '/backup/util/interfaces/processable.class.php');
                    
34require_once($CFG->dirroot . '/backup/util/interfaces/processable.class.php');
                    
35require_once($CFG->dirroot . '/backup/backup.class.php');
                    
36require_once($CFG->dirroot . '/backup/util/structure/restore_path_element.class.php');
                    
36require_once($CFG->dirroot . '/backup/util/structure/restore_path_element.class.php');
                    
37require_once($CFG->dirroot . '/backup/util/helper/async_helper.class.php');
                    
38require_once($CFG->dirroot . '/backup/util/helper/backup_anonymizer_helper.class.php');
                    
59require_once($CFG->dirroot . '/backup/util/loggers/base_logger.class.php');
                    
60require_once($CFG->dirroot . '/backup/util/loggers/error_log_logger.class.php');
                    
61require_once($CFG->dirroot . '/backup/util/loggers/file_logger.class.php');
                    
                
class.jetpack-xmlrpc-server.php https://gitlab.com/relacilia/cakra | PHP | 429 lines
                    
1<?php
                    
2
                    
198		/* debugging
                    
199		error_log( "CLIENT: $client_id" );
                    
200		error_log( "USER:   $user_id" );
                    
200		error_log( "USER:   $user_id" );
                    
201		error_log( "NONCE:  $nonce" );
                    
202		error_log( "VERIFY: $verify" );
                    
362		/* debugging
                    
363		error_log( "-- begin json api via jetpack debugging -- " );
                    
364		error_log( "METHOD: $method" );
                    
364		error_log( "METHOD: $method" );
                    
365		error_log( "URL: $url" );
                    
366		error_log( "POST BODY: $post_body" );
                    
366		error_log( "POST BODY: $post_body" );
                    
367		error_log( "VERIFY_ARGS: " . print_r( $verify_api_user_args, 1 ) );
                    
368		error_log( "VERIFIED USER_ID: " . (int) $user_id );
                    
                
PhpGenerator.html https://github.com/manuginobili/merb.git | HTML | 350 lines
                    
58                <a href="../../files/erubis/engine/ephp_rb.html">
                    
59                erubis/engine/ephp.rb
                    
60                </a>
                    
133<pre>
                    
134<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 47</span>
                    
135    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_debug</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
                    
137      <span class="ruby-identifier">s</span> = <span class="ruby-identifier">code</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/\'/</span>, <span class="ruby-value str">&quot;\\'&quot;</span>)
                    
138      <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;?php error_log('*** debug: #{s}='.(#{code}), 0); ?&gt;&quot;</span>
                    
139    <span class="ruby-keyword kw">end</span>
                    
181<pre>
                    
182<span class="ruby-comment cmt"># File erubis/engine/ephp.rb, line 38</span>
                    
183    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_expr_literal</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">code</span>)
                    
184      <span class="ruby-identifier">code</span>.<span class="ruby-identifier">strip!</span>
                    
185      <span class="ruby-identifier">src</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;?php echo #{code}; ?&gt;&quot;</span>
                    
186    <span class="ruby-keyword kw">end</span>
                    
                
timber-image.php https://gitlab.com/aristath/maera | PHP | 319 lines
                    
1<?php
                    
2
                    
203			if (is_array($iid) || is_object($iid)) {
                    
204				TimberHelper::error_log('Not able to init in TimberImage with iid=');
                    
205				TimberHelper::error_log($iid);
                    
206			} else {
                    
207				TimberHelper::error_log('Not able to init in TimberImage with iid=' . $iid);
                    
208			}
                    
                
permissions.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Untuk mengosongkan cache situs.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Untuk menghapus log kesalahan.';
                    
60$_lang['perm.error_log_view_desc'] = 'Untuk melihat log kesalahan.';
                    
                
login.php https://gitlab.com/shapcy/opencart | PHP | 145 lines
                    
1<?php
                    
2class ControllerAffiliateLogin extends Controller {
                    
26
                    
27			// Added strpos check to pass McAfee PCI compliance test (http://forum.opencart.com/viewtopic.php?f=10&t=12043&p=151494#p151295)
                    
28			if (isset($this->request->post['redirect']) && (strpos($this->request->post['redirect'], $this->config->get('config_url')) !== false || strpos($this->request->post['redirect'], $this->config->get('config_ssl')) !== false)) {
                    
134			if (!$this->affiliate->login($this->request->post['email'], $this->request->post['password'])) {
                    
135				$this->error['warning'] = $this->language->get('error_login');
                    
136			
                    
                
Troubleshooting_Aptana_Studio_Issues.html https://github.com/hotrhino/ide_core.git | HTML | 164 lines
                    
6	  <!--<script type="text/javascript" src="http://www.aptana.com/docs/help.js"></script>-->
                    
7	  <!--<script type="text/javascript" src="http://www.aptana.com/docs/index.php?title=Troubleshooting_Aptana_Studio_Issues&action=raw&gen=js">-->
                    
8	  <link rel="stylesheet" href="http://www.aptana.com/docs/" type="text/css">      
                    
21   <body>
                    
22      <div class="classBlock">		    <a href="http://www.aptana.com/" target="_blank"><img src="../../content/aptana.gif" border="0" hspace="21" vspace="7"></img></a><h1>Troubleshooting Aptana Studio Issues [<a href="http://www.aptana.com/docs/index.php?title=Troubleshooting_Aptana_Studio_Issues&action=edit">edit</a>]</h1>
                    
23         <div class="content">
                    
29<ul>
                    
30<li class="toclevel-1"><a href="#Accessing_the_Error_Log"><span class="tocnumber">1</span> <span class="toctext">Accessing the Error Log</span></a>
                    
31<ul>
                    
45</td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
                    
46<a name="Accessing_the_Error_Log"></a><h2> <span class="mw-headline">Accessing the Error Log </span></h2>
                    
47<p>The Aptana .log file records most application exceptions that occur while you are using the Aptana application. The .log file can be helpful to the Aptana development team in troubleshooting bugs that you may encounter during normal usage. You can access your log either through the Help menu in Aptana or manually through the file system on your computer.
                    
148<div class="printfooter">
                    
149Retrieved from "<a href="http://aptana.com/docs/index.php/Troubleshooting_Aptana_Studio_Issues">http://aptana.com/docs/index.php/Troubleshooting_Aptana_Studio_Issues</a>"</div>
                    
150										<script>
                    
                
SMTPMailer.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 381 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * @file classes/mail/SMTPMailer.inc.php
                    
5 *
                    
16
                    
17// $Id: SMTPMailer.inc.php,v 1.5 2009/05/13 00:13:20 asmecher Exp $
                    
18
                    
183		if (!empty($error)) {
                    
184			error_log('OJS SMTPMailer: ' . $error);
                    
185			return false;
                    
                
DbSession.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 231 lines
                    
1<?php
                    
2/**
                    
69     *
                    
70     * Note that according to the php.ini setting of `session.hash_function`, you may need to adjust
                    
71     * the length of the `id` column. For example, if `session.hash_function=sha256`, you should use
                    
99     * Updates the current session ID with a newly generated one .
                    
100     * Please refer to <http://php.net/session_regenerate_id> for more details.
                    
101     * @param boolean $deleteOldSession Whether to delete the old associated session file or not.
                    
168        // exception must be caught in session write handler
                    
169        // http://us.php.net/manual/en/function.session-set-save-handler.php
                    
170        try {
                    
192            // its too late to use Yii logging here
                    
193            error_log($exception);
                    
194            echo $exception;
                    
                
user.php https://github.com/digitalstrategyworks/Reese-WordPress.git | PHP | 326 lines
                    
171
                    
172        error_log('posts ' . $posts_to_consider);
                    
173        
                    
265    		<?php foreach ($user_type_taxonomy as $user_type_term) : ?>
                    
266			  <option value="<?php echo $user_type_term->term_id; ?>"<?php if ($user_type_term->term_id == $user_type) { echo ' selected="selected"'; } ?>><?php echo $user_type_term->name; ?></option>
                    
267			<?php endforeach; ?>
                    
269		    <p class="setting-description">Indicate whether the user is a
                    
270			<?php foreach ($user_type_taxonomy as $key => $user_type_term) : ?>
                    
271			  <?php 
                    
276              ?>
                    
277		    <?php endforeach; ?>
                    
278		    </p>
                    
279		</td>
                    
280<?php
                    
281      }
                    
                
CdaValidateDocuments.php https://github.com/openemr/openemr.git | PHP | 344 lines
                    
1<?php
                    
2
                    
121                if (pclose($pipeHandle) === -1) {
                    
122                    error_log("Failed to close pipehandle for schematron service");
                    
123                }
                    
129                    } else {
                    
130                        error_log("Node is not installed on the system.  Connection failed");
                    
131                        throw new Exception('Connection Failed.');
                    
139            if ($serverActive === false) {
                    
140                error_log("Failed to start and connect to local schematron service server on port 6662");
                    
141                throw new Exception("Connection Failed");
                    
260                $xsd_log['xsd'][] = $detail;
                    
261                error_log($detail);
                    
262            }
                    
280            $e = $e->getMessage();
                    
281            error_log($e);
                    
282            $result = [];
                    
                
web_payment_software.php https://gitlab.com/reclamare/mao | PHP | 168 lines
                    
1<?php
                    
2class ControllerPaymentWebPaymentSoftware extends Controller {
                    
52		if (isset($this->error['login'])) {
                    
53			$data['error_login'] = $this->error['login'];
                    
54		} else {
                    
54		} else {
                    
55			$data['error_login'] = '';
                    
56		}
                    
158		if (!$this->request->post['web_payment_software_merchant_name']) {
                    
159			$this->error['login'] = $this->language->get('error_login');
                    
160		}
                    
                
fsockopen.php https://gitlab.com/campus-academy/krowkaramel | PHP | 451 lines
                    
1<?php
                    
2/**
                    
32	 *
                    
33	 * @var array Associative array of properties, see {@see https://secure.php.net/stream_get_meta_data}
                    
34	 */
                    
83			// SNI, if enabled (OpenSSL >=0.9.8j)
                    
84			// phpcs:ignore PHPCompatibility.Constants.NewConstants.openssl_tlsext_server_nameFound
                    
85			if (defined('OPENSSL_TLSEXT_SERVER_NAME') && OPENSSL_TLSEXT_SERVER_NAME) {
                    
120
                    
121		// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_set_error_handler
                    
122		set_error_handler(array($this, 'connect_error_handler'), E_WARNING | E_NOTICE);
                    
353	 * @param array $url_parts
                    
354	 * @param array|object $data Data to build query using, see {@see https://secure.php.net/http_build_query}
                    
355	 * @return string URL with data
                    
399	 *
                    
400	 * Unfortunately, PHP doesn't check the certificate against the alternative
                    
401	 * names, leading things like 'https://www.github.com/' to be invalid.
                    
                
basicapiresponsehandlerdemo.php https://github.com/michaelmcandrew/th.git | PHP | 168 lines
                    
1<?php
                    
2
                    
31  chdir("..");
                    
32  require_once('library/googleresponse.php');
                    
33  require_once('library/googlemerchantcalculations.php');
                    
33  require_once('library/googlemerchantcalculations.php');
                    
34  require_once('library/googlerequest.php');
                    
35  require_once('library/googlenotificationhistory.php');
                    
36  
                    
37  define('RESPONSE_HANDLER_ERROR_LOG_FILE', 'googleerror.log');
                    
38  define('RESPONSE_HANDLER_LOG_FILE', 'googlemessage.log');
                    
53  $xml_response = isset($HTTP_RAW_POST_DATA)?
                    
54                    $HTTP_RAW_POST_DATA:file_get_contents("php://input");
                    
55  
                    
                
addPersonResult.php https://github.com/shanti/olio.git | PHP | 153 lines
                    
1<?php
                    
2/*
                    
19        
                    
20require_once("../etc/config.php");
                    
21$connection = DBConnection::getWriteInstance();
                    
136    if (!$fs->create($user_image_location, "NO_OP", "NO_OP")) {
                    
137        error_log("Error copying image " . $user_image_location);
                    
138    }
                    
139    if (!$fs->create($thumb_location, "NO_OP", "NO_OP")) {
                    
140        error_log("Error copying thumb " . $thumb_location);
                    
141    }
                    
151
                    
152header("Location:users.php?username=".$username);
                    
153?>
                    
                
cache.php https://bitbucket.org/rusbal/club4causes.git | PHP | 202 lines
                    
1<?php
                    
2/*------------------------------------------------------------------------------
                    
99			array(
                    
100				'id' => 'error_log',
                    
101				'text' => $this->language->get('text_error_log'),
                    
101				'text' => $this->language->get('text_error_log'),
                    
102				'description' => $this->language->get('desc_error_log'),
                    
103				'keywords' => 'error_log'
                    
147				} else {
                    
148					if($cache=='error_log'){
                    
149						@unlink(DIR_LOGS.$this->config->get('config_error_filename'));
                    
                
caldav-PUT-vcard.php https://gitlab.com/tiggerben/davical | PHP | 171 lines
                    
1<?php
                    
2/**
                    
10*/
                    
11dbg_error_log("PUT", "method handler");
                    
12
                    
12
                    
13require_once('DAVResource.php');
                    
14
                    
24
                    
25require_once('vcard.php');
                    
26$vcard = new vCard( $request->raw_post );
                    
152else if ( isset($log_action) && $log_action  ) {
                    
153  dbg_error_log( 'PUT', 'No log_caldav_action( %s, %s, %s, %s, %s) can be called.',
                    
154      $put_action_type, $uid, $user_no, $collection_id, $request->path );
                    
                
configure.rb https://github.com/easybiblabs/easybib-cookbooks.git | Ruby | 189 lines
                    
53# this may or may not work
                    
54php_version = node['php']['ppa']['package_prefix'].gsub('php', '')
                    
55
                    
60alternatives << 'php-fpm'
                    
61alternatives << "/usr/sbin/php-fpm#{php_version}"
                    
62alternatives << '0'
                    
67  not_if do
                    
68    node['php']['ppa']['package_prefix'] == 'php5-easybib'
                    
69  end
                    
78php_alternatives << 'php'
                    
79php_alternatives << "/usr/bin/php#{php_version}"
                    
80
                    
84  not_if do
                    
85    node['php']['ppa']['package_prefix'] == 'php5-easybib'
                    
86  end
                    
                
PU_test_dcp_importfamily.php https://github.com/CircleCode/dynacase-core.git | PHP | 353 lines
                    
1<?php
                    
2/*
                    
9
                    
10require_once 'PU_testcase_dcp_document.php';
                    
11
                    
62    {
                    
63        //print "log:".ini_get("error_log").".\n";
                    
64        $this->importDocument($installFamilyFile);
                    
213                    "ATTR1100",
                    
214                    "tstNoHelp.php",
                    
215                    "ATTR1101",
                    
                
woocommerce-gutenberg-products-block.php https://gitlab.com/campus-academy/krowkaramel | PHP | 247 lines
                    
1<?php
                    
2/**
                    
57			<div class="notice notice-error">
                    
58				<p><?php esc_html_e( 'The WooCommerce Blocks feature plugin requires a more recent version of WordPress and has been paused. Please update WordPress to continue enjoying WooCommerce Blocks.', 'woocommerce' ); ?></p>
                    
59			</div>
                    
79	}
                    
80	// phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents -- including local file
                    
81	$composer_config = json_decode( file_get_contents( $composer_file ), true );
                    
93			printf(
                    
94				/* translators: %1$s is referring to a php constant name, %2$s is referring to the wp-config.php file. */
                    
95				esc_html__( 'WooCommerce Blocks development mode requires the %1$s constant to be defined and true in your %2$s file. Otherwise you are loading the blocks package from WooCommerce core.', 'woocommerce' ),
                    
118	if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
                    
119		error_log(  // phpcs:ignore
                    
120			sprintf(
                    
136				<p>
                    
137					<?php
                    
138					printf(
                    
                
TestOfConsumerUserStream.php https://github.com/curiousmitch/ThinkUp.git | PHP | 200 lines
                    
30require_once THINKUP_ROOT_PATH.'webapp/config.inc.php';
                    
31require_once THINKUP_ROOT_PATH.'webapp/_lib/extlib/simpletest/autorun.php';
                    
32
                    
32
                    
33require_once THINKUP_ROOT_PATH.'tests/classes/class.ThinkUpUnitTestCase.php';
                    
34require_once THINKUP_ROOT_PATH.'webapp/plugins/twitterrealtime/tests/classes/mock.Redis.php';
                    
35require_once THINKUP_ROOT_PATH.'webapp/plugins/twitterrealtime/model/class.ConsumerUserStream.php';
                    
36require_once THINKUP_ROOT_PATH.'webapp/plugins/twitterrealtime/model/class.StreamMessageQueue.php';
                    
37require_once THINKUP_ROOT_PATH.'webapp/plugins/twitterrealtime/model/class.StreamMessageQueueMySQL.php';
                    
65        if (! ($version[0] >= 5 && $version[1] >= 3)) {
                    
66            //error_log("PHP version less than 5.3, Skipping Redis Tests...");
                    
67            return;
                    
104        if (! ($version[0] >= 5 && $version[1] >= 3)) {
                    
105            //error_log("PHP version less than 5.3, Skipping Redis Tests...");
                    
106            return;
                    
                
autoptimizeBase.php https://gitlab.com/hop23typhu/list-theme | PHP | 317 lines
                    
1<?php
                    
2if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
                    
38			}
                    
39		} else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) {
                    
40			$url = AUTOPTIMIZE_WP_SITE_URL.$url;
                    
43		// first check; hostname wp site should be hostname of url
                    
44		$thisHost=@parse_url($url,PHP_URL_HOST);
                    
45		if ($thisHost!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) {
                    
59			if (!empty($this->cdn_url)) {
                    
60				$multidomains[]=parse_url($this->cdn_url,PHP_URL_HOST);
                    
61			}
                    
66				if (in_array($thisHost,$multidomains)) {
                    
67					$url=str_replace($thisHost, parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST), $url);
                    
68				} else {
                    
98        // do the actual parse_url
                    
99		$out = parse_url($in,PHP_URL_HOST);
                    
100        
                    
                
terracoin.php https://bitbucket.org/fuzzybearbtc/terracoin-wp-e-commerce.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
46
                    
47register_deactivation_hook(__FILE__ . DIRECTORY_SEPARATOR . "../wp-shopping-cart.php", "terracoin_disable_cron");
                    
48
                    
73function terracoin_debug($message) {
                    
74  error_log($message);
                    
75}
                    
99  if (TRUE !== ($fault = $terracoin_client->can_connect())) {
                    
100    error_log('The Terracoin server is presently unavailable. Fault: ' . $fault);
                    
101    return;
                    
113    } catch (TerracoinClientException $e) {
                    
114      error_log("Terracoin server communication failed on getreceivedbyaddress " . $address . " with fault string " . $e->getMessage());
                    
115      continue;
                    
166  $_SESSION['terracoin'] = 'fail';
                    
167  error_log($message . ": " . $fault);
                    
168  header("Location: " . get_option("checkout_url"));
                    
                
sfException.class.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 446 lines
                    
1<?php
                    
2
                    
20 * @author     Sean Kerr <sean@code-box.org>
                    
21 * @version    SVN: $Id: sfException.class.php 32641 2011-06-11 13:39:35Z fabien $
                    
22 */
                    
90    {
                    
91      // log all exceptions in php log
                    
92      error_log($exception->getMessage());
                    
196    // when using CLI, we force the format to be TXT
                    
197    if (0 == strncasecmp(PHP_SAPI, 'cli', 3))
                    
198    {
                    
261
                    
262    $template = sprintf('%s.%s.php', $debug ? 'exception' : 'error', $format);
                    
263    foreach ($templatePaths as $path)
                    
                
EMail.php https://gitlab.com/karora/awl | PHP | 259 lines
                    
1<?php
                    
2/**
                    
10
                    
11require_once("AWLUtilities.php");
                    
12/**
                    
227  function PretendLog( $additional_headers = "" ) {
                    
228    if ( !empty($this->From) )     dbg_error_log('LOG', "From: $this->From");
                    
229    if ( !empty($this->Cc) )       dbg_error_log('LOG', "Cc: $this->Cc");
                    
229    if ( !empty($this->Cc) )       dbg_error_log('LOG', "Cc: $this->Cc");
                    
230    if ( !empty($this->Bcc) )      dbg_error_log('LOG', "Bcc: $this->Bcc");
                    
231    if ( !empty($this->ReplyTo) )  dbg_error_log('LOG', "Reply-To: $this->ReplyTo");
                    
231    if ( !empty($this->ReplyTo) )  dbg_error_log('LOG', "Reply-To: $this->ReplyTo");
                    
232    if ( !empty($this->ErrorsTo) ) dbg_error_log('LOG', "Errors-To: $this->ErrorsTo");
                    
233
                    
234    $additional_parameters = "";
                    
235    if ( !empty($this->Sender) ) dbg_error_log('LOG', "Envelope Sender set to: $this->Sender");
                    
236    dbg_error_log('LOG', "To: $this->To");
                    
                
class.jetpack-xmlrpc-server.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 392 lines
                    
1<?php
                    
2
                    
181		/* debugging
                    
182		error_log( "CLIENT: $client_id" );
                    
183		error_log( "USER:   $user_id" );
                    
183		error_log( "USER:   $user_id" );
                    
184		error_log( "NONCE:  $nonce" );
                    
185		error_log( "VERIFY: $verify" );
                    
345		/* debugging
                    
346		error_log( "-- begin json api via jetpack debugging -- " );
                    
347		error_log( "METHOD: $method" );
                    
347		error_log( "METHOD: $method" );
                    
348		error_log( "URL: $url" );
                    
349		error_log( "POST BODY: $post_body" );
                    
349		error_log( "POST BODY: $post_body" );
                    
350		error_log( "MY JETPACK ID: $my_id" );
                    
351		error_log( "VERIFY_ARGS: " . print_r( $verify_api_user_args, 1 ) );
                    
                
api.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 251 lines
                    
1<?php
                    
2/* See license terms in /license.txt */
                    
22	$v = array_keys(get_defined_vars());
                    
23	error_log(var_export($v, true),3, '/tmp/log');
                    
24
                    
27			continue;
                    
28		error_log($k, 3, '/tmp/log');
                    
29		error_log(var_export($$k, true), 3, '/tmp/log');
                    
38	$sid = $_REQUEST['sid'];
                    
39	if ($debug>0) error_log("reusing: ".$sid);
                    
40	session_id($sid);
                    
43/*==== INCLUDE ====*/
                    
44require_once '../inc/global.inc.php';
                    
45api_block_anonymous_users();
                    
45api_block_anonymous_users();
                    
46require_once (api_get_path(LIBRARY_PATH)."course.lib.php");
                    
47require_once (api_get_path(LIBRARY_PATH)."document.lib.php");
                    
                
caldav-MKCOL.php https://gitlab.com/pk-codebox-evo/apps-others-calendar-DAViCal | PHP | 265 lines
                    
1<?php
                    
2/**
                    
10*/
                    
11dbg_error_log('MKCOL', 'method handler');
                    
12require_once('AwlQuery.php');
                    
18if ( ! preg_match( '#/$#', $request->path ) ) {
                    
19  dbg_error_log( 'MKCOL', 'Add trailling "/" to "%s"', $request->path);
                    
20  $request->path .= '/';
                    
28
                    
29require_once('DAVResource.php');
                    
30$parent = new DAVResource( $parent_container );
                    
42
                    
43require_once('XMLDocument.php');
                    
44$reply = new XMLDocument(array( 'DAV:' => '', 'urn:ietf:params:xml:ns:caldav' => 'C' ));
                    
69    
                    
70    dbg_error_log( 'MKCOL', 'Processing tag "%s"', $tag);
                    
71
                    
                
20100825-a-week-of-symfony-190.markdown https://github.com/symfony-japan/sfjp-doc-main.git | Markdown | 60 lines
                    
18
                    
19今週のSymfony2の開発は、loggerと例外管理のリファクタリングに集中しました。テンプレートヘルパーは構文を修正し、[多くの人からの要望](http://groups.google.com/group/symfony-devs/browse_thread/thread/78251d7e40d0bd34)により名前空間Symfony\ComponentsはSymfony\Componentに変更されました。また、Symfony2はニューヨークで今週開催されたLibertyvasionカンファレンスでphpBBコミュニティに紹介されました。
                    
20
                    
33- [0da7295](http://github.com/symfony/symfony/commit/0da7295a9c26e90267f7ee0ec699e020a9f9d024): [FrameworkBundle] フォワードの前にリクエストをクリーンアップするように変更
                    
34- [917da00](http://github.com/symfony/symfony/commit/917da00763b31e290cc18ae61068d17d731844a8)、[cbdde58](http://github.com/symfony/symfony/commit/cbdde58ddd9101cdbe0b49624709c9dbcfa15784): [FrameworkBundle] error_log()呼び出しをloggerの呼び出しに変更
                    
35- [509bfb8](http://github.com/symfony/symfony/commit/509bfb8940adfd67c4617174ec8bc990c57d0e42): [FrameworkBundle] ExceptionFormatterのContainerへの依存性をなくすよう修正
                    
                
caldav-REPORT.php https://gitlab.com/tiggerben/davical | PHP | 250 lines
                    
1<?php
                    
2/**
                    
10*/
                    
11dbg_error_log("REPORT", "method handler");
                    
12
                    
12
                    
13require_once("XMLDocument.php");
                    
14require_once('DAVResource.php');
                    
15
                    
16require_once('RRule-v2.php');
                    
17
                    
41
                    
42require_once("vCalendar.php");
                    
43
                    
50if ( $xmltree->GetNSTag() == 'urn:ietf:params:xml:ns:caldav:free-busy-query' ) {
                    
51  include("caldav-REPORT-freebusy.php");
                    
52  exit; // Not that the above include should return anyway
                    
                
Troubleshooting.html https://github.com/hotrhino/ide_core.git | HTML | 164 lines
                    
6	  <!--<script type="text/javascript" src="http://www.aptana.com/docs/help.js"></script>-->
                    
7	  <!--<script type="text/javascript" src="http://www.aptana.com/docs/index.php?title=Troubleshooting&action=raw&gen=js">-->
                    
8	  <link rel="stylesheet" href="http://www.aptana.com/docs/" type="text/css">      
                    
21   <body>
                    
22      <div class="classBlock">		    <a href="http://www.aptana.com/" target="_blank"><img src="../../content/aptana.gif" border="0" hspace="21" vspace="7"></img></a><h1>Troubleshooting [<a href="http://www.aptana.com/docs/index.php?title=Troubleshooting&action=edit">edit</a>]</h1>
                    
23         <div class="content">
                    
29<ul>
                    
30<li class="toclevel-1"><a href="#Accessing_the_Error_Log"><span class="tocnumber">1</span> <span class="toctext">Accessing the Error Log</span></a>
                    
31<ul>
                    
45</td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
                    
46<a name="Accessing_the_Error_Log"></a><h2> <span class="mw-headline">Accessing the Error Log </span></h2>
                    
47<p>The Aptana .log file records most application exceptions that occur while you are using the Aptana application. The .log file can be helpful to the Aptana development team in troubleshooting bugs that you may encounter during normal usage. You can access your log either through the Help menu in Aptana or manually through the file system on your computer.
                    
148<div class="printfooter">
                    
149Retrieved from "<a href="http://aptana.com/docs/index.php/Troubleshooting_Aptana_Studio_Issues">http://aptana.com/docs/index.php/Troubleshooting_Aptana_Studio_Issues</a>"</div>
                    
150										<script>
                    
                
box.img.php https://github.com/tsnoad/Irondata.git | PHP | 350 lines
                    
1<?php
                    
2// $Header: /cvsroot/html2ps/box.img.php,v 1.50 2007/05/06 18:49:29 Konstantin Exp $
                    
124      if (is_null($ascender)) {
                    
125        error_log("ImgBox::reflow_text: cannot get font ascender");
                    
126        return null;
                    
130      if (is_null($descender)) {
                    
131        error_log("ImgBox::reflow_text: cannot get font descender");
                    
132        return null;
                    
                
constants.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 239 lines
                    
1<?php
                    
2
                    
14//Ten file config
                    
15define( "NV_CONFIG_FILENAME", "config.php" );
                    
16
                    
52
                    
53//Ten file error_log
                    
54define( 'NV_ERRORLOGS_FILENAME', 'error_log' );
                    
185                    empty string)
                    
186E_STRICT			- run-time notices, enable to have PHP suggest changes
                    
187                    to your code which will ensure the best interoperability
                    
188                    and forward compatibility of your code
                    
189E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
                    
190E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
                    
227$global_config['check_op'] = "/^[a-zA-Z0-9\-]+$/";
                    
228$global_config['check_op_file'] = "/^([a-zA-Z0-9\-\_]+)\.php$/";
                    
229$global_config['check_block_global'] = "/^global\.([a-zA-Z0-9\-\_]+)\.php$/";
                    
                
Request.class.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 658 lines
                    
119		return isset($GLOBALS['currentModuleIsLogModule']); // quick hack...
                    
120		return ereg( '/phpmyvisites.php', Request::getCurrentCompleteUrl() );
                    
121	}
                    
222	{
                    
223		$phpmv_url_chemin = '';
                    
224		if(isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != "") 
                    
245		$phpmv_url_chemin= Request::getHostUrl() . $phpmv_url_chemin;
                    
246		return substr($phpmv_url_chemin, 0, strrpos($phpmv_url_chemin, '/'));
                    
247	}
                    
355		}
                    
356		$url = '?exec=phpmv&';//'index.php?';
                    
357
                    
530	{
                    
531		//$url = Request::getPhpmvRoot() . "index.php?mod=".$name;
                    
532		$url = generer_url_ecrire('phpmv',"mod=".$name,true);
                    
                
joomla.php https://github.com/3den/J-MediaGalleries.git | PHP | 271 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: joomla.php 18522 2010-08-18 05:22:14Z 3dentech $
                    
4 * @package		Joomla
                    
152		if (!$result) {
                    
153			return JError::raiseWarning(401, JText::_('JERROR_LOGIN_DENIED'));
                    
154		}
                    
204
                    
205			// Destroy the php session for this user
                    
206			$session->destroy();
                    
                
ext_error.cpp https://github.com/tstarling/hiphop-php.git | C++ | 251 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
chamilo_session.class.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 215 lines
                    
1<?php
                    
2/**
                    
94         * See http://support.chamilo.org/issues/3600
                    
95         * http://php.net/manual/en/session.configuration.php
                    
96         * @todo use session_set_cookie_params with some custom admin parameters
                    
132        if ( $session->has('starttime') && $session->is_valid()) {
                    
133            //error_log('Time expired, cancel session');
                    
134            $session->destroy();
                    
135        } else {
                    
136            //error_log('Time not expired, extend session for a bit more');
                    
137            $session->write('starttime', time());
                    
                
vCalendar.php https://gitlab.com/karora/awl | PHP | 416 lines
                    
1<?php
                    
2/**
                    
20
                    
21require_once('vComponent.php');
                    
22
                    
95    if ( empty($tzid) ) {
                    
96      dbg_error_log('ERROR','Ignoring invalid VTIMEZONE with no TZID parameter!');
                    
97      dbg_log_array('LOG', 'vTimezone', $vtz, true);
                    
152      if ( count ( $wr_attendees ) > 0 ) {
                    
153        dbg_error_log( 'PUT', 'Non-compliant iCal request.  Using X-WR-ATTENDEE property' );
                    
154        foreach( $wr_attendees AS $k => $v ) {
                    
219  function StartFilter( $filters ) {
                    
220    dbg_error_log('vCalendar', ':StartFilter we have %d filters to test', count($filters) );
                    
221
                    
                
HTTP_WebDAV_Server_vCal.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 443 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
45
                    
46require_once 'modules/Calendar/Calendar.php';
                    
47
                    
47
                    
48require_once 'include/HTTP_WebDAV_Server/Server.php';
                    
49
                    
107                if(stristr($key,"litmus")) {
                    
108                    error_log("Litmus test $value");
                    
109                    header("X-Litmus-reply: ".$value);
                    
365            // open input stream
                    
366            $options["stream"] = fopen("php://input", "r");
                    
367            $content = '';
                    
                
devices.php https://bitbucket.org/gegere/openvbx.git | PHP | 333 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
21
                    
22require_once(APPPATH.'libraries/twilio.php');
                    
23
                    
167		{
                    
168			error_log($e->getMessage());
                    
169			$device['json']['error'] = true;
                    
193				if(!$device) {
                    
194					error_log('Device no longer exists: '.$device_id);
                    
195					continue;
                    
272			{
                    
273				error_log($e->getMessage());
                    
274				$response = array('error' => true,
                    
                
Configuration.php https://gitlab.com/CORP-RESELLER/shopping-cart-lite | PHP | 346 lines
                    
1<?php
                    
2/**
                    
342    {
                    
343        error_log('[Braintree] ' . $message);
                    
344    }
                    
                
logging_test.rb https://github.com/foca/rails.git | Ruby | 300 lines
                    
78    original_queue_name = LoggingJob.queue_name
                    
79    LoggingJob.queue_as :php_jobs
                    
80    LoggingJob.perform_later("Dummy")
                    
80    LoggingJob.perform_later("Dummy")
                    
81    assert_match(/to .*?\(php_jobs\).*/, @logger.messages)
                    
82  ensure
                    
251
                    
252  def test_job_error_logging
                    
253    perform_enqueued_jobs do
                    
260
                    
261  def test_job_no_error_logging_on_rescuable_job
                    
262    perform_enqueued_jobs { RescueJob.perform_later "david" }
                    
                
basic_functions.h https://github.com/gmphp/PHP.git | C Header | 251 lines
                    
54#ifdef HAVE_INET_NTOP
                    
55PHP_NAMED_FUNCTION(php_inet_ntop);
                    
56#endif
                    
57#ifdef HAVE_INET_PTON
                    
58PHP_NAMED_FUNCTION(php_inet_pton);
                    
59#endif
                    
75
                    
76PHP_FUNCTION(error_log);
                    
77PHP_FUNCTION(error_get_last);
                    
88PHP_FUNCTION(highlight_string);
                    
89PHP_FUNCTION(php_strip_whitespace);
                    
90ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highlighter_ini);
                    
142PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC);
                    
143PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC);
                    
144PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC);
                    
                
amazon_login.php https://gitlab.com/shapcy/opencart | PHP | 190 lines
                    
1<?php
                    
2class ControllerModuleAmazonLogin extends Controller {
                    
59				$this->model_payment_amazon_login_pay->logger($user->error . ': ' . $user->error_description);
                    
60				$this->session->data['lpa']['error'] = $this->language->get('error_login');
                    
61				$this->response->redirect($this->url->link('payment/amazon_login_pay/loginFailure', '', true));
                    
91					$this->model_payment_amazon_login_pay->logger('Could not login to - ID: ' . $customer_info['customer_id'] . ', Email: ' . $customer_info['email']);
                    
92					$this->session->data['lpa']['error'] = $this->language->get('error_login');
                    
93					$this->response->redirect($this->url->link('payment/amazon_login_pay/loginFailure', '', true));
                    
152
                    
153					$this->session->data['lpa']['error'] = $this->language->get('error_login');
                    
154					$this->response->redirect($this->url->link('payment/amazon_login_pay/loginFailure', '', true));
                    
157		} else {
                    
158			$this->session->data['lpa']['error'] = $this->language->get('error_login');
                    
159			$this->response->redirect($this->url->link('payment/amazon_login_pay/loginFailure', '', true));
                    
174		if (!$this->customer->login($email, '', true)) {
                    
175			$this->error['warning'] = $this->language->get('error_login');
                    
176		}
                    
                
permissions.inc.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 188 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Vider le cache du site.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Effacer le log d\'erreurs.';
                    
60$_lang['perm.error_log_view_desc'] = 'Voir le log d\'erreurs.';
                    
                
joomla.php https://github.com/sengann/iks-school.com.git | PHP | 271 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: joomla.php 18382 2010-08-10 00:03:02Z eddieajau $
                    
4 * @package		Joomla
                    
152		if (!$result) {
                    
153			return JError::raiseWarning(401, JText::_('JERROR_LOGIN_DENIED'));
                    
154		}
                    
204
                    
205			// Destroy the php session for this user
                    
206			$session->destroy();
                    
                
class-kirki-sanitize-values.php https://gitlab.com/aristath/kirki | PHP | 230 lines
                    
1<?php
                    
2/**
                    
35		public static function __callStatic( $name, $arguments ) {
                    
36			error_log( "Kirki_Sanitize_Values::$name does not exist" );
                    
37			return $arguments;
                    
                
csscolor.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 423 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 csscolor.php
                    
4 Copyright 2004 Patrick Fitzgerald
                    
89    if (!$this->isHex($bgHex)) {
                    
90      error_log("background color '$bgHex' is not a hex color value");
                    
91      return false;
                    
                
StripeObject.php https://gitlab.com/iamgraeme/royalmile | PHP | 283 lines
                    
1<?php
                    
2
                    
126                    . "available on this object are: $attrs";
                    
127            error_log($message);
                    
128            return $nullval;
                    
130            $class = get_class($this);
                    
131            error_log("Stripe Notice: Undefined property of $class instance: $k");
                    
132            return $nullval;
                    
                
Google_CurlIO.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 196 lines
                    
1<?php
                    
2/*
                    
45      throw new Exception(
                    
46        'Google CurlIO client requires the CURL PHP extension');
                    
47    }
                    
108    if (curl_errno($ch) == CURLE_SSL_CACERT) {
                    
109      error_log('SSL certificate problem, verify that the CA cert is OK.'
                    
110        . ' Retrying with the CA cert bundle from google-api-php-client.');
                    
147   * The list of accepted options are:
                    
148   * {@link http://php.net/manual/en/function.curl-setopt.php]
                    
149   *
                    
                
ImageWidgetDeprecated.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 202 lines
                    
1<?php
                    
2/**
                    
17		global $pagenow;
                    
18		if ( 'widgets.php' == $pagenow ) {
                    
19			wp_enqueue_style( 'thickbox' );
                    
21		}
                    
22		elseif ( 'media-upload.php' == $pagenow || 'async-upload.php' == $pagenow ) {
                    
23			wp_enqueue_script( 'tribe-image-widget-fix-uploader', plugins_url('resources/js/image-widget.deprecated.upload-fixer.js', dirname(__FILE__)), array('jquery'), Tribe_Image_Widget::VERSION, TRUE );
                    
94			var win = window.dialogArguments || opener || parent || top;
                    
95			win.IW_html = '<?php echo addslashes($html); ?>';
                    
96			win.IW_img_id = '<?php echo $id; ?>';
                    
97			win.IW_alt = '<?php echo addslashes($alt); ?>';
                    
98			win.IW_caption = '<?php echo addslashes($caption); ?>';
                    
99			win.IW_title = '<?php echo addslashes($title); ?>';
                    
99			win.IW_title = '<?php echo addslashes($title); ?>';
                    
100			win.IW_align = '<?php echo esc_attr($align); ?>';
                    
101			win.IW_url = '<?php echo esc_url($url); ?>';
                    
                
header.tpl https://bitbucket.org/allanxyh/uniquemall.git | Smarty Template | 220 lines
                    
17<?php foreach ($styles as $style) { ?>
                    
18<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
                    
19<?php } ?>
                    
65    <ul class="left" style="display: none;">
                    
66      <li id="dashboard"><a href="<?php echo $home; ?>" class="top"><?php echo $text_dashboard; ?></a></li>
                    
67      <li id="catalog"><a class="top"><?php echo $text_catalog; ?></a>
                    
81          <li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>
                    
82          <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
                    
83        </ul>
                    
112          </li>
                    
113          <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
                    
114        </ul>
                    
156          </li>
                    
157          <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
                    
158          <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
                    
                
permissions.inc.php https://github.com/francisreboucas/revolution.git | PHP | 144 lines
                    
1<?php
                    
2/**
                    
57$_lang['perm.empty_cache_desc'] = 'サイトのキャッシュを空にする';
                    
58$_lang['perm.error_log_erase_desc'] = 'エラーログを消す';
                    
59$_lang['perm.error_log_view_desc'] = 'エラーログを表示する';
                    
                
caldav-REPORT-cardquery.php https://gitlab.com/tiggerben/davical | PHP | 337 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('vcard.php');
                    
4
                    
84
                    
85  dbg_error_log("cardquery","Applying filter for item '%s'", $item->dav_name );
                    
86  $vcard = new vComponent( $item->caldav_data );
                    
112  $tag = $filter->GetNSTag();
                    
113  dbg_error_log("cardquery", "Processing $tag into SQL - %d, '%s', %d\n", count($components), $property, isset($parameter) );
                    
114
                    
159      $negate = ( (isset($negate) && strtolower($negate) ) == "yes" ) ? "NOT " : "";
                    
160      dbg_error_log("cardquery", " text-match: (%s%s %s '%s') ", $negate, $property, $comparison, $search );
                    
161      $sql .= sprintf( "(%s%s %s $pname)", $negate, $property, $comparison );
                    
185          $post_filters[] = $filter;
                    
186          dbg_error_log("cardquery", "Could not handle 'prop-filter' on %s in SQL", $propertyname );
                    
187          return false;
                    
                
class-mla-objects.php https://bitbucket.org/kenaku/karate.git | PHP | 321 lines
                    
164			/* translators: 1: taxonomy 2: error message */
                    
165			error_log( sprintf( _x( 'ERROR: mla_taxonomy_column_filter( "%1$s" ) - get_term failed: "%2$s"', 'error_log', 'media-library-assistant' ), $taxonomy, $term->get_error_message() ), 0 );
                    
166			return 0;
                    
195			/* translators: 1: taxonomy 2: error message */
                    
196			error_log( sprintf( _x( 'ERROR: mla_taxonomy_column_filter( "%1$s" ) - WP_Query failed: "%2$s"', 'error_log', 'media-library-assistant' ), $taxonomy, $results->error ), 0 );
                    
197			return 0;
                    
270		<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php echo __( 'Title', 'media-library-assistant' ) . ':'; ?></label>
                    
271		<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
                    
272
                    
272
                    
273		<textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id( 'text' ); ?>" name="<?php echo $this->get_field_name( 'text' ); ?>"><?php echo $text; ?></textarea>
                    
274
                    
274
                    
275		<p><input id="<?php echo $this->get_field_id( 'filter' ); ?>" name="<?php echo $this->get_field_name( 'filter' ); ?>" type="checkbox" <?php checked( isset( $instance['filter'] ) ? $instance['filter'] : 0 ); ?> />&nbsp;<label for="<?php echo $this->get_field_id( 'filter' ); ?>"><?php _e( 'Automatically add paragraphs', 'media-library-assistant' ); ?></label></p>
                    
276<?php
                    
                
environment.php https://github.com/mackensen/moodle.git | PHP | 167 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * This should really be a singleton. A PHP5 Todo I guess.
                    
6 */
                    
120        if (empty($keypair)) {
                    
121            error_log('Can not generate keypair, sorry');
                    
122            return;
                    
147        $DB->update_record('mnet_host', $this);
                    
148        if (!PHPUNIT_TEST) {
                    
149            // We don't want to output this log for PHPUnit since it will make the test to fail as risky.
                    
149            // We don't want to output this log for PHPUnit since it will make the test to fail as risky.
                    
150            error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires));
                    
151        }
                    
                
upgrade.php https://github.com/devsatish/ThinkUp.git | PHP | 139 lines
                    
1<?php
                    
2/**
                    
3 *
                    
4 * ThinkUp/webapp/install/cli/upgrade.php
                    
5 *
                    
30chdir('../..');
                    
31require_once 'init.php';
                    
32//Avoid "Error: DateTime::__construct(): It is not safe to rely on the system's timezone settings" error
                    
32//Avoid "Error: DateTime::__construct(): It is not safe to rely on the system's timezone settings" error
                    
33require_once 'config.inc.php';
                    
34date_default_timezone_set($THINKUP_CFG['timezone']);
                    
53    if($db_version == $thinkup_db_version) {
                    
54        error_log("\nYour ThinkUp database structure is up to date.\n");
                    
55        exit;
                    
135    print "\n Usage:\n\n";
                    
136    print "   php upgrade.php [--help]\n\n";
                    
137    print "    --help - usage help\n\n";
                    
                
permissions.inc.php https://github.com/goldsky/revolution.git | PHP | 189 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Para esvaziar o cache do site.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Para apagar o log de erro.';
                    
60$_lang['perm.error_log_view_desc'] = 'Para visualizar o log de erro.';
                    
                
header.php https://bitbucket.org/allanxyh/uniquemall.git | PHP | 89 lines
                    
1<?php
                    
2// Heading
                    
23$_['text_download']                    = '下载设置';
                    
24$_['text_error_log']                   = '错误日志';
                    
25$_['text_extension']                   = '扩展功能';
                    
                
ldap.inc.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 322 lines
                    
4/**
                    
5 * This files is included by newUser.ldap.php and login.ldap.php
                    
6 * It implements the functions nedded by both files
                    
9require_once dirname(__FILE__) . '/../../inc/global.inc.php';
                    
10require_once dirname(__FILE__) . '/../../inc/conf/auth.conf.php';
                    
11
                    
48            $port = isset($extldap_config['port']) ? $ldap_config['port'] : 389;
                    
49            error_log('EXTLDAP ERROR : cannot connect to ' . $extldap_config['host'] . ':' . $port);
                    
50        } else
                    
104    if (!$sr) {
                    
105        error_log('EXTLDAP ERROR : ldap_search(' . $ds . ', ' . $extldap_config['base_dn'] . ", $user_search) failed");
                    
106        return false;
                    
110    if ($entries_count > 1) {
                    
111        error_log('EXTLDAP ERROR : more than one entry for that user ( ldap_search(ds, ' . $extldap_config['base_dn'] . ", $user_search) )");
                    
112        return false;
                    
                
TestOfConsumerUserStream.php https://github.com/suth/ThinkUp.git | PHP | 200 lines
                    
30require_once THINKUP_WEBAPP_PATH.'config.inc.php';
                    
31require_once THINKUP_WEBAPP_PATH.'_lib/extlib/simpletest/autorun.php';
                    
32
                    
32
                    
33require_once THINKUP_ROOT_PATH.'tests/classes/class.ThinkUpUnitTestCase.php';
                    
34require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/tests/classes/mock.Redis.php';
                    
35require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.ConsumerUserStream.php';
                    
36require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.StreamMessageQueue.php';
                    
37require_once THINKUP_WEBAPP_PATH.'plugins/twitterrealtime/model/class.StreamMessageQueueMySQL.php';
                    
65        if (!($version[0] >= 5 && $version[1] >= 3)) {
                    
66            //error_log("PHP version less than 5.3, Skipping Redis Tests...");
                    
67            return;
                    
104        if (!($version[0] >= 5 && $version[1] >= 3)) {
                    
105            //error_log("PHP version less than 5.3, Skipping Redis Tests...");
                    
106            return;
                    
                
apache2_util.c https://bitbucket.org/devzero2000/modsecurity.git | C | 392 lines
                    
75
                    
76    /* PHP hack, getting around its silly security checks. */
                    
77    apr_table_add(r->subprocess_env, "PATH_TRANSLATED", command);
                    
330 */
                    
331char *format_error_log_message(apr_pool_t *mp, error_message_t *em) {
                    
332    char *s_file = "", *s_line = "", *s_level = "";
                    
                
AppKernel.php https://gitlab.com/jankube/mautic | PHP | 436 lines
                    
1<?php
                    
2/**
                    
87            if ((strpos(strtolower($_SERVER["SERVER_SOFTWARE"]), 'apache') === false || !file_exists(__DIR__ .'../.htaccess') && strpos($base, 'index') === false)) {
                    
88                $base .= '/index.php';
                    
89            }
                    
100            } catch (\Exception $e) {
                    
101                error_log($e);
                    
102                throw new \Mautic\CoreBundle\Exception\DatabaseConnectionException(
                    
140            ->depth('1')
                    
141            ->name('*Bundle.php');
                    
142
                    
161            ->in($searchPath)
                    
162            ->name('*Bundle.php');
                    
163
                    
186            ->in($searchPath)
                    
187            ->name('*Bundle.php');
                    
188
                    
                
buy.php https://gitlab.com/reclamare/mao | PHP | 93 lines
                    
1<?php
                    
2// Heading
                    
47$_['error_warning']                  = 'Возникла проблема при обработке Вашего заказа! Если проблема возникает повторно, попробуйте выбрать другой способ оплаты или <a href="%s">свяжитесь с администратором магазина</a>.';
                    
48$_['error_login']                    = 'Неправильный E-Mail и/или пароль.';
                    
49$_['error_approved']                 = 'Прежде чем Вы сможете войти, администрация должна одобрить Ваш аккаунт.';
                    
                
fileoptions.php https://gitlab.com/mattswann/launch-housing | PHP | 348 lines
                    
1<?php
                    
2/* Class pb_backupbuddy_fileoptions
                    
22pb_backupbuddy::status( 'details', 'About to load fileoptions data.' );
                    
23require_once( pb_backupbuddy::plugin_path() . '/classes/fileoptions.php' );
                    
24$fileoptions_obj = new pb_backupbuddy_fileoptions( backupbuddy_core::getLogDirectory() . 'fileoptions/send-' . $send_id . '.txt', $read_only = true, $ignore_lock = true, $create_file = false );
                    
212		if ( true === $this->is_locked() ) {
                    
213			error_log( 'saveislocked' );
                    
214			pb_backupbuddy::status( 'details', 'Unable to write to fileoptions as file is currently locked: `' . $this->_file . '`.' );
                    
                
callbacks.md https://gitlab.com/silver-api/silver-docs | Markdown | 121 lines
                    
23  {
                    
24    "url": "http://127.0.0.1:8080/csCallbackNotify.php",
                    
25    "subscriptions": "warInfo warStars warHistory clanInfo",
                    
50```
                    
51http://127.0.0.1:8080/csCallbackNotify.php?cmd=warStars&clanId=%CLAN_ID_HERE%
                    
52http://127.0.0.1:8080/csCallbackNotify.php?cmd=warHistory&clanId=%CLAN_ID_HERE%
                    
52http://127.0.0.1:8080/csCallbackNotify.php?cmd=warHistory&clanId=%CLAN_ID_HERE%
                    
53http://127.0.0.1:8080/csCallbackNotify.php?cmd=warInfo&clanId=%CLAN_ID_HERE%
                    
54```
                    
60
                    
61```php
                    
62<?php
                    
65ini_set('log_errors', TRUE);
                    
66ini_set('error_log', "silverCallbacks.log");
                    
67
                    
                
ProductsController.php https://gitlab.com/fayimora/pp | PHP | 343 lines
                    
1<?php
                    
2
                    
328            $category_count = Products::where('category', '=', $category)->get()->count();
                    
329            error_log($category_count, 0);
                    
330            if ($position < $category_count) {
                    
                
error.php https://github.com/serafin/fine.git | PHP | 293 lines
                    
1<?php
                    
2
                    
8
                    
9    public static $phpError = array(
                    
10        E_ERROR              => 'Fatal Error',
                    
40    /**
                    
41     * @var int|string PHP Error code or name
                    
42     */
                    
137            $this->line      = $line;
                    
138            $this->errorType = self::$phpError[$no];
                    
139            $this->trace     = debug_backtrace();
                    
144            if ($this->log()) {
                    
145                error_log($this->_renderErrorAsString());
                    
146            }
                    
177            if ($this->log()) {
                    
178                error_log($this->_renderExceptionAsString());
                    
179            }
                    
                
fetcher.url.class.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 460 lines
                    
1<?php
                    
2
                    
2
                    
3require_once(HTML2PS_DIR.'fetcher._interface.class.php');
                    
4
                    
55
                    
56        error_log("Cannot open $data_id, HTTP result code is: ".$this->code);
                    
57
                    
72
                    
73      error_log(sprintf("Cannot open %s, too many redirects",
                    
74                        $data_id));
                    
85
                    
86      error_log(sprintf("Cannot open %s",
                    
87                        $data_id));
                    
138                         $errstr);
                    
139      error_log($message);
                    
140      $this->error_message = $message;
                    
                
peers.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 280 lines
                    
1<?php
                    
2
                    
29
                    
30require_once(dirname(dirname(dirname(__FILE__))) . '/config.php');
                    
31require_once($CFG->libdir.'/adminlib.php');
                    
31require_once($CFG->libdir.'/adminlib.php');
                    
32require_once($CFG->dirroot.'/mnet/lib.php');
                    
33require_once($CFG->dirroot.'/'.$CFG->admin.'/mnet/peer_forms.php');
                    
46    set_config('mnet_register_allhosts', optional_param('registerallhosts', 0, PARAM_INT));
                    
47    redirect(new moodle_url('/admin/mnet/peers.php'), get_string('changessaved'));
                    
48}
                    
54
                    
55$PAGE->set_url('/admin/mnet/peers.php');
                    
56admin_externalpage_setup($adminsection);
                    
111    $currenttab = 'mnetdetails';
                    
112    require_once($CFG->dirroot . '/admin/mnet/tabs.php');
                    
113
                    
                
ComFunc.php https://github.com/kuc-arc-f/php-test01.git | PHP | 292 lines
                    
1<?php
                    
2
                    
203	if(LOG_FLG==true){
                    
204		error_log($s_time  . " ". $msg . "\r\n" ,3, LOG_FNAME);
                    
205	//	error_log($s_time  . " ". $msg . "\n" ,3, LOG_FNAME);
                    
210	//MySmartyクラスの読み込み
                    
211	require_once($_SERVER["DOCUMENT_ROOT"]. "/../libs/MySmarty.class.php");
                    
212	
                    
                
CHANGELOG.md https://github.com/soitun/minify.git | Markdown | 282 lines
                    
19
                    
20- PHP 8.0 support, [#685], [#682], [#677]
                    
21
                    
45
                    
46- Removed deprecated get_magic_quotes_gpc() function that since PHP 5.4.0 returns FALSE always, and since PHP 7.4 is deprecated, [#661]
                    
47
                    
74
                    
75- Fix PHP 7.3 compatibility issues, [#648]
                    
76
                    
90- Fixes syntax error in Groups controller, [#613]
                    
91- Better-maintained lessphp fork, [#610]
                    
92- No longer corrupts some chars in some environments, [#608]
                    
109* Improved CSS minification via Túbal Martín's CSSMin
                    
110* Easier error identification (just see error_log)
                    
111* Adds feature to serve static files directly
                    
                
web-multi-process-test.php https://github.com/stunami/amqphp.git | PHP | 271 lines
                    
1<?php
                    
2/**
                    
5 * establish the same Connection / Channel setup on all worker threads
                    
6 * of a PHP server, the user can then send and receive messages.
                    
7 */
                    
7 */
                    
8use amqphp as amqp,
                    
9    amqphp\persistent as pconn,
                    
9    amqphp\persistent as pconn,
                    
10    amqphp\protocol,
                    
11    amqphp\wire;
                    
14// Must match webdepl.libdir property
                    
15const LIBDIR = 'amqphp-libs';
                    
16
                    
17// Must match webdepl.viewdir property
                    
18const VIEWDIR = 'amqphp-view';
                    
19
                    
                
details.php https://github.com/zsalwen/Service-Office.git | PHP | 148 lines
                    
70	echo "<table align='center' style='background-color:FFFFFF;'>
                    
71			<tr><td align='center'>Are you <i>SURE</i> you want to delete this entry?</td><tr><td align='center'><form method='post' name='form2' style='display:inline;'><input type='hidden' name='id' value='$id'><input style='background-color:green;' type='submit' name='confirm' value='YES'></form> | <form action='http://staff.mdwestserve.com/market/details.php' name='form3' style='display:inline;'><input type='hidden' name='id' value='$id'><input style='background-color:red;' type='submit' name='restart' value='NO'></form></td>
                    
72				</tr>
                    
78	$msg="Entry Deleted.";
                    
79	echo "<script>window.location='http://staff.mdwestserve.com/market/index.php?msg=$msg'</script>";
                    
80	$logMsg=$_COOKIE[psdata][name]." Deleting Marketing Entry For ".getName($_POST[id])." (ID $_POST[id])";
                    
95if ($logMsg){
                    
96	error_log("[".date('h:iA n/j/y')."] ".$logMsg,3,"/logs/user.log");
                    
97}else{
                    
97}else{
                    
98	error_log("[".date('h:iA n/j/y')."] ".$_COOKIE[psdata][name]." Updating Marketing Entry For ".getName($id)." (ID $id)",3,"/logs/user.log");
                    
99}
                    
141		<td>Notes</td>
                    
142		<td><iframe height="200px" width="700px"  frameborder="0" src="http://staff.mdwestserve.com/market/notes.php?id=<?=$d[marketID]?>"></iframe></td>
                    
143	</tr>
                    
                
paypal_ipn.php https://gitlab.com/PhaseHosting/whmcs-customisations | PHP | 187 lines
                    
91$res = curl_exec($ch);
                    
92error_log(date('[Y-m-d H:i e] '). "HTTP request of validation request:". curl_getinfo($ch, CURLINFO_HEADER_OUT) ." for IPN payload: $req" . PHP_EOL, 3, LOG_FILE);
                    
93error_log(date('[Y-m-d H:i e] '). "HTTP response of validation request: $res" . PHP_EOL, 3, LOG_FILE);
                    
96	if(DEBUG == true) {	
                    
97		error_log(date('[Y-m-d H:i e] '). "Can't connect to PayPal to validate IPN message: " . curl_error($ch) . PHP_EOL, 3, LOG_FILE);
                    
98	}
                    
104		if(DEBUG == true) {
                    
105			error_log(date('[Y-m-d H:i e] '). "HTTP request of validation request:". curl_getinfo($ch, CURLINFO_HEADER_OUT) ." for IPN payload: $req" . PHP_EOL, 3, LOG_FILE);
                    
106			error_log(date('[Y-m-d H:i e] '). "HTTP response of validation request: $res" . PHP_EOL, 3, LOG_FILE);
                    
155	'Reply-To: '.$to_Email.'' . "\r\n" .
                    
156	'X-Mailer: PHP/' . phpversion().'' . "\r\n" .
                    
157	"Content-Type: text/html;charset=utf-8";
                    
182	if(DEBUG == true) {
                    
183		error_log(date('[Y-m-d H:i e] '). "Invalid IPN: $req" . PHP_EOL, 3, LOG_FILE);
                    
184	}
                    
                
caldav-PROPPATCH.php https://gitlab.com/tiggerben/davical | PHP | 351 lines
                    
1<?php
                    
2/**
                    
10*/
                    
11dbg_error_log("PROPPATCH", "method handler");
                    
12
                    
12
                    
13require_once('vCalendar.php');
                    
14require_once('DAVResource.php');
                    
267      add_failure('rm', $tag, 'HTTP/1.1 409 Conflict', translate("Property is read-only"));
                    
268      dbg_error_log( 'PROPPATCH', ' RMProperty %s is read only and cannot be removed', $tag);
                    
269      break;
                    
                
Object.php https://gitlab.com/hop23typhu/list-theme | PHP | 247 lines
                    
1<?php
                    
2
                    
100                    . "available on this object are: $attrs";
                    
101            error_log($message);
                    
102            return null;
                    
104            $class = get_class($this);
                    
105            error_log("Stripe Notice: Undefined property of $class instance: $k");
                    
106            return null;
                    
                
notification.lib.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 233 lines
                    
1<?php
                    
2/* For licensing terms, see /license.txt */
                    
74                if ($this->debug) {
                    
75                    error_log('Sending message to: '.$item_to_send['dest_mail']);
                    
76                }
                    
81                if ($this->debug) {
                    
82                    error_log('Updating record : '.print_r($item_to_send, 1));
                    
83                }
                    
192                }
                    
193                $link_to_new_message = Display::url(get_lang('SeeMessage'), api_get_path(WEB_CODE_PATH).'messages/inbox.php');
                    
194                break;
                    
200                }
                    
201                $link_to_new_message = Display::url(get_lang('SeeInvitation'), api_get_path(WEB_CODE_PATH).'social/invitations.php');
                    
202                break;
                    
208                    $sender_name = api_get_person_name($sender_info['user_info']['firstname'], $sender_info['user_info']['lastname'], null, PERSON_NAME_EMAIL_ADDRESS);
                    
209                    $sender_name = Display::url($sender_name, api_get_path(WEB_CODE_PATH).'social/profile.php?'.$sender_info['user_info']['user_id']);
                    
210                    $new_message_text .= '<br />'.get_lang('User').': '.$sender_name;
                    
                
 

Source

Language