language problem!
Location of language pack,locale\zh_CN\LC_MESSAGES\vvveb.po
`
The 404 not found page is not the standard 404 generated by Vvveb, it looks like the page is generated by the http server and the request does not reach Vvveb's index.php.
Other pages like about /page/about can be loaded or it shows 404 for for all pages except homepage /?
This is probably caused by missing mod rewrite module, or .htaccess not loaded if you are using apache, if you are using nginx you need to use the included nginx.conf to redirect all requests to index.php nginx-nocache.conf nginx.conf
You can check some solutions from previous similar issues.
https://github.com/givanz/Vvveb/discussions/188#discussioncomment-10664584
https://github.com/givanz/Vvveb/issues/206#issuecomment-2454354098
https://github.com/givanz/Vvveb/issues/220#issuecomment-2477153390
https://github.com/givanz/Vvveb/issues/72#issuecomment-1913584911
Great God, I changed nginx as shown in the picture, and after successfully adding the language, it returned a 504. Normal after returning the car. But no matter how I switch languages, there's no Zh_cn, both the front-end and back-end are the same
When installing a new language pack the files are downloaded from github, maybe your hosting is blocking access to external sites like github and php timeouts (504 error) trying to download the files.
You can manually download the files from https://github.com/Vvveb/zh_CN and put the files in /locale/zh_CN/LC_MESSAGES/ you might need to manually compile vvveb.po to /locale/zh_CN/LC_MESSAGES/vvveb.mo you can use Poedit or
msgfmt vvveb.po
Sometimes php might cache .mo files and you need to restart php-fpm to reload.
The language is normal and the website error has been resolved. Now there are only a few pages that have problems synology -web station-php8.2-nginx
From the error messages it seems that for nginx tries to open urls like /page/contact as static file, fails and for some reason it doesn't test the following rule from try_files to reach /index.php as it should and just returns 404.
Maybe there is a conflicting rule/configuration somewhere in the current nginx.conf or user.conf, try to temporarily use the included Vvveb nginx.conf and see if it works.
Is Qunhui's nginx a simplified version? /usr/local/etc/nginx/conf.d-available
The corresponding files in this directory have all been modified, but it still doesn't work
Thank you, God. I think I've taken care of it. Can you provide a detailed explanation of PHP's extensibility and directory permissions? /public/themes/landing//screenshots/blocks/reusable/code-editor-thumb.jpegl,There are no pictures available [18-Feb-2025 16:33:52 Asia/Shanghai] PHP Warning: Undefined property: Vvveb\Sql\MenuSQL::$error in /volume1/web/two/admin/controller/content/menus.php on line 80 [18-Feb-2025 16:33:52 Asia/Shanghai] PHP Warning: Undefined property: Vvveb\Sql\MenuSQL::$error in /volume1/web/two/admin/controller/content/menus.php on line 81 Two lines of error prompt,I haven't found any other errors yet。
The warning generated by admin/controller/content/menus.php is fixed in latest.zip please redownload and update the file.
Directory permissions are standard, files should be owned by nginx user/group which is usually user = www-data group = www-data.
Folders that need permission are /config for writing db details during install, /storage for cache and compiled templates and public/themes/* to allow theme editing from the page builder.
You can use the docker init script to set permissions https://github.com/Vvveb/docker/blob/main/latest/php8.3/fpm-alpine/init.sh#L18-L23
The system can be extended through plugins, there is an event system that can be used to run code when certain actions are performed to override or extend default functionality.
https://dev.vvveb.com/plugin-introduction
https://dev.vvveb.com/events-introduction