草庐IT

found_dir

全部标签

php - fatal error : Class 'JFactory' not found in joomla 3. 3

3我有一个在我的网站上开发的表格,但不是joomla结构。在表单上,​​我正在尝试像这样调用事件用户数据:$user=JFactory::getUser();echo"Yournameis{$user->name},youremailis{$user->email},andyourusernameis{$user->username}";但我得到:fatalerror:在第38行的/home5/onlinepc/public_html/action/subs/custompcorder.php中找不到类“JFactory”custompcorder.php是我在第38行创建的表单的名称

php - 如何修复 Class 'Album\Controller\AlbumController' not found 错误?

我是ZendFramework2的新手。我创建了文件夹结构并粘贴了此页面中的代码片段http://framework.zend.com/manual/2.0/en/user-guide/routing-and-controllers.html关于ZendFramework2中的路由。我收到以下错误:(!)Fatalerror:Class'Album\Controller\AlbumController'notfoundinC:\wamp\www\zend\vendor\zendframework\zendframework\library\Zend\ServiceManager\Abs

php - Symfony3 : Fatal error: Class 'AppKernel' not found in .\bin\控制台

刚开始处理一个项目,我运行了composerupdate并在尝试清除缓存时遇到异常。当我尝试运行phpbin\consoleserver:run时,我收到了这条消息:phpbin\consoleserver:runPHPFatalerror:UncaughtSymfony\Component\Debug\Exception\FatalThrowableError:Fatalerror:Class'AppKernel'notfoundinCoreBundle\bin\console:27Stacktrace:#0{main}throwninCoreBundle\bin\consoleon

php - fatal error : Class 'PHPUnit_Framework_TestCase' not found

我正在使用XAMPP1.8.1、Windows764位、NetbeansIDE7.4我已经安装了PHPUnit。当我运行代码时,出现以下错误。Fatalerror:Class'PHPUnit_Framework_TestCase'notfoundinD:\xampp\htdocs\PHPUnit\index.phponline6代码是:assertEquals(0,count($stack));array_push($stack,'foo');$this->assertEquals('foo',$stack[count($stack)-1]);$this->assertEquals(1

php - XML 解析错误 : no root element found Location

所以我正在制作一个简单的登录/注册网络应用程序,但我不断收到以下错误:XMLParsingError:norootelementfoundLocation:file:///C:/xampp/htdocs/EdgarSerna95_Lab/login.htmlLineNumber37,Column3:和XMLParsingError:norootelementfoundLocation:file:///C:/xampp/htdocs/EdgarSerna95_Lab/php/login.phpLineNumber37,Column3:这是我的login.phpconnect_error)

php - zend 新手问题 - "No adapter found for "

正在学习zend教程并收到此消息,但不确定去哪里查看。谢谢,AnerroroccurredApplicationerrorExceptioninformation:Message:NoadapterfoundforModel_DbTable_BooksStacktrace:#0C:\xampp\php\PEAR\Zend\Db\Table\Abstract.php(739):Zend_Db_Table_Abstract->_setupDatabaseAdapter()#1C:\xampp\php\PEAR\Zend\Db\Table\Abstract.php(268):Zend_Db_

php - 须藤 : pear: command not found

我有雪豹,它显然预装了带有pear的php。我启用了php但找不到任何PEAR的迹象。所以我已经安装了它,现在phpinfo()显示了它的安装include_path.:/usr/lib/php/share/pear仍然是当我输入任何pear命令时$sudopear我收到一个错误:sudo:pear:commandnotfound我错过了什么? 最佳答案 给这只猫剥皮的方法有很多,但如果你已经安装了定位器(你可能已经安装了),我会输入这个:$locatebin/pear那应该列出一件或多件事情,其中​​一件看起来像是通向pear子的

php - 为什么我的 Laravel 模块出现 "class not found"错误?

我使用的是“laravel/framework”:“4.2.*”版本,我想在我的项目中使用模块系统。我已按照thisdocument中提供的说明进行操作.我可以使用以下命令创建模块:phpartisanmodules:createmodule_name。我已经在我的应用程序目录中创建了一个管理模块,并且已经创建了该模块的目录结构。我在管理模块的Controller的一个操作中使用DB::select('someSQLstatement'),但它给了我以下错误:Class'App\Modules\Admin\Controllers\DB'notfound.为什么找不到这个类?

php - SessionHandler::gc():ps_files_cleanup_dir |权限被拒绝 (13)

我在CentoOS(WHM/CPANEL)和Prestashop1.7中遇到PHP7问题系统给我这个消息:Noticeonline429infile/home/onywf3fr9a/public_html/app/cache/dev/classes.php[8]SessionHandler::gc():ps_files_cleanup_dir:opendir(/var/cpanel/php/sessions/ea-php70)失败:权限被拒绝(13) 最佳答案 背景当PHP尝试对过期的session进行垃圾回收,但包含session

Nginx 和 Dropbox 文件夹内的符号链接(symbolic link)根目录导致 "File not found."

原始问题Imetastrangeproblemwithnginx+php-fpm.Ifmyrootdirectorysettosomethinglike~/playground/apps/foo/public/,everythingworksfine.IfIsymlink~/playgroundto~/Dropbox/playgroundNginxrendersa"Filenotfound."string.Ifirstthoughtthatitwasapermissionsproblem,butitisn't(doublecheckedwithasimplephpfile)Somyqu