PageRenderTime 825ms queryFilters 61ms Sphinxql 242ms GetByIds 419ms meta 0ms repositoryFilters 95ms languageFilters 1ms sourceFilters 18ms

25,451 results for 'php trigger_error repo:cope/Sortables-CAPTCHA-Plugin' (825 ms)

Source

Language

Repository

common.inc.php https://bitbucket.org/adarshj/convenient_website.git | PHP | 1,083 lines
60/*
61 * This setting was removed in PHP 5.3. But at this point PMA_PHP_INT_VERSION
62 * is not yet defined so we use another way to find out the PHP version.
176}
177$PMA_PHP_SELF = htmlspecialchars($PMA_PHP_SELF);
178
260/**
261 * This setting was removed in PHP 5.4. But at this point PMA_PHP_INT_VERSION
262 * is not yet defined so we use another way to find out the PHP version.
409    'pdf_schema.php',
410    //'phpinfo.php',
411    'querywindow.php',
566/**
567 * avoid problems in phpmyadmin.css.php in some cases
568 * @global string $js_frame
common.inc.php https://bitbucket.org/gm112/zfgc3.git | PHP | 1,084 lines
60/*
61 * This setting was removed in PHP 5.3. But at this point PMA_PHP_INT_VERSION
62 * is not yet defined so we use another way to find out the PHP version.
176}
177$PMA_PHP_SELF = htmlspecialchars($PMA_PHP_SELF);
178
260/**
261 * This setting was removed in PHP 5.4. But at this point PMA_PHP_INT_VERSION
262 * is not yet defined so we use another way to find out the PHP version.
409    'pdf_schema.php',
410    //'phpinfo.php',
411    'querywindow.php',
566/**
567 * avoid problems in phpmyadmin.css.php in some cases
568 * @global string $js_frame
user_profile_edit.php https://github.com/nicdev007/sitracker.git | PHP | 436 lines
1<?php
2// edit_profile.php
14$permission = 4; // Edit your profile
15require ('core.php');
16require (APPLICATION_LIBPATH . 'functions.inc.php');
17// This page requires authentication
18require (APPLICATION_LIBPATH . 'auth.inc.php');
19
38    $title = $strEditProfile;
39    include (APPLICATION_INCPATH . 'htmlheader.inc.php');
40
44    $result = mysql_query($sql);
45    if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error(), E_USER_WARNING);
46
46
47    if (mysql_num_rows($result) < 1) trigger_error("$sql No such user ".strip_tags($edituserid),E_USER_WARNING);
48    $user = mysql_fetch_object($result);
user_profile_edit.php https://github.com/paulheaney/sitracker.git | PHP | 442 lines
1<?php
2// edit_profile.php
14$permission = 4; // Edit your profile
15require ('core.php');
16require (APPLICATION_LIBPATH . 'functions.inc.php');
17// This page requires authentication
18require (APPLICATION_LIBPATH . 'auth.inc.php');
19
38    $title = $strEditProfile;
39    include (APPLICATION_INCPATH . 'htmlheader.inc.php');
40
44    $result = mysql_query($sql);
45    if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error(), E_USER_WARNING);
46
46
47    if (mysql_num_rows($result) < 1) trigger_error("$sql No such user ".strip_tags($edituserid),E_USER_WARNING);
48    $user = mysql_fetch_object($result);
ldap_api.php git://pkgs.fedoraproject.org/mantis | PHP | 528 lines
1<?php
2# MantisBT - a php based bugtracking system
42	if( !extension_loaded( 'ldap' ) ) {
43		log_event( LOG_LDAP, "Error: LDAP extension missing in php" );
44		trigger_error( ERROR_LDAP_EXTENSION_NOT_LOADED, ERROR );
90			log_event( LOG_LDAP, "Bind to ldap server failed" );
91			trigger_error( ERROR_LDAP_SERVER_CONNECT_FAILED, ERROR );
92		} else {
96		log_event( LOG_LDAP, "Connection to ldap server failed" );
97		trigger_error( ERROR_LDAP_SERVER_CONNECT_FAILED, ERROR );
98	}
352			ldap_log_error( $t_ds );
353			trigger_error( ERROR_LDAP_AUTH_FAILED, ERROR );
354		}
362			log_event( LOG_LDAP, "ldap search failed" );
363			trigger_error( ERROR_LDAP_AUTH_FAILED, ERROR );
364		}
configure.php https://github.com/samanz/cakecart.git | PHP | 1,176 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
11 * Copyright 2005-2008, Cake Software Foundation, Inc.
391		if (!isset($config)) {
392			trigger_error(sprintf(__("Configure::load() - no variable \$config found in %s.php", true), $fileName), E_USER_WARNING);
393			return false;
635			if (!include(CONFIGS . 'core.php')) {
636				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
637			}
639			if (!include(CONFIGS . 'bootstrap.php')) {
640				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
641			}
646				if (empty($cache['settings'])) {
647					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
648					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://github.com/tfe/maitre-d.git | PHP | 1,176 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
11 * Copyright 2005-2008, Cake Software Foundation, Inc.
391		if (!isset($config)) {
392			trigger_error(sprintf(__("Configure::load() - no variable \$config found in %s.php", true), $fileName), E_USER_WARNING);
393			return false;
635			if (!include(CONFIGS . 'core.php')) {
636				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
637			}
639			if (!include(CONFIGS . 'bootstrap.php')) {
640				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
641			}
646				if (empty($cache['settings'])) {
647					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
648					$cache = Cache::config('default', array('engine' => 'File'));
install.php http://eude.googlecode.com/svn/branches/1.4.5/ | PHP | 169 lines
1<?php
2/**
3 * @author Alex10336
4 * Derničre modification: $Id: install.php 576 2010-07-30 20:47:12Z Alex10336 $
5 * @license GNU Public License 3.0 ( http://www.gnu.org/licenses/gpl-3.0.txt )
7 */
8include ('../init.php');
9if (file_exists('../Script/Entete.php'))
9if (file_exists('../Script/Entete.php'))
10    trigger_error('Installation existante', E_USER_ERROR);
11if (!file_exists('./install.conf.php'))
11if (!file_exists('./install.conf.php'))
12    trigger_error('Fichier de configuration principal manquant (install.conf.php)', E_USER_ERROR);
13
24    @unlink(ROOT_PATH . 'Script' . DIRECTORY_SEPARATOR . 'test.lock');
25    trigger_error('I/O Error test.lock chmod "/install" and "/Script" directory to 777', E_USER_ERROR);
26}
System.php https://github.com/svn2github/efront-lms.git | PHP | 622 lines
1<?php
2/**
10 * @copyright  1997-2009 The Authors
11 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
12 * @version    CVS: $Id$
12 * @version    CVS: $Id$
13 * @link       http://pear.php.net/package/PEAR
14 * @since      File available since Release 0.1
19 */
20require_once 'PEAR.php';
21require_once 'Console/Getopt.php';
30* GNU commands. The functions will return (bool) false on error and will
31* trigger the error with the PHP trigger_error() function (you can silence
32* the error by prefixing a '@' sign after the function call, but this
79    /**
80     * Output errors with PHP trigger_error(). You can silence the errors
81     * with prefixing a "@" sign to the function call: @System::mkdir(..);
System.php https://github.com/touv/phpfreechat.git | PHP | 588 lines
1<?php
2/**
10 * the PHP License and are unable to obtain it through the web, please
11 * send a note to license@php.net so we can mail you a copy immediately.
12 *
16 * @copyright  1997-2006 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: System.php,v 1.53.2.1 2006/06/16 13:55:16 pajoye Exp $
36* GNU commands. The functions will return (bool) false on error and will
37* trigger the error with the PHP trigger_error() function (you can silence
38* the error by prefixing a '@' sign after the function call).
56* @copyright  1997-2006 The PHP Group
57* @license    http://www.php.net/license/3_0.txt  PHP License 3.0
58* @version    Release: 1.4.11
81    /**
82    * Output errors with PHP trigger_error(). You can silence the errors
83    * with prefixing a "@" sign to the function call: @System::mkdir(..);
System.php https://github.com/jmgpena/sbook.git | PHP | 541 lines
1<?php
2//
7// +----------------------------------------------------------------------+
8// | This source file is subject to version 3.0 of the PHP license,       |
9// | that is bundled with this package in the file LICENSE, and is        |
10// | available through the world-wide-web at the following url:           |
11// | http://www.php.net/license/3_0.txt.                                  |
12// | If you did not receive a copy of the PHP license and are unable to   |
13// | obtain it through the world-wide-web, please send a note to          |
14// | license@php.net so we can mail you a copy immediately.               |
15// +----------------------------------------------------------------------+
32* GNU commands. The functions will return (bool) false on error and will
33* trigger the error with the PHP trigger_error() function (you can silence
34* the error by prefixing a '@' sign after the function call).
74    /**
75    * Output errors with PHP trigger_error(). You can silence the errors
76    * with prefixing a "@" sign to the function call: @System::mkdir(..);
configure.php https://bitbucket.org/uziel/busao.git | PHP | 1,328 lines
6 *
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link          http://cakephp.org CakePHP(tm) Project
15 * @package       cake
400			if (!include(CONFIGS . 'core.php')) {
401				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
402			}
407				if (empty($cache['settings'])) {
408					trigger_error(__('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', true), E_USER_WARNING);
409					$cache = Cache::config('default', array('engine' => 'File'));
441			if (!include(CONFIGS . 'bootstrap.php')) {
442				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
443			}
configure.php https://bitbucket.org/unsl/listop.git | PHP | 1,182 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
107 *
108 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
109 * @var integer
638			if (!include(CONFIGS . 'core.php')) {
639				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
640			}
645				if (empty($cache['settings'])) {
646					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
647					$cache = Cache::config('default', array('engine' => 'File'));
679			if (!include(CONFIGS . 'bootstrap.php')) {
680				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
681			}
configure.php https://bitbucket.org/webpolis/liiv.git | PHP | 1,194 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
107 *
108 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
109 * @var integer
651			if (!include(CONFIGS . 'core.php')) {
652				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
653			}
655			if (!include(CONFIGS . 'bootstrap.php')) {
656				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
657			}
662				if (empty($cache['settings'])) {
663					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
664					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://bitbucket.org/jmhmd/hrfreeclinic | PHP | 1,159 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
11 * Copyright 2005-2008, Cake Software Foundation, Inc.
393		if (!isset($config)) {
394			trigger_error(sprintf(__("Configure::load() - no variable \$config found in %s.php", true), $fileName), E_USER_WARNING);
395			return false;
616			if (!include(CONFIGS . 'core.php')) {
617				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
618			}
620			if (!include(CONFIGS . 'bootstrap.php')) {
621				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
622			}
627				if (empty($cache['settings'])) {
628					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
629					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://github.com/Dieterbe/cake.git | PHP | 1,191 lines
1<?php
2/* SVN FILE: $Id: configure.php 7936 2008-12-18 00:12:27Z phpnut $ */
3/**
9 *
10 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
648			if (!include(CONFIGS . 'core.php')) {
649				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
650			}
652			if (!include(CONFIGS . 'bootstrap.php')) {
653				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
654			}
659				if (empty($cache['settings'])) {
660					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
661					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://github.com/tiwasaki/hero_web_api.git | PHP | 1,195 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
107 *
108 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
109 * @var integer
650			if (!include(CONFIGS . 'core.php')) {
651				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
652			}
654			if (!include(CONFIGS . 'bootstrap.php')) {
655				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
656			}
661				if (empty($cache['settings'])) {
662					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
663					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://github.com/mariuz/firetube.git | PHP | 1,195 lines
9 *
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
11 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
17 * @link          http://cakephp.org CakePHP(tm) Project
18 * @package       cake
106 *
107 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
108 * @var integer
630			if (!include(CONFIGS . 'core.php')) {
631				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
632			}
671			if (!include(CONFIGS . 'bootstrap.php')) {
672				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
673			}
configure.php https://github.com/yjcqwliu/xuanjianghui.git | PHP | 1,159 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
11 * Copyright 2005-2008, Cake Software Foundation, Inc.
393		if (!isset($config)) {
394			trigger_error(sprintf(__("Configure::load() - no variable \$config found in %s.php", true), $fileName), E_USER_WARNING);
395			return false;
616			if (!include(CONFIGS . 'core.php')) {
617				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
618			}
620			if (!include(CONFIGS . 'bootstrap.php')) {
621				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
622			}
627				if (empty($cache['settings'])) {
628					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
629					$cache = Cache::config('default', array('engine' => 'File'));
configure.php https://github.com/MrRio/wildflower.git | PHP | 1,191 lines
9 *
10 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
11 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
107 *
108 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
109 * @var integer
648			if (!include(CONFIGS . 'core.php')) {
649				trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
650			}
652			if (!include(CONFIGS . 'bootstrap.php')) {
653				trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR);
654			}
659				if (empty($cache['settings'])) {
660					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
661					$cache = Cache::config('default', array('engine' => 'File'));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21