PHPCMS release and generate content page Blank Solution

Source: Internet
Author: User
Tags parse error

PHPCMS release and generate content page Blank Solution

2014/10/14 Technical Article Comment: No comments viewed:

Want to change a CMS to use, so installed a few CMS system, finally selected Phpcms. Not because it's very good, but because the label of the Empire doesn't like it. By the way, the Empire CMS column custom field, I feel very good, if used to do a categorical column, the classification of its own properties can be customized fields to achieve, like some game site partition is very convenient. Or back to the point, the use of phpcms to create a good column, is about to add content, when the problem came, pop-up content page blank nothing. Online Check the information, there is said to be the problem of MoD security, but also said that the cache can not read the problem. According to the online several methods are not very effective, and did not fix for a long time.

Online tutorials have mentioned the use of locally installed PHPCMS cache files to overwrite the files on the FTP space, the file is caches\caches_model\caches_data\content_form.class.php, this method has been tested to be effective, But unfortunately, as long as you refresh the cache, then the problem arises, publish the article or blank one, the symptoms do not cure! Can not always upload every time, how hard it is. On the internet also found another method, delete the video model, this castrated system function method, I think this will not be the best solution.

That is, the cache, where it is always generated, and is generated after the problem, then the source of the error must be generated. Open the Add Content page again, then download Error_log to see the last line is the error as follows (some places I use * instead).

[14-oct-2014 15:47:49 etc/gmt-8] PHP Parse error:syntax error, unexpected "<script language=" JavaScript "(t_encapse D_and_whitespace) in/home/**/public_html/***.com/caches/caches_model/caches_data/content_form.class.php on line 521 "

Download "content_form.class.php" View the code near 521, is a function: Functions video ($field, $value, $fieldinfo), in conjunction with what others say on the web, the problem points to the video model. Just started using Phpcms, said really do not know where it's directory, of course, Baidu, get: Phpcms\modules\content\fields\video. It has a total of 7 files below, a look at the beginning of form.inc.php is the function video ($field, $value, $fieldinfo), from the FTP download and local comparison, the less a large load, it should be uploaded incomplete. FTP upload after the overlay it is still the same less after part, do not understand why, had to use online editing stick in. Refresh the problem and solve it.

Refresh, the next generation of content page, the egg hurts, can not be generated. and use the above method to trace again, the error is cached in the content_output.class.php, the same method with online editing sticky output.inc.php save, build success! Refreshing the cache will not present a problem.

Summing up, the problem is not on the phpcms, but I use a foreign server, the transmission process caused by the missing.

PHPCMS release and generate content page Blank Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.