After upgrading from 1.0-14.10.10 to 1.1-17.10.30, except "Settings>Permanent Links", other settings are invalid

Solve the installation and upgrade problems you encounter in different platform environments
reply
Evil Pirates
Posts: thirty-nine
Registration time: 13:19, October 15, 2014

After upgrading from 1.0-14.10.10 to 1.1-17.10.30, except "Settings>Permanent Links", other settings are invalid

Posts from Evil Pirates »

RT, after overwriting the 1.0 file, open the home page, enter the background and upgrade the database according to the prompt. After that, all other settings are invalid except for "permanent link"
Environment: php5.6
Database: MySQL
See probe for details: http://hidao.s602.xrea.com/tz.php

I have tried other PHP programs without any problems, so I doubt that there is any incompatibility or incorrect settings in the upgrade. Who can give me some guidance?
Evil Pirates
Posts: thirty-nine
Registration time: 13:19, October 15, 2014

Re: After upgrading from 1.0-14.10.10 to 1.1-17.10.30, other settings are invalid except "Settings>Permanent Links"

Posts from Evil Pirates »

I X, after trying not to enable address rewriting in the settings, it is OK. Who can analyze why this problem occurs
 hidao.org_2023-4-7_23-33-40.png
Hidao.org_2023-4-7_23-33-40-png (28.05 KiB) 6429 times
Evil Pirates
Posts: thirty-nine
Registration time: 13:19, October 15, 2014

Re: After upgrading from 1.0-14.10.10 to 1.1-17.10.30, other settings are invalid except "Settings>Permanent Links"

Posts from Evil Pirates »

A new virtual host was tested. It seems that the virtual host does not have rewrite support, MMP
Evil Pirates
Posts: thirty-nine
Registration time: 13:19, October 15, 2014

Re: After upgrading from 1.0-14.10.10 to 1.1-17.10.30, other settings are invalid except "Settings>Permanent Links"

Posts from Evil Pirates »

Test the pseudo static situation according to the online tutorial:

1. Upload test.php to the virtual host plublic_html directory
2. Access http://hidao.s602.xrea.com/test.php?action= China&id=1 shows:
Action=China
id=1
3. Access http://hidao.s602.xrea.com/ China-1.html Display Not Found
4. Upload. htaccess to the virtual host public_html directory
5. Repeatedly visit the above two links, both of which show:
Action=China
id=1
Does this mean that the virtual host supports pseudo static, and the pseudo static rules of typecho may not be correct. How can I adjust them?

. htaccess content for testing:

code: Select All

 RewriteEngine on RewriteRule ([\x80-\xffa-zA-Z]{1,})-([0-9]{1,}).html$ test.php? action=$1&id=$2
Content of test.php used for testing:

code: Select All

 <? php echo "action=".$_ GET['action']; echo "<br>"; echo "id=".$_ GET['id']; ?>
. htaccess content of typecho:

code: Select All

 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !- f RewriteCond %{REQUEST_FILENAME} !- d RewriteRule ^(.*)$ /index.php/$1 [L]
reply