Home> CMS Tutorial> PHPCMS> body text

What should I do if phpcms cannot collect the URL?

藏色散人
Release: 2020-01-07 10:26:59
Original
2408 people have browsed it

What should I do if phpcms cannot collect the URL?

What should I do if phpcms cannot collect the URL?

When phpcms collects, it prompts "No URL list found, please collect the URL first". Solution

Newly installed phpcmsV9. After writing the collection rules, click test, the URL can be mentioned, and the article can be extracted. However, when actually collecting the URL, after the URL collection is successful, when collecting the content, it prompts "The URL list was not found, please collect the URL first."

Obviously the URL has been collected. It should be a program problem.

After searching online, it turned out to be a code problem. Modification method:

Modify

phpcms\modules\collection\node.php
Copy after login

line 291

if (empty($v['url']) || empty($v['title'])) continue;
Copy after login

to

if (empty($v['url'])) continue;
Copy after login

The reason is that when phpcms collects the URL list and puts it into the database, it also detects the "URL" and "Connection Title" is not empty.

Delete the judgment that "the detection title is empty".

Then the test is successful.

I saw someone on the Internet saying that the change was still unsuccessful. The actual thing is that you extracted the URL, and in the database, it no longer extracts the URL repeatedly, resulting in "no URL extraction this time." The solution is to

Clear the contents of the v9_collection_history table. You can re-extract the URL.

PHP Chinese website, a large number of freePHPCMS tutorials, welcome to learn online!

The above is the detailed content of What should I do if phpcms cannot collect the URL?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!