Linux system and php related error resolution summary

  

problem symptoms and error information:

Exception message: fsockopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolutionError code: 2-- Backtrace -- (): error.handler/opt/apache2/htdocs/validate.php(223): fsockopen/opt/apache2/htdocs/admin/index.php(104):

Possible causes and solutions: You The server environment can not resolve the domain name, please check if the server's dns service parsing problem

symptom symptoms and error information:

Warning: main(./include/lib/kTemplate/kTemplate. Class.php): failed to open stream: No such file or directory in //cmsware/public_html/CMSware/install.php on line 64

Possible causes and solutions: Due to network instability, the transmission process The file is damaged or incomplete, and there will be a corresponding file corruption prompt. Please retransmit.

Problem symptoms and error messages:

Warning: touch(): Utime failed: Operation not permitted in /home/dalian/public_html/include/lib/kTemplate/kTemplate_Compiler. Class.php on line 190

Possible causes and solutions: php runs in security restricted mode. Please refer to the security restriction mode (CMSware)

Question symptoms and error message:

White screen appears during installation

Possible causes and solutions: This situation is rare . When this problem occurs, please first open the php error report to view the specific error message (set the value of display_errors in the php configuration file php.ini to "ld"; on & rdquo;), then look at your server's php environment is not and release the package The version is the same. Thinking (CMSware) is divided into two distribution packages, php4 and php5, starting from version 2.5. Please use php4 to publish the package in php4 environment, please use php5 to publish the package under php5 environment. Secondly, please check if the relevant directory permission settings are correct.

Problem symptoms and error messages:

When the local test is installed, you can't continue after agreeing to the agreement

Possible causes and solutions : Please check the directory permissions first, it may be that the cmsware installation directory is not writable.

Problem symptoms and error messages:

Fatal error: Incompatible file format: The encoded file has format major ID 2, whereas the Optimizer expects 1; The encoded file was probably encoded by the Zend Encoder For php 5 (zendenc5), and therefore cannot be run on php 4 in e:\\www\\CMSware\\install.php on line 0

Possible causes and solutions: Your server is a php4 environment but you Use the thinking (CMSware) php5 package. Please use php4 to publish the package in php4 environment, php5 release package in php5 environment

Question symptom and error message:

Warning: Unexpected character in input: '\\' (ASCII=92) State=1 in D:\\website\\CMSware\\install.php on line 4Warning: Unexpected character in input: '?' (ASCII=30) state=1 in D:\\website\\CMSware\\install.php on line 4Parse error: Syntax error, unexpected T_STRING in D:\\website\\CMSware\\install.php on line 4

Possible causes and solutions: Please see if your server's php environment is consistent with the release version. Thinking (CMSware) is divided into two distribution packages, php4 and php5, starting from version 2.5. Please use php4 to publish the package in php4 environment, use php5 to publish the package in php5 environment

Problem symptoms and error message:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/sxipa /install.php on line 27

Possible causes and solutions: You need to connect to the authentication server for authentication when you officially install the program. Please check if your server's dns is normal and can access the external server port 80. Secondly, it is also possible that apache or mysql has a dead process, it is recommended to restart apache and mysql. You can also set the php timeout time to a little longer

symptom and error message:

install in virtual space, the first success, want to delete all thinking (CMSware) files and then re-upload Found that there are several folders can not be deleted, the property becomes 777 can not be deleted

Possible reasons and solutions: When there are files that cannot be deleted, select the hidden file in the ftp settings, see The .htaccess file can be deleted

The symptom and error message:

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 622 is not allowed to access /home /cmsware/wwwroot/site owned by uid 48 in /home/cmsware/wwwroot/mytest.php on line 6

Possible causes and solutions: This is because the server has PHP
enabled The security mode is caused by setting the safe_mode in php.ini to Off or unifying the FTP user to the WEB user.

Copyright © Windows knowledge All Rights Reserved