zendframework配置有关问题
zendframework配置问题
zendframework配置完成后,访问页面如下异常,是什么原因,请指教,谢谢。
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing E:\pro\website\application/configs/application.ini on line 204 ' in E:\pro\website\library\Zend\Config\Ini.php:182 Stack trace: #0 E:\pro\website\library\Zend\Config\Ini.php(202): Zend_Config_Ini->_parseIniFile('E:\pro\website...') #1 E:\pro\website\library\Zend\Config\Ini.php(126): Zend_Config_Ini->_loadIniFile('E:\pro\website...') #2 E:\pro\website\library\Zend\Application.php(386): Zend_Config_Ini->__construct('E:\pro\website...', 'development') #3 E:\pro\website\library\Zend\Application.php(85): Zend_Application->_loadConfig('E:\pro\website...') #4 E:\pro\website\content\index.php(27): Zend_Application->__construct('development', E:\pro\website...') #5 {main} thrown in E:\pro\website\library\Zend\Config\Ini.php on line 182
------解决方案--------------------
define ('P_S', PATH_SEPARATOR);
define ('ROOT', "../");
set_include_path(ROOT .P_S .'Zend' .P_S .ROOT.get_include_path());
require_once ROOT.'Zend/Loader.php';
require_once ROOT.'function/function.php';
require_once ROOT.'inc/access.php';
Zend_Loader::loadClass('Zend_Db');
Zend_Loader::loadClass('Zend_Config_Ini');
$config = new Zend_Config_Ini('../inc/config.ini', 'general');
$db = Zend_Db::factory($config->db->adapter,$config->db->config->toArray());
CheckingAccess($session->userid,'工作人员管理');
$session->perm='';
require_once ROOT."header.php";
$selectGroup = $db->select();
$selectGroup->from('sys_user', '*');
$selectGroup->where('IsGroup = ?',1);
$selectGroup->where('Sid = ?',$session->sid);
$dataGroup=$db->fetchAll($selectGroup);
------解决方案--------------------
E:\pro\website\application/configs/application.ini on line 204
------解决方案--------------------
resources.db.params.profiler = false
删掉这行试试

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



While installing a new version of an application, Windows may display this error message "An error occurred while parsing C:\\Windows\Microsoft.Net\Framework\v2.0.50727\Config\machine.configParser returned error 0xC00CE556". This problem also occurs when your system boots. No matter what situation you encounter this problem, .NETFramework is the real culprit behind the scenes. There are some very simple fixes you can use to stop this error code from appearing again. Fix 1 – Replace corrupted files You can easily replace corrupted ma from the original directory

Many users are not sure which one is worth buying, Xiaomi Mi Pad 6 or Mi Pad 6. From the configuration point of view, the higher configuration of Pro is definitely recommended, but it also depends on the price and their own budget, and the different product positioning groups are also different. Which one is worth buying, Xiaomi Mi Pad 6 or Pro? Answer: Xiaomi Mi Pad 6 Pro will be better, both in terms of performance and camera battery life. 1. Processor Xiaomi Pad 6: Snapdragon 870 Xiaomi Mi Pad 6 Pro: more powerful first-generation Snapdragon 8+ processor 2. Battery size Xiaomi Mi Pad 6: 8840mAh, 67W second charge Xiaomi Mi Pad 6 Pro: 8600mAh, 33W The fast-charging Xiaomi Mi Pad 6 will have better battery life, but charging will be slower. 3. Take photos with Xiaomi Mi Pad 6

iPhone 15 Pro vs. iPhone 14 Pro: Specs Comparison Here is a spec comparison between iPhone 15 Pro Max and iPhone 14 Pro Max: iPhone 15 Pro Max iPhone 14 Pro Max Display size 6.7 inches 6.7 inches Display technology Super Retina 2,000 nits Dimensions 6.29x3.02x0.32 inches 6.33x3.06x0.31 inches Weight 221 grams 240 grams

Many users don’t know how to turn on the Xiaomi Mi Band 8 when they first come into contact with it. In fact, the method is very simple. We only need to find the USB data cable and connect the watch to the power supply, and then charge it for a while. You can press the button to turn on. How to turn on Xiaomi Mi Band 8pro 1. First install the watch, that is, connect the theme and the strap on both sides. 2. Then when we turn on the watch for the first time, we need to connect the charging cable. The connection method is at the bottom of the watch. 3. Wait for the watch to vibrate to power on, and then connect to your phone. >>>

MacBook Air is an Apple laptop. Many users are curious about the differences between MacBook Air and Pro. These two notebooks have some differences in processor core, main frequency and graphics card type. The differences between MacBook Air and Pro: 1. Different processor cores and threads: MacBook Air's processor has dual cores and four threads. The Pro is more powerful than the MacBook Air, with four cores and eight threads. 2. The main frequency of the processor is different: the processor of MacBook Air has a main frequency of 1.6GHz. The main frequency of the pro's processor is 1.4GHz, which is slightly lower than that of the macbook air. 3. Different graphics cards: macbookair adopts

Xiaomi pro14 is already on the market, and its configuration is very good for a business office notebook. There are three processor configurations to choose from, and the price is not particularly high. Many friends don’t know the specific launch time of Xiaomi Pro14. Xiaomi Pro14 launch time A: Xiaomi Pro14 Ryzen Edition will be available for pre-order on November 10, 2021, with an initial price starting from 5,299 yuan. Xiaomi Notebook Pro 14 will be released on July 4, 2022, and will officially go on sale at midnight on July 8. Xiaomi pro14 introduction 1. The screen is equipped with a 14-inch 2.5K Super Retina screen with a resolution of 2560x1600, a screen-to-body ratio of up to 88%, a 100% sRGB color gamut, and a refresh rate of 120Hz. 2. Appearance adopts 6 series

The python environment this article relies on is: What is WSGI? WSGI is also called the web server universal gateway interface, and its full name is webservergatewayinterface. It defines a standard for how web servers and web applications should communicate and handle http requests and responses in Python. Note that it is just a protocol, or a specification or standard. You don’t have to follow this standard. Just like the web server we wrote in the previous article. WSGI is also divided into applications and server gateways. Among them, the well-known Flask belongs to applications, and uWSGI and wsgiref belong to server gateways. Personal feeling, WSG

Apple continues to push the boundaries of technology, and the latest proof of its innovation is the launch of the Apple A17 Pro GPU. This cutting-edge component features a completely redesigned GPU that promises significant improvements in performance, graphics, and user experience. The Apple A17 Pro GPU, launched alongside the iPhone 15 Pro, is a marvel of semiconductor engineering. It's manufactured using a 3nm process, which represents a major leap in miniaturization, packing more transistors into a single chip than ever before. This technical feat translates into greater power efficiency and computing power. Apple A17 Pro GPU delivers stunning graphics One of the standout features of the A17 Pro chip is its redesigned GPU. Apple has invested heavily in optimizing graphics performance, making it
