Hongmu Notes
Home Program Notes Summary of common problems in Yiyou CMS installation
Program Notes Yiyoucms

Summary of common problems in Yiyou CMS installation

Summary of common problems in Yiyou CMS installation

EyouCMS is an enterprise website building system developed using PHP and MySQL. During the actual installation and deployment process, various issues may arise due to differences in server environments or improper operational procedures. This article compiles seven of the most common installation errors along with their respective solutions for your reference.

Question 1: Installation error – "Please carefully verify the database username and password."

Error occurrence:

During installation, the system may display the message "Database connection failed – please reconfigure" or "Please verify the database username and password carefully."

analysis of causes:

This issue is usually caused by incorrect database connection information being entered.Any incorrect entry—such as the database address, database name, username, or password—will prevent the CMS from connecting to the database.

resolvent:

  1. Check database addressThe local environment is typically:localhost127.0.0.1For remote databases, enter the correct IP address or domain name.

  2. Check database portThe default port is 3306; if you are using a non-default port, please enter it correctly.

  3. Check the database username and passwordPlease ensure that your username and password are correct; if you are unsure, you may try resetting your password.

  4. Check database namePlease confirm that the database has been created and that its name is correct.

  5. Check database user permissionsEnsure that database users have the necessary permissions, such as creating tables and inserting data.

  6. If all the above steps have been performed correctly, you may try using tools such as phpMyAdmin to verify whether the database connection details are valid.

Question 2: The local test runs normally; however, when deployed on a virtual host, an `include_once` error occurs.

Error occurrence:

PHP Warning: include_once(./templates/step1.php): failed to open stream: No such file or directory 
PHP Warning: include_once(): Failed opening './templates/step1.php' for inclusion
 

This warning appears in an environment using Virtual Host with PHP 5.5 and MySQL 5.6.

analysis of causes:

The virtual hosting environment is incompatible; the PHP version does not meet the installation requirements of EyouCMS.

resolvent:

  1. Log in to your Virtual Host Control Panel and locate the PHP Version Settings.

  2. Update your PHP version to 5.4 (strongly recommended), or try a compatible version between PHP 5.4 and 7.3.

  3. Refresh the installation page after making the necessary adjustments; if the error persists, try clearing your browser cache and then attempting the process again.

Core ConceptThese issues are typically environmental-related; they can usually be resolved by switching the PHP version.

Question 3: After打包备份并上传以进行安装,第 4 步出现错误: "Failed to write to table ey_ad_position".

Error occurrence:

{"msg":"u5199u5165u8868ey_ad_positionu8bb0u5f55u5931u8d25uff0cu8bf7u5c1du8bd5F5u5237u65b0!"}

"Failed to insert the ey_ad_position record; please try refreshing the page by pressing F5!"

analysis of causes:

The database lacks a critical update statement, which has affected the table.ey_ad_positionUnable to write data normally

resolvent:

  1. Create a new plain text document, copy the following two SQL statements, and save them aseyou.sqldocument

    UPDATE `ey_ad_position` SET `height` = 0 WHERE `height` is NULL OR `height` = ''; 
    UPDATE `ey_ad_position` SET `width` = 0 WHERE `width` is NULL OR `width` = '';
     
  2. Log in to the original website's backend and navigate to ";Backup and Restore”Function, uploadeyou.sqlfile and execute

  3. After successful execution, back up the database again in the background, package it into an installation package, and then re-upload it to the space for installation.

For more detailed solutions, please refer to the official Q&A:Click to jump

Question 4: The database file version number does not match the CMS source code version number.

Error occurrence:

"Unable to install, the database file version number (v1.3.5) is inconsistent with the CMS source code version number (v1.3.6), click to view! ”

analysis of causes:

This problem is usually caused by packing and moving directly without backing up the database after the background upgrade, resulting in a mismatch between the database version and the source code version.

Solutions (two types):

Method 1 (recommended, used when the original website still exists):

Return to the original website and back up the database before packing and moving.. For moving tutorials, please refer to:https://www.eyoucms.com/ask/list_1_1/4014.html

Method two (emergency plan):

Modify the CMS source code version number. Opendata/conf/version.txtfile, change the version number to the prompted database version number, and then continue the normal installation. After the installation is complete, change the version number back to the original version number.

提示:登录网站后台后记得及时备份数据库!

Question 5: During installation, an error is reported: "Failed to write the ey_archives record."

Error occurrence:

"During installation, the database prompts that writing records to table ey_archives failed, please refresh and try again"

analysis of causes:

It may be caused by a variety of reasons, including database connection issues, permission issues, data conflicts, firewall blocking, or full space, etc.

resolvent:

  1. Clear database, try the installation again

  2. If an error is still reported after clearing,Switch to another version of the database(Such as switching MySQL 8.0 to 5.6 or 5.7)

  3. If the problem cannot be solved due to the space environment, you canDirectly import database method to install, and then modify the website configuration file

  4. In special circumstances, you can check whether the firewall is blocking and whether the space is full.

Question 6: The installation keeps displaying an "Unknown Error" message and cannot proceed.

Error occurrence:

"Unknown error" is always displayed during the installation process and cannot continue.

analysis of causes:

Because the database version is too high, there may be problems with EyouCMS's compatibility with higher versions of MySQL (such as MySQL 8.x).

resolvent:

  1. Set MySQL database version to 5.6

  2. Database versions can be switched through management tools such as Pagoda Panel

  3. At the same time, you can check the server error log, confirm file permissions, check whether the PHP extension is complete, etc.

Question 7: Installation error – "Parse error: Syntax error"

Error occurrence:

Parse error: syntax error, unexpected '[' in /install/index.php on line 544

or similar syntax error message

analysis of causes:

The PHP version is too high and is incompatible with the syntax of the EyouCMS source code, causing PHP parsing to fail.

resolvent:

  1. Log in to the space control panel and adjust the PHP version to 5.5

  2. After adjustment, refresh the installation page and try again.

  3. If the error persists, you may download the complete CMS installation package again and replace the existing one.installTable of Contents – Retry

sum up

The above seven issues represent the most common errors encountered during the YIYOU CMS installation process. In summary, the vast majority of these issues stem from the following three categories of causes:

problem typestypical caseSolution Approach
Database connection information errorQuestion 1Please carefully verify your account details, password, address, and port.
PHP version incompatibilityQuestion 2, Question 7Switch to version 5.4 or 5.5
Database version incompatibility or missing dataQuestions 3, 4, 5, and 6Switch MySQL version, add SQL statements, or perform a new backup.

It is recommended to verify whether the server environment meets the official requirements of EyouCMS before installation and to back up the database; doing so can effectively prevent most of the aforementioned issues from occurring.

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

How to quickly modify columns in batches in Yiyou CMS?

How to quickly modify columns in batches in Yiyou CMS? Program Notes Yiyoucms

After downloading the Yiyou template, you will find that there are many columns that need to be modified, but I only want to modify the column name, column description, column keywords, and keep the others unchanged. How to do this? PHP script<?php $filePath = './sort.txt'; // Contains database configuration file $dbSet = require('../application/data…
👁 2349
Yiyoucms batch modification of published articles

Yiyoucms batch modification of published articles Program Notes Yiyoucms

After downloading the Yiyou template, I am used to modifying articles directly, so I wrote a php to batch modify Yiyou articles! Including: article title, article content, article description, article keywords (word segmentation of the title) article tag, article release time, etc.! The published article comes from the self-created API interface of Empire CMS! The interface code is very simple: <?php header("content-type:applicati…
👁 321
Yiyou cms php remotely obtains article data and publishes articles regularly

Yiyou cms php remotely obtains article data and publishes articles regularly Program Notes Yiyoucms

PHP remotely obtains article data and then publishes it to your own website! Comes with optimized dual titles, comes with keyword segmentation, automatically inserts pictures into the article, comes with tag aggregation, automatically updates the homepage cache, and cooperates with the pagoda plan task to realize automatic update code: 🔒 Hidden content: View after comment<?php // token verification $token = md5('Your key'); // echo $token; …
👁 194
EyouCMS (EyouCms) system installation tutorial

EyouCMS (EyouCms) system installation tutorial Program Notes Yiyoucms

1. System Overview Eyou Content Management System (EyouCms) is an enterprise-level open source website building system developed based on PHP+MySQL architecture, using ThinkPHP 5.0 as the underlying framework. 2. Environmental requirements Before installing EyouCms, please ensure that the server environment meets the following requirements: Project requirements operating system Linux/Unix/WindowsWeb server Nginx/…
👁 58
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 197

Recommended reading

Printed Poster and Brochure Design Website Template – 1119

Printed Poster and Brochure Design Website Template – 1119 Practical Collection Yiyou template

An EyouCMS website template designed for the printing, poster, and brochure design industries. Its creative visual design style is ideal for showcasing design works, printing processes, and brand case studies. This template helps design and printing companies demonstrate their professional expertise online and attract corporate clients. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 31
Responsive essay-based news and blog website template – 0771

Responsive essay-based news and blog website template – 0771 Practical Collection Yiyou template

An eYouCMS responsive website template designed for essays, news articles, and blogs. Its clean and user-friendly design makes it ideal for students, teachers, or literature enthusiasts to share their essays, news commentary, and personal writings – helping you build a rich literary and informational platform. Template Demo | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eYouCMS | eYouCMS...
👁 42
Yoga Mat Customization Manufacturer Website Template 0413

Yoga Mat Customization Manufacturer Website Template 0413 Practical Collection Yiyou template

An eYouCMS website template designed for yoga mat suppliers and custom manufacturing businesses. Its health and fitness-oriented design is ideal for showcasing yoga mat products, custom-made services, brand stories, and workout plans. This template helps yoga product companies showcase their products online, attracting yoga enthusiasts and gym-goers. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Common Questions Regarding eYouCMS Installation...
👁 60
Printing poster album design website template 0070

Printing poster album design website template 0070 Practical Collection Yiyou template

This set of eyoucms templates is suitable for printing, poster and album design companies. The design style is creative and visual, and can display design works, printing processes and brand cases. It helps design and printing companies showcase their professional capabilities online and attract corporate customers. Template display Installation instructions Website backend: /login.php Account: admin Password: admin Related articles Summary of common problems in Yiyou CMS installation Yiyou CMS (E…
👁 57
(Adaptive Mobile Version) Eco-Friendly & Energy-Saving Technology – PBootCMS Website Template; Download Source Code for Eco-Friendly Equipment Websites – 0900

(Adaptive Mobile Version) Eco-Friendly & Energy-Saving Technology – PBootCMS Website Template; Download Source Code for Eco-Friendly Equipment Websites – 0900 Practical Collection pbootcms Template

A PbootCMS website template combining eco-friendly technology and environmental protection solutions, compatible with both PC and WAP devices. Its modern, tech-driven design is ideal for showcasing energy-saving technologies, eco-conscious products, and sustainable solutions. This template helps environmental technology companies demonstrate their technical expertise online and attract both government and corporate clients. Template Overview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s...
👁 36
(Adaptive Mobile Version) Large-screen, premium water purification device website – PBootCMS template; Smart electronic device website source code download – 0565

(Adaptive Mobile Version) Large-screen, premium water purification device website – PBootCMS template; Smart electronic device website source code download – 0565 Practical Collection pbootcms Template

A spacious and sophisticated water purification system paired with a smart electronic device – PbootCMS website template, compatible with mobile devices. Featuring a modern, tech-driven design ideal for showcasing water purification products, smart hardware, and solutions. This template helps water purification brands effectively present their products online and attract both residential and commercial customers. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5...
👁 56