欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

SpeedPhp和smarty连接不显示有关问题

程序员文章站 2024-04-02 23:48:40
...
SpeedPhp和smarty连接不显示问题

Warning: mkdir(): Permission denied in /vagrant/test/init/spFunctions.php on line 262

Notice: Undefined index: DB_r in /vagrant/test/init/Core/spModel.php on line 1064

Notice: Undefined index: persistent in /vagrant/test/init/Drivers/mysql.php on line 107

Notice: Undefined index: port in /vagrant/test/init/Drivers/mysql.php on line 108

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /vagrant/test/init/Drivers/mysql.php on line 108

Warning: mkdir(): Permission denied in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 28

Warning: rename(/tmp/wrtdo786i,/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php): No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 48

Warning: chmod(): No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_write_file.php on line 50

Warning: include(/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php): failed to open stream: No such file or directory in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_template.php on line 434

Warning: include(): Failed opening '/vagrant/test/tmp/tpl/f162a5c0631cfa7b24672dfcd8d8318edd151995.file.user_info.html.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/test/init/Drivers/Smarty/sysplugins/smarty_internal_template.php on line 434

报了这样的错误,知道是权限问题,但是不知道如何修改,求助,mac系统,非常感谢。
------解决思路----------------------
Warning: mkdir(): Permission denied in /vagrant/test/init/spFunctions.php on line 262
是说在你的网站中没有创建目录的权限
请调整网站的目录权限

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /vagrant/test/init/Drivers/mysql.php on line 108
是说 mysql 函数组已经过时了,请改用mysqli 或 PDO
显然你的 php 高于 5.5 了

其他的错误都由这两条引发

如果对mac系统不熟悉,可请电脑公司的人帮忙弄一下
SpeedPhp和smarty连接不显示有关问题

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。

相关文章

相关视频