PageRenderTime 2489ms queryFilters 101ms Sphinxql 616ms GetByIds 1206ms meta 0ms repositoryFilters 492ms languageFilters 1ms sourceFilters 59ms

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

Source

Language

Repository

index.php git://github.com/volomike/Faster.git | PHP | 1,565 lines
1<?php
2
147*/
148define('HEADER',$sBase . '/app/_views/HEADER.php');
149/**
767			if (!file_exists($_F . '/app/_controllers/Default/cDefault.php')) {
768				trigger_error('Your folder layout is missing a app/_controllers/Default/cDefault.php controller file', E_USER_ERROR);
769			}
1009	* @param string $_sModelName The model path, such as 'Test', or 'SampleSystem/Test'. This translates
1010	* to app/_models/Test.php and app/_models/SampleSystem/Test.php, for example. Note that models do not have
1011	* an 'm' prefix before the filename because we really only needed in tabbed text editors to delineate
1332	* Note the alternative syntax for the Action parameter of the path. For instance if you have
1333	* /about for the URL, then this can map to either About/vDefault.php --OR-- About/vAbout.php.
1334	* This helps in text editors by limiting the confusion with all the vDefault.php files.
1548	* @link http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html
1549	* @link http://www.php.net/manual/en/pdo.errorcode.php
1550	*
template2.inc.php http://becontent.googlecode.com/svn/trunk/ | PHP | 1,344 lines
1<?php
2
140						if ($result4){
141							trigger_error("cannot define variables with the same name in foreach construct and out of them: (<[$name]>)", E_USER_ERROR);
142						}
166					   $diff = $counter_foreach_closed - $counter_foreach_opened;
167					   trigger_error("cannot define <i><[/foreach]></i> close tag without <i><[foreach]></i> open tag",E_USER_ERROR); 
168				}
172		               $diff = $counter_foreach_opened - $counter_foreach_closed;
173					   trigger_error("cannot define <i><[foreach]></i> open tag without <i><[/foreach]></i> close tag",E_USER_ERROR);
174		  }	  
185	      		if ($token[3]=="") {
186					trigger_error("undefined selector of tagLibrary for <i><[$token[1]]></i> variable",E_USER_ERROR);
187				} else {
742	      if($this->cacheFileExists()){
743		        if (PHP_OS == "WINNT" or PHP_OS == "WIN32") {
744					  $temp_dir = $this->getDefaultCacheDirName();
dict.class.php http://student-test.googlecode.com/svn/trunk/ | PHP | 408 lines
1<?php
2/* ----------------------------------------------------------------------- *\
9   ??: ???????, ????????????????.
10   $Id: dict.class.php,v 1.1 2008/12/20 12:03:00 hightman Exp $
11   -----------------------------------------------------------------------
46
47	// for PHP5
48	function __construct($fpath = '') { $this->PSCWS23_Dict($fpath); }
138		if (!require_once(dirname(__FILE__) . '/xdb_r.class.php'))
139			trigger_error('?? PHP ???? `xdb_r` ???, ???', E_USER_ERROR);
140
191		if (!extension_loaded('dba'))
192			trigger_error('?? PHP ???? `dba` ??, ????? PHP', E_USER_ERROR);
193
248		if (!extension_loaded('sqlite'))
249			trigger_error('?? PHP ???? `sqlite` ??, ????? PHP', E_USER_ERROR);
250
beEngine.inc.php http://becontent.googlecode.com/svn/trunk/ | PHP | 1,162 lines
1<?php
2/*
82			{
83				trigger_error("cannot define variables with the same name in foreach construct and out of them : ({$this->tags['open']}$ph{$this->tags['close']})", E_USER_ERROR);
84			}
156				{
157					if (!file_exists("include/tags/{$paramToken[2]}.inc.php"))
158					{
158					{
159						trigger_error("Library <b>{$paramToken[2]}</b> does not exists!", E_USER_ERROR);
160					}
170			}
171			include_once ("include/tags/$library.inc.php");
172			eval ("\$library_obj = new \$library();");
1061			{
1062				if (PHP_OS == "WINNT" or PHP_OS == "WIN32")
1063				{
database_api.php git://github.com/mantisbt/mantisbt.git | PHP | 1,317 lines
1<?php
2# MantisBT - A PHP based bugtracking system
25 *
26 * @uses config_api.php
27 * @uses constant_inc.php
27 * @uses constant_inc.php
28 * @uses error_api.php
29 * @uses logging_api.php
29 * @uses logging_api.php
30 * @uses utility_api.php
31 * @uses adodb/adodb.inc.php
33
34require_api( 'config_api.php' );
35require_api( 'constant_inc.php' );
35require_api( 'constant_inc.php' );
36require_api( 'error_api.php' );
37require_api( 'logging_api.php' );
IniConfig.php https://github.com/neymanna/fusionforge.git | PHP | 1,260 lines
46 * - Don't use too much globals for easier integration into other projects
47 *   (namespace pollution). (gforge, phpnuke, postnuke, phpBB2, carolina, ...)
48 *   Use one global $phpwiki object instead which holds the cfg vars, constants 
541                              .'TranslateText:UpLoad:UserPreferences:WantedPages:WhoIsOnline:'
542                              .'PhpWikiAdministration/Remove:PhpWikiAdministration/Chmod:'
543                              .'PhpWikiAdministration/Rename:PhpWikiAdministration/Replace:'
543                              .'PhpWikiAdministration/Rename:PhpWikiAdministration/Replace:'
544                              .'PhpWikiAdministration/SetAcl:PhpWikiAdministration/Chown'
545                              );
1044// Revision 1.46  2004/07/02 09:55:58  rurban
1045// more stability fixes: new DISABLE_GETIMAGESIZE if your php crashes when loading LinkIcons: failing getimagesize in old phps; blockparser stabilized
1046//
1199// PageGroupTestOne => subpages
1200// renamed PhpWikiRss to PhpWikiRecentChanges
1201// more docs, default configs, ...
ldap_api.php git://github.com/mantisbt/mantisbt.git | PHP | 515 lines
1<?php
2# MantisBT - A PHP based bugtracking system
25 *
26 * @uses config_api.php
27 * @uses constant_inc.php
27 * @uses constant_inc.php
28 * @uses logging_api.php
29 * @uses user_api.php
29 * @uses user_api.php
30 * @uses utility_api.php
31 */
32
33require_api( 'config_api.php' );
34require_api( 'constant_inc.php' );
34require_api( 'constant_inc.php' );
35require_api( 'logging_api.php' );
36require_api( 'user_api.php' );
common.inc.php git://pkgs.fedoraproject.org/phpMyAdmin | PHP | 1,068 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.
394    'pdf_schema.php',
395    //'phpinfo.php',
396    'querywindow.php',
551/**
552 * avoid problems in phpmyadmin.css.php in some cases
553 * @global string $js_frame
string_api.php git://github.com/mantisbt/mantisbt.git | PHP | 1,003 lines
1<?php
2# MantisBT - A PHP based bugtracking system
25 *
26 * @uses access_api.php
27 * @uses authentication_api.php
27 * @uses authentication_api.php
28 * @uses bug_api.php
29 * @uses bugnote_api.php
29 * @uses bugnote_api.php
30 * @uses config_api.php
31 * @uses constant_inc.php
31 * @uses constant_inc.php
32 * @uses email_api.php
33 * @uses event_api.php
33 * @uses event_api.php
34 * @uses helper_api.php
35 * @uses lang_api.php
ItemBlock.php https://bitbucket.org/audax/testmaker-mod | PHP | 927 lines
1<?php
2
24 */
25require_once(dirname(__FILE__).'/ParentTreeBlock.php');
26/**
28 */
29require_once(dirname(__FILE__).'/Item.php');
30require_once(dirname(__FILE__).'/ItemBlockAnswer.php');
58		$type ? $type : $type = 'McsaItem';
59		if (!file_exists(ROOT.'upload/items/'.$type.'.php')) {
60			trigger_error('Unknown item type.');
61		}
62		require_once(ROOT.'upload/items/'.$type.'.php');
63		return new $type($id);
82		{
83			trigger_error('<b>ParentTreeBlock:createTreeChild</b>: '.$position.' is no valid position');
84			return false;
configure.php https://github.com/msadouni/cakephp2x.git | PHP | 1,241 lines
8 *
9 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
10 * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
15 * @copyright     Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 * @link          http://cakephp.org CakePHP(tm) Project
17 * @package       cake
323		if ($cache === null) {
324			cache('persistent' . DS . $name . '.php', "<?php\n\$config = array();\n", $expires);
325		}
354			if (!include(CONFIGS . 'core.php')) {
355				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);
356			}
395			if (!include(CONFIGS . 'bootstrap.php')) {
396				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);
397			}
configure.php http://croogo.googlecode.com/svn/trunk/ | 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/AzuiSleet/cdr-web/ | PHP | 1,320 lines
6 *
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link          http://cakephp.org CakePHP(tm) Project
15 * @package       cake
392			if (!include(CONFIGS . 'core.php')) {
393				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);
394			}
399				if (empty($cache['settings'])) {
400					trigger_error(__('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', true), E_USER_WARNING);
401					$cache = Cache::config('default', array('engine' => 'File'));
433			if (!include(CONFIGS . 'bootstrap.php')) {
434				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);
435			}
configure.php http://myopensources.googlecode.com/svn/trunk/ | 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)
17 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
18 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
19 * @package       cake
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			}
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 http://myopensources.googlecode.com/svn/trunk/ | 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'));
configure.php http://skygames.googlecode.com/svn/trunk/ | PHP | 1,171 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
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 http://goldcat.googlecode.com/svn/ | PHP | 1,240 lines
10 *
11 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
12 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
40 *
41 * @link          http://book.cakephp.org/view/44/CakePHP-Core-Configuration-Variables
42 * @var integer
373			if (!include(CONFIGS . 'core.php')) {
374				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);
375			}
377			if (!include(CONFIGS . 'bootstrap.php')) {
378				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);
379			}
384				if (empty($cache['settings'])) {
385					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
386					$cache = Cache::config('default', array('engine' => 'File'));
configure.php git://github.com/Datawalke/Coordino.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://code.google.com/p/mj-its/ | text | 0 lines
9 *
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
16 * @copyright     Copyright 2005-2010, 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 http://noserub.googlecode.com/svn/trunk/ | PHP | 1,279 lines
10 *
11 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
12 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
18 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
19 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
20 * @package       cake
372			if (!include(CONFIGS . 'core.php')) {
373				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);
374			}
376			if (!include(CONFIGS . 'bootstrap.php')) {
377				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);
378			}
383				if (empty($cache['settings'])) {
384					trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
385					$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