Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of not publishing articles in the background of phpcms

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the solution that the phpcms background can not publish the article, the article is very detailed, has a certain reference value, interested friends must read it!

What if the phpcms backend cannot publish articles?

PHPCMS returned 500 errors when logging in to the website to publish articles in the background.

Webmasters who often use CMS to build websites must be familiar with phpcms, an open source content management system built by php+mysql that runs perfectly on the php space of the worry-free host. This CMS system is suitable for shopping malls, film and television, platform information sites to build the most perfect, at the same time, with the continuous improvement, many open source templates of this program are also popular on the Internet. With the system plus template, it is much faster to use this program to build a website.

With the upgrade of the PHPCMS system, there have been some bug recently. Today, the editor helped a friend of the webmaster move. The webmaster is an information platform built by PHPCMS. When the move is ready, the webmaster failed to log on to the backstage of the website to publish the article, prompting that a 500 error was returned, and then immediately jumped back to the previous position. The editor looked up a lot of data but summed up the two most likely causes.

The following editor analyzes and studies how to solve the problem according to two possible reasons.

The first kind:

It may be that the server or a function of the server is not enabled. If you are using the CVM with its own environment, then fsockopen () may be disabled, and you need to call the configuration file html.class.php lib to enable it. Sometimes the CVM used may also be installed by some antivirus software to kill some files of phpcms by mistake, resulting in incomplete files. Similar problems can occur.

The second kind:

This is the bug of the program itself. Due to the constant upgrading of phpcms. In this way, bug was born one after another. The most common is caused by a change in the way phpcms is stored in session.

First, we find the path / caches/configs/system.php of the following files.

Just connect to ftp and change the mysql in 'session_storage' = >' mysql' to files.

Put the following code code:

'session_storage' = >' mysql' is stored by database

Modified to:

'session_storage' = >' files' stores all the contents of the above solution that the phpcms background cannot publish the article by file. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report