工作错误集

mac2022-06-30  83

回收的域名 由于config.php还是旧域名,导致替换帐号后还是回收界面,无奈,需要替换

--------------------

缺少一个客服订单统一管理,可以是3/5天内, sql目录顺序查询,统一导出,统一录入;一键化bash建站、站内优化管理。插件一键选择安装。

=================================================

前台页面空白

打开includes/application_top.php

//if (defined('STRICT_ERROR_REPORTING') && STRICT_ERROR_REPORTING == true) {if (1) { @ini_set('display_errors', '1');

浏览器发现:

Deprecated: Assigning the return value of new by reference is deprecated in /home/eetaske/public_html/includes/classes/seo.url.php on line 49 解决方法:去引用符号&Deprecated: Function ereg() is deprecated in /home/escdelilovetaske/public_html/includes/classes/db/mysql/query_factory.php on line 139Deprecated: Function ereg() is deprecated in /home/eetaske/public_html/includes/classes/db/mysql/query_factory.php on line 177

Fatal error: Cannot redeclare date_diff() in /home/eetaske/public_html/includes/functions/functions_general.php on line 1476

解决方法:

if(function_exists('date_diff') && phpversion() >= 5.3){date_diff(date_create($date1), date_create($date2));}else{

function date_diff($date1, $date2) {************}

}

Fatal error: Multiple access type modifiers are not allowed in /home/escdelilovetaske/public_html/includes/classes/ssu/cores/parser.php on line 17

函数过期而已 找到对应的改(最好是用代码编辑器去看 有行数显示)

&new SEO_URL_INSTALLER();  //去&

if (!ereg('^[0-9]', $key)) {   //挺多个都 改为 if (!preg_match('/^[0-9]/', $key)) {

ereg_replace() //preg_replace()

eregi() //preg_match()

protected protected static function getClass() { // 删去一层protected 

=======================================================================

发现前台sql导入后 乱码,configure.php 中查看define(charset,utf8),无则补充 有则删除

=======================================================================Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in/home/eeeneln/public_html/index.php on line 26Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/eeenen/public_html/index.php on line 26

解决方法:查看文件application_top.php是否缺失

=======================================================================

permision deny 

解决方法:chmod 755 public_html

=======================================================================

Strict Standards: Only variables should be assigned by reference in/home/theeinn/public_html/includes/modules/template_1/additional_images.phpon line 25

解决方法:把对应地方的引用&删去即可

=======================================================================

If you getting the following ERROR while try to create a (parked or new) domain in your cPanel account.“A DNS entry for “Domain.com” already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed”Solution:

Login to server through ssh and execute the following command.

/scripts/killdns domain.com

After that try again to re-add he domain.

You can check it through.

grep -R domain.com /var/cpanel/userdata/*

You can see the list of subdomains and addon/parked domains from this file of the user.

cat /var/cpanel/userdata/user_name/main =======================================================================

转载于:https://www.cnblogs.com/alex-13/p/4304808.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)