PageRenderTime 1231ms queryTime 507ms sortTime 10ms getByIdsTime 399ms findMatchingLines 159ms

100+ results results for 'php error_log repo:aradlein/shareplaylists' (1231 ms)

Not the results you expected?
Callback.php https://github.com/silvanm/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
                    
                
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'] = "*";
                    
                
lang_main_cback_ctracker.php https://github.com/MightyGorgon/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/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/digitalbutter/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'] = 'Видеть журнал ошибок.';
                    
                
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>
                    
                
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
                    
                
permissions.inc.php https://github.com/splittingred/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/pandrox/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://github.com/modxcms-jp/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'] = 'エラーログを表示';
                    
                
sfException.class.php https://github.com/bigcalm/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)
                    
                
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.';
                    
                
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    }
                    
                
Mandrill.php https://gitlab.com/Sang240892/ecommerce | 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';
                    
                
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/Granit/Contactbook.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 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>
                    
                
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.';
                    
                
permissions.inc.php https://github.com/jsheth7/revolution.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.';
                    
                
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;
                    
                
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 = [];
                    
                
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.
                    
                
user.php https://github.com/danielbachhuber/Assignment-Desk.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      }
                    
                
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 );
                    
                
web_payment_software.php https://gitlab.com/hazelnuts23/unitedfoodstuff | 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		}
                    
                
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
                    
                
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(
                    
                
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        
                    
                
permissions.inc.php https://github.com/goldsky/revolution.git | PHP | 189 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Het leegmaken van de site cache.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Het wissen van de error log.';
                    
60$_lang['perm.error_log_view_desc'] = 'Het bekijken van de error log.';
                    
                
caldav-MKCOL.php https://gitlab.com/tiggerben/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
                    
                
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 ) );
                    
                
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への依存性をなくすよう修正
                    
                
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$/";
                    
                
caldav-REPORT.php https://gitlab.com/pk-codebox-evo/apps-others-calendar-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
                    
                
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();
                    
                
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    }
                    
                
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		}
                    
                
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   *
                    
                
logging_test.rb https://github.com/retailnext/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" }
                    
                
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;
                    
                
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;
                    
                
permissions.inc.php https://github.com/hansek/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.';
                    
                
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) {
                    
                
ImageWidgetDeprecated.php https://gitlab.com/iamgraeme/royalmile | 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); ?>';
                    
                
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            }
                    
                
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;
                    
                
ApplicationLogs.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 259 lines
                    
1<?php
                    
2
                    
179          //$plugin = Plugins::findOne(array('conditions'=>array("`log_providers` like '%".$log_class."%'")));
                    
180          //error_log("Looking for plugin with log_provider $log_class, found ".$plugin->getName());
                    
181          //if($plugin instanceof Plugin && $plugin->isInstalled()) {
                    
                
web_payment_software.tpl https://gitlab.com/shapcy/opencart | Smarty Template | 140 lines
                    
6        <button type="submit" form="form-web-payment-software" data-toggle="tooltip" title="<?php echo $button_save; ?>" class="btn btn-primary"><i class="fa fa-save"></i></button>
                    
7        <a href="<?php echo $cancel; ?>" data-toggle="tooltip" title="<?php echo $button_cancel; ?>" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
                    
8      <h1><?php echo $heading_title; ?></h1>
                    
31              <input type="text" name="web_payment_software_merchant_name" value="<?php echo $web_payment_software_merchant_name; ?>" placeholder="<?php echo $entry_login; ?>" id="input-login" class="form-control" />
                    
32              <?php if ($error_login) { ?>
                    
33              <div class="text-danger"><?php echo $error_login; ?></div>
                    
106                <?php if ($geo_zone['geo_zone_id'] == $web_payment_software_geo_zone_id) { ?>
                    
107                <option value="<?php echo $geo_zone['geo_zone_id']; ?>" selected="selected"><?php echo $geo_zone['name']; ?></option>
                    
108                <?php } else { ?>
                    
108                <?php } else { ?>
                    
109                <option value="<?php echo $geo_zone['geo_zone_id']; ?>"><?php echo $geo_zone['name']; ?></option>
                    
110                <?php } ?>
                    
131            <div class="col-sm-10">
                    
132              <input type="text" name="web_payment_software_sort_order" value="<?php echo $web_payment_software_sort_order; ?>" placeholder="<?php echo $entry_sort_order; ?>" id="input-sort-order" class="form-control" />
                    
133            </div>
                    
                
cap-and-run.php https://github.com/alderete/Cap-and-Run.git | PHP | 260 lines
                    
1<?php
                    
2/*
                    
86			function add_styling_markup($content = '') {
                    
87				// error_log($content);
                    
88				$options = $this->get_options();
                    
175				
                    
176					<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
                    
177					
                    
179						<ul>
                    
180							<li><input type="checkbox" id="car_add_initial_cap" name="car_add_initial_cap" <?php if ($options['add_initial_cap']) echo 'checked="checked"'; ?> />
                    
181							<label for="car_add_initial_cap">Stylize first letter of post/page as Drop Cap</label></li>
                    
185						<ul>
                    
186							<li><input type="radio" id="car_add_run_in_none" name="car_add_run_in" value="none" <?php 
                    
187									if ('none' === $options['add_run_in']) echo 'checked="checked"'; ?> />
                    
188								<label for="car_add_run_in_none">No text run-in</label></li>
                    
189							<li><input type="radio" id="car_add_run_in_line" name="car_add_run_in" value="line" <?php 
                    
190									if ('line' === $options['add_run_in']) echo 'checked="checked"'; ?> />
                    
                
permissions.inc.php https://github.com/enigmatic-user/revolution.git | PHP | 190 lines
                    
1<?php
                    
2/**
                    
58$_lang['perm.empty_cache_desc'] = 'Vyprázdnit cache.';
                    
59$_lang['perm.error_log_erase_desc'] = 'Možnost vymazání chybových zpráv.';
                    
60$_lang['perm.error_log_view_desc'] = 'Možnost zobrazení chybových zpráv.';
                    
                
caldav-PROPFIND.php https://gitlab.com/tiggerben/davical | PHP | 284 lines
                    
1<?php
                    
2/**
                    
10*/
                    
11dbg_error_log('PROPFIND', 'method handler');
                    
12
                    
14
                    
15require_once('iCalendar.php');
                    
16require_once('XMLDocument.php');
                    
16require_once('XMLDocument.php');
                    
17require_once('DAVResource.php');
                    
18
                    
57  if ($parent_path != $request->principal->dav_name()) {
                    
58    dbg_error_log( 'PROPFIND', 'Not returning proxy response since "%s" != "%s"', $parent_path, $request->principal->dav_name() );
                    
59    return null; // Nothing to proxy for
                    
68
                    
69  dbg_error_log( 'PROPFIND', 'Returning proxy response to "%s" for "%s"', $which, $parent_path );
                    
70
                    
                
environment.php https://github.com/mspall/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        }
                    
                
class-smtp.php https://gitlab.com/Gashler/dp | PHP | 1003 lines
                    
1<?php
                    
2/*~ class.smtp.php
                    
3.---------------------------------------------------------------------------.
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.2.4                                                          |
                    
25/**
                    
26 * PHPMailer - PHP SMTP email transport class
                    
27 * NOTE: Designed for use with PHP version 5 and up
                    
42 * @author Chris Ryan
                    
43 * @package PHPMailer
                    
44 */
                    
66   * Sets the function/method to use for debugging output.
                    
67   * Right now we only honor "echo" or "error_log"
                    
68   * @var string
                    
                
class-pop3.php https://gitlab.com/Gashler/dp | PHP | 652 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * mail_fetch/setup.php
                    
4 *
                    
13 * @copyright 1999-2011 The SquirrelMail Project Team
                    
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
15 * @package plugins
                    
36    var $DEBUG      = FALSE;    // set to true to echo pop3
                    
37                                // commands and responses to error_log
                    
38                                // this WILL log passwords!
                    
99        if($this->DEBUG)
                    
100            error_log("POP3 SEND [connect: $server] GOT [$reply]",0);
                    
101        if(!$this->is_ok($reply)) {
                    
241        if($this->DEBUG) {
                    
242            @error_log("POP3 SEND [$cmd] GOT [$reply]",0);
                    
243        }
                    
                
iCal2csv.php https://gitlab.com/julienv/joomleague | PHP | 598 lines
                    
1<?php
                    
2/**
                    
6 * copyright (c) 2009 Kjell-Inge Gustafsson kigkonsult
                    
7 * www.kigkonsult.se/index.php
                    
8 * ical@kigkonsult.se
                    
28 * Convert iCal file to csv format and send file to browser (default) or save csv file to disk
                    
29 * Definition iCal  : rcf2445, http://localhost/work/kigkonsult.se/downloads/index.php#rfc2445
                    
30 * Definition csv   : http://en.wikipedia.org/wiki/Comma-separated_values
                    
30 * Definition csv   : http://en.wikipedia.org/wiki/Comma-separated_values
                    
31 * Using iCalcreator: http://localhost/work/kigkonsult.se/downloads/index.php#iCalcreator
                    
32 * ical directory/file read/write error OR iCalcreator parse error will be directed to error_log/log
                    
43 * @param string $diskfilename  opt, filename for file to save or else taken from $filename + 'csv' extension
                    
44 * @param object $log           opt, default FALSE (error_log), writes log to file using PEAR LOG or eClog class
                    
45 * @return bool                 returns FALSE when error
                    
50  if( !function_exists( 'fileCheckRead' ))
                    
51    require_once 'fileCheck.php';
                    
52  if( !class_exists( 'vcalendar', FALSE ))
                    
                
class-pop3.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 651 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * mail_fetch/setup.php
                    
4 *
                    
16 *
                    
17 * $Id: class-pop3.php 9503 2008-11-03 23:25:11Z ryan $
                    
18 */
                    
37    var $DEBUG      = FALSE;    // set to true to echo pop3
                    
38                                // commands and responses to error_log
                    
39                                // this WILL log passwords!
                    
100        if($this->DEBUG)
                    
101            error_log("POP3 SEND [connect: $server] GOT [$reply]",0);
                    
102        if(!$this->is_ok($reply)) {
                    
242        if($this->DEBUG) {
                    
243            @error_log("POP3 SEND [$cmd] GOT [$reply]",0);
                    
244        }
                    
                
PrettyPageHandler.php https://gitlab.com/fiesta-framework/Documentation | PHP | 576 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Whoops - php errors for cool kids
                    
4 * @author Filipe Dobreira <http://github.com/filp>
                    
100            // @todo: Make this more robust
                    
101            if (php_sapi_name() === 'cli') {
                    
102                // Help users who have been relying on an internal test value
                    
117
                    
118        $templateFile = $this->getResource("views/layout.html.php");
                    
119        $cssFile      = $this->getResource("css/whoops.base.css");
                    
134        }
                    
135        //error_log("###".Formatter::formatExceptionPlain($inspector)."###");
                    
136        // List of variables that will be passed to the layout template.
                    
145            // Template paths:
                    
146            "header"      => $this->getResource("views/header.html.php"),
                    
147            "frame_list"  => $this->getResource("views/frame_list.html.php"),
                    
                
class.smtp.php https://gitlab.com/hash-key66/ExamplesAndroid | PHP | 1079 lines
                    
3 * PHPMailer RFC821 SMTP email transport class.
                    
4 * PHP Version 5
                    
5 * @package PHPMailer
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
23 * @author Chris Ryan
                    
24 * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
                    
25 */
                    
28    /**
                    
29     * The PHPMailer SMTP version number.
                    
30     * @type string
                    
104     * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output
                    
105     * * `error_log` Output to error log as configured in php.ini
                    
106     *
                    
                
class-smtp.php https://gitlab.com/VTTE/sitios-vtte | PHP | 1213 lines
                    
3 * PHPMailer RFC821 SMTP email transport class.
                    
4 * PHP Version 5
                    
5 * @package PHPMailer
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
24 * @author Chris Ryan
                    
25 * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
                    
26 */
                    
29    /**
                    
30     * The PHPMailer SMTP version number.
                    
31     * @var string
                    
118     * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output
                    
119     * * `error_log` Output to error log as configured in php.ini
                    
120     *
                    
                
class-pop3.php https://gitlab.com/VTTE/sitios-vtte | PHP | 662 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * mail_fetch/setup.php
                    
4 *
                    
13 * @copyright 1999-2011 The SquirrelMail Project Team
                    
14 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
                    
15 * @package plugins
                    
36    var $DEBUG      = FALSE;    // set to true to echo pop3
                    
37                                // commands and responses to error_log
                    
38                                // this WILL log passwords!
                    
47	/**
                    
48	 * PHP5 constructor.
                    
49	 */
                    
68	/**
                    
69	 * PHP4 constructor.
                    
70	 */
                    
                
XMLDocument.php https://gitlab.com/karora/awl | PHP | 332 lines
                    
1<?php
                    
2/**
                    
12
                    
13require_once("XMLElement.php");
                    
14
                    
83        if ( isset($this->prefixes["$prefix$i"]) ) {
                    
84          dbg_error_log("ERROR", "Cannot find a free prefix for this namespace");
                    
85          exit;
                    
87        $prefix = "$prefix$i";
                    
88        dbg_error_log("XMLDocument", "auto-assigning prefix of '%s' for ns of '%s'", $prefix, $namespace );
                    
89      }
                    
90      else if ( $prefix == "" || isset($this->prefixes[$prefix]) ) {
                    
91        dbg_error_log("ERROR", "Cannot assign the same prefix to two different namespaces");
                    
92        exit;
                    
99      if ( isset($this->namespaces[$namespace]) && $this->namespaces[$namespace] != $prefix ) {
                    
100        dbg_error_log("ERROR", "Cannot use the same namespace with two different prefixes");
                    
101        exit;
                    
                
index.php https://gitlab.com/tutaalexandr/bot_local | PHP | 528 lines
                    
12  $thisFile = __FILE__;
                    
13  if (!file_exists('../config/global_config.php')) header('location: ../install/install_programo.php');
                    
14  require_once('../config/global_config.php');
                    
23  //load shared files
                    
24  require_once(_LIB_PATH_ . 'PDO_functions.php');
                    
25  require_once(_LIB_PATH_ . 'error_functions.php');
                    
117  $_SESSION['poadmin']['curPage'] = $curPage;
                    
118  ($curPage != 'logout' || $curPage == 'login') ? include ("$curPage.php") : false;
                    
119
                    
204      $linkClass = $needle['[linkHref]'];
                    
205      $linkClass = str_replace(' href="index.php?page=', '', $linkClass);
                    
206      $linkClass = str_replace('"', '', $linkClass);
                    
256                               '[linkClass]' => '',
                    
257                               '[linkHref]' => ' href="index.php?page=logout"',
                    
258                               '[linkOnclick]' => '',
                    
                
CASHDBA.php https://gitlab.com/x33n/platform | PHP | 591 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * No frills DBA connection class using PHP's PDO library. CASHDBA provides 
                    
4 * easy functions for data access using a get/set convention and auto-detection 
                    
62			$this->error = $e->getMessage();  
                    
63			error_log('CASHDBA error: ' . $this->error);
                    
64			die();
                    
123			$this->error = $e->getMessage();
                    
124			error_log('CASHDBA error: ' . $this->error);
                    
125		}
                    
414					$this->error = $e->getMessage();
                    
415					error_log('CASHDBA error: ' . $this->error);
                    
416				}	
                    
441				$this->error = $e->getMessage();
                    
442				error_log('CASHDBA error: ' . $this->error);
                    
443				die();
                    
                
class.smtp.php https://gitlab.com/x33n/ampache | PHP | 943 lines
                    
7 * @package   PHPMailer
                    
8 * @link      https://github.com/PHPMailer/PHPMailer/
                    
9 * @author Marcus Bointon (coolbru) <phpmailer@synchromedia.co.uk>
                    
27 * @package  PHPMailer
                    
28 * @link     https://github.com/PHPMailer/PHPMailer/blob/master/class.smtp.php
                    
29 * @author   Chris Ryan <unknown@example.com>
                    
29 * @author   Chris Ryan <unknown@example.com>
                    
30 * @author   Marcus Bointon <phpmailer@synchromedia.co.uk>
                    
31 * @license  http://www.gnu.org/copyleft/lesser.html Distributed under the Lesser General Public License (LGPL)
                    
51    /**
                    
52     * The PHPMailer SMTP Version number.
                    
53     * @type string
                    
406        // The following borrowed from
                    
407        // http://php.net/manual/en/function.mhash.php#27225
                    
408
                    
                
class.smtp.php https://gitlab.com/x33n/respond | PHP | 935 lines
                    
5 * @package PHPMailer
                    
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
                    
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
                    
53    /**
                    
54     * The PHPMailer SMTP Version number.
                    
55     * @type string
                    
93     * * `html` Output escaped, line breaks converted to <br>, appropriate for browser output
                    
94     * * `error_log` Output to error log as configured in php.ini
                    
95     * @type string
                    
165        switch ($this->Debugoutput) {
                    
166            case 'error_log':
                    
167                //Don't output, just log
                    
414        // The following borrowed from
                    
415        // http://php.net/manual/en/function.mhash.php#27225
                    
416
                    
                
class.smtp.php https://gitlab.com/x33n/ImpressPages | PHP | 1088 lines
                    
3.---------------------------------------------------------------------------.
                    
4|  Software: PHPMailer - PHP email class                                    |
                    
5|   Version: 5.2.6                                                          |
                    
5|   Version: 5.2.6                                                          |
                    
6|      Site: https://github.com/PHPMailer/PHPMailer/                        |
                    
7| ------------------------------------------------------------------------- |
                    
26/**
                    
27 * PHPMailer - PHP SMTP email transport class
                    
28 * NOTE: Designed for use with PHP version 5 and up
                    
38/**
                    
39 * PHP RFC821 SMTP client
                    
40 *
                    
67   * Sets the function/method to use for debugging output.
                    
68   * Right now we only honor 'echo' or 'error_log'
                    
69   * @var string
                    
                
PEAR.php https://gitlab.com/staging06/myproject | PHP | 1415 lines
                    
11 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
                    
12 * the PHP License and are unable to obtain it through the web, please
                    
13 * send a note to license@php.net so we can mail you a copy immediately.
                    
21 * @copyright  1997-2006 The PHP Group
                    
22 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
23 * @version    CVS: $Id: PEAR.php 6844 2011-06-03 14:46:51Z dMetzger $
                    
54
                    
55	if (substr(PHP_OS, 0, 3) == 'WIN') {
                    
56			define('OS_WINDOWS', true);
                    
104	 * @copyright  1997-2006 The PHP Group
                    
105	 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
                    
106	 * @version    Release: 1.4.9
                    
109	 * @since      Class available since PHP 4.0.2
                    
110	 * @link        http://pear.php.net/manual/en/core.pear.php#core.pear.pear
                    
111	 */
                    
                
https-domain-alias.php https://gitlab.com/Blueprint-Marketing/wp-https-domain-alias | PHP | 421 lines
                    
105        if( function_exists('domain_mapping_siteurl') ) {
                    
106          $domains[] = hstda_trim_url(parse_url( domain_mapping_siteurl( false ), PHP_URL_HOST ), 'www.');
                    
107        } 
                    
171  $url = is_multisite() ? htsda_mu_https_domain_rewrite( $url ) : htsda_https_domain_rewrite( $url );
                    
172  error_log( "out: $url" );
                    
173  return $url;
                    
232function htsda_link_adder_fix( $Hook ) {
                    
233  if ( 'post.php' === $Hook || 'post-new.php' === $Hook ) {
                    
234    // we only need to use this fix in post.php
                    
294function is_login_page() {
                    
295  return in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ) );
                    
296}
                    
389    <div id="message" class="error">
                    
390      <p><?php _e('This readme page is only visible when HTTPS_DOMAIN_ALIAS is not defined in wp-config.php. You will not see this once the constant is defined.', 'htsda' );?></p>
                    
391    </div>
                    
                
base.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 1270 lines
                    
1<?php
                    
2
                    
30  (Boolean     => array('name' => 'bool',          'enum' => 'Boolean',
                    
31                        'idlname' => 'Boolean',    'phpname' => 'bool'),
                    
32   Int32       => array('name' => 'int',           'enum' => 'Int32',
                    
32   Int32       => array('name' => 'int',           'enum' => 'Int32',
                    
33                        'idlname' => 'Int32',      'phpname' => 'int'),
                    
34   Int64       => array('name' => 'int64_t',       'enum' => 'Int64',
                    
34   Int64       => array('name' => 'int64_t',       'enum' => 'Int64',
                    
35                        'idlname' => 'Int64',      'phpname' => 'int'),
                    
36   Double      => array('name' => 'double',        'enum' => 'Double',
                    
36   Double      => array('name' => 'double',        'enum' => 'Double',
                    
37                        'idlname' => 'Double',     'phpname' => 'float'),
                    
38   String      => array('name' => 'String',        'enum' => 'String',
                    
38   String      => array('name' => 'String',        'enum' => 'String',
                    
39                        'idlname' => 'String',     'phpname' => 'string'),
                    
40   Int64Vec    => array('name' => 'Array',         'enum' => 'Array',
                    
                
OpenVBX.php https://bitbucket.org/gegere/openvbx.git | PHP | 531 lines
                    
1<?php
                    
2/**
                    
21
                    
22include(APPPATH.'libraries/Services/Twilio.php');
                    
23
                    
59		{
                    
60			error_log($e->getMessage());
                    
61			self::setNotificationMessage($e->getMessage());
                    
97		if(!is_file($path))
                    
98			error_log("Warning: CSS file does not exists: {$path}");
                    
99		$url = implode('/', array('plugins', $info['dir_name'], $file));
                    
109		if(!is_file($path))
                    
110			error_log("Warning: JS script does not exists: {$path}");
                    
111		$url = implode('/', array('plugins', $info['dir_name'], $file));
                    
188		{
                    
189			error_log($e->getMessage());
                    
190			return false;
                    
                
database.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 303 lines
                    
117     *
                    
118     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
119     *
                    
131     *
                    
132     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
133     *
                    
151     *
                    
152     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
153     *
                    
216     *
                    
217     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
218     *
                    
256     *
                    
257     * {@see http://php.net/manual/en/function.session-set-save-handler.php}
                    
258     *
                    
                
Tools.php https://github.com/seotoaster-team/seotoaster.git | PHP | 285 lines
                    
1<?php
                    
2
                    
86    {
                    
87		Tools_System_Tools::debugMode() && error_log('Called deprecated Tools_Page_Tools::getPreviewPath(). Use Tools_Page_Tools::getPreview() instead');
                    
88		$websiteHelper = Zend_Controller_Action_HelperBroker::getStaticHelper('website');
                    
95            if(APPLICATION_ENV == 'development') {
                    
96                error_log("(Cant find preview thumbnail because: " . $se->getMessage() . "\n" . $se->getTraceAsString());
                    
97            }
                    
                
update.php https://gitlab.com/ptisky/API_prestashop | PHP | 736 lines
                    
1<?php
                    
2
                    
9  private $_model;
                    
10  private $_PHPExcelFactory;
                    
11  private $_alphabet;
                    
18  public function __construct( $idShop, $idLang, $format, $fields ){
                    
19    include_once(dirname(__FILE__).'/../../config/config.inc.php');
                    
20    include_once(dirname(__FILE__).'/../../init.php');
                    
20    include_once(dirname(__FILE__).'/../../init.php');
                    
21    include_once(_PS_MODULE_DIR_ . 'updateproducts/libraries/PHPExcel_1.7.9/Classes/PHPExcel.php');
                    
22    include_once(_PS_MODULE_DIR_ . 'updateproducts/libraries/PHPExcel_1.7.9/Classes/PHPExcel/IOFactory.php');
                    
22    include_once(_PS_MODULE_DIR_ . 'updateproducts/libraries/PHPExcel_1.7.9/Classes/PHPExcel/IOFactory.php');
                    
23    include_once(_PS_MODULE_DIR_ . 'updateproducts/updateproducts.php');
                    
24    include_once('datamodel.php');
                    
50       'message'     =>  sprintf(Module::getInstanceByName('updateproducts')->l('Successfully updated %1s products from: %2s'), $this->_updatedProducts, $this->_productsForUpdate),
                    
51       'error_logs'  => _PS_BASE_URL_.__PS_BASE_URI__.'modules/updateproducts/error/error_logs.csv',
                    
52     );
                    
                
import.php https://gitlab.com/ptisky/API_prestashop | PHP | 978 lines
                    
22  private $_productsForImport = 0;
                    
23  private $_PHPExcelFactory;
                    
24  private $selected_countries = array();
                    
33    Context::getContext()->shop->save();
                    
34    include_once(_PS_MODULE_DIR_ . 'simpleimportproduct/libraries/PHPExcel_1.7.9/Classes/PHPExcel.php');
                    
35    include_once(_PS_MODULE_DIR_ . 'simpleimportproduct/libraries/PHPExcel_1.7.9/Classes/PHPExcel/IOFactory.php');
                    
35    include_once(_PS_MODULE_DIR_ . 'simpleimportproduct/libraries/PHPExcel_1.7.9/Classes/PHPExcel/IOFactory.php');
                    
36    include_once(_PS_MODULE_DIR_ . 'simpleimportproduct/datamodel.php');
                    
37    require_once(dirname(__FILE__).'/simpleimportproduct.php');
                    
67        'message'     =>  sprintf(Module::getInstanceByName('simpleimportproduct')->l('Successfully imported %1s products from: %2s'), $this->_importProducts, $this->_productsForImport),
                    
68        'error_logs'  => _PS_BASE_URL_.__PS_BASE_URI__.'modules/simpleimportproduct/error/error_logs.csv',
                    
69      );
                    
93    if($this->_format == 'xlsx'){
                    
94      $this->_PHPExcelFactory = PHPExcel_IOFactory::load("data/import_products.xls");
                    
95    }
                    
                
http.php https://gitlab.com/ptisky/API_prestashop | PHP | 1177 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * http.php
                    
4 *
                    
4 *
                    
5 * @(#) $Header: /opt2/ena/metal/http/http.php,v 1.92 2014/08/14 23:17:34 mlemos Exp $
                    
6 *
                    
18if (!class_exists('sasl_client_class')) {
                    
19    include _PS_MODULE_DIR_.'onepagecheckoutps/lib/social_network/sasl.php';
                    
20}
                    
33    var $request_method          ="GET";
                    
34    var $user_agent              ='httpclient (http://www.phpclasses.org/httpclient $Revision: 1.92 $)';
                    
35    var $accept                  ='';
                    
151
                    
152    Function SetPHPError($error, &$php_error_message, $error_code = HTTP_CLIENT_ERROR_UNSPECIFIED_ERROR)
                    
153    {
                    
                
index.php https://github.com/myiek/swopr.ca.git | PHP | 205 lines
                    
2
                    
3	require_once("../PeoplePods.php");	
                    
4	$POD = new PeoplePod(array('debug'=>0,'lockdown'=>'adminUser','authSecret'=>@$_COOKIE['pp_auth']));
                    
6	if (!$POD->success()) {
                    
7		error_log($POD->error());
                    
8	}
                    
87				
                    
88					window.location="<? $POD->podRoot(); ?>/admin/" + $('#search_type').val()+ "/search.php?q=" + escape($('#search_q').val());
                    
89					return false;
                    
117		<div class="info">
                    
118			Updates to the database schema are required!  <a href="options/upgrade.php">Click to upgrade.</a>
                    
119		</div>
                    
124			<div class="stat">
                    
125				<a href="<? $POD->podRoot(); ?>/admin/people/search.php?mode=newest"><?= $POD->pluralize($stats['members_total'],'<span class="number">@number</span> member','<span class="number">@number</span> members'); ?></a>
                    
126				<?= $stats['members_today']; ?> joined today<br /> 
                    
                
est.php https://gitlab.com/Atomic-ROM/external_wpa_supplicant_8 | PHP | 198 lines
                    
24  if ($needed) {
                    
25    error_log("EST: Missing auth parameter");
                    
26    die('Authentication failed');
                    
29  if (strlen($user) < 1) {
                    
30    error_log("EST: Empty username");
                    
31    die('Authentication failed');
                    
93  readfile("$osu_root/est/est-attrs.b64");
                    
94  error_log("EST: csrattrs");
                    
95} else if ($method == "POST" && $cmd == "simpleenroll") {
                    
99	   '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"');
                    
100    error_log("EST: simpleenroll - require authentication");
                    
101    die('Authentication required');
                    
113  $data = file_get_contents("php://input");
                    
114  error_log("EST: simpleenroll - POST data from php://input: " . $data);
                    
115  $req = base64_decode($data);
                    
                
Header.php https://github.com/tmccormi/openemr.git | PHP | 269 lines
                    
1<?php
                    
2/**
                    
33     *
                    
34     * Example usage in a PHP view script:
                    
35     * ```php
                    
58     * Inside of a smarty template, use | (pipe) delimited string of key names
                    
59     * ```php
                    
60     * {headerTemplate}
                    
77        } catch (\InvalidArgumentException $e) {
                    
78            error_log($e->getMessage());
                    
79        }
                    
264        } catch (ParseException $e) {
                    
265            error_log($e->getMessage());
                    
266            // @TODO need to handle this better. RD 2017-05-24
                    
                
expand.php https://gitlab.com/tiggerben/davical | PHP | 195 lines
                    
1<?php
                    
2/**
                    
11
                    
12require_once('vCalendar.php');
                    
13require_once('RRule-v2.php');
                    
80    $offset_from = "$offset_from seconds";
                    
81    dbg_error_log( 'tz/update', "%s of offset\n", $offset_from);
                    
82    $dtstart->modify($offset_from);
                    
                
permissions.inc.php https://github.com/gadamiak/modx-revolution-pl.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.';
                    
                
Iatsreport.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 211 lines
                    
1<?php
                    
2
                    
73  }
                    
74  require_once "CRM/iATS/iATSService.php";
                    
75  // an array of types => methods => payment status of the records retrieved
                    
83  // save all my api result error messages as well
                    
84  $error_log = array();
                    
85  foreach ($payment_processors as $user_name => $payment_processors_per_user) {
                    
92      $process_methods_per_type = $process_methods[$type];
                    
93      $iats_service_params = array('type' => 'report', 'iats_domain' => parse_url($payment_processor['url_site'], PHP_URL_HOST)); // + $iats_service_params;
                    
94      /* the is_test below should always be 0, but I'm leaving it in, in case eventually we want to be verifying tests */
                    
182            catch (CiviCRM_API3_Exception $e) {
                    
183              $error_log[] = $e->getMessage();
                    
184            }
                    
206  }
                    
207  if (count($error_log) > 0) {
                    
208    return civicrm_api3_create_error($message . '</br />' . implode('<br />', $error_log));
                    
                
 

Source

Language