Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #970

Open
HOGClan opened this issue Jun 20, 2024 · 7 comments
Open

Installation error #970

HOGClan opened this issue Jun 20, 2024 · 7 comments

Comments

@HOGClan
Copy link

HOGClan commented Jun 20, 2024

What are the steps to reproduce this issue?

1.1
2.
3.
4.

What happens?

this error appears during installation:Parse error: syntax error, unexpected '{' in /var/www/spacecore215704/data/www/hogclan.ru/sourcebans/install/includes/routing.php on line 4

What were you expecting to happen?

Any logs, error output, etc.?

Parse error: syntax error, unexpected '{' in /var/www/spacecore215704/data/www/hogclan.ru/sourcebans/install/includes/routing.php on line 4

Any other comments?

What versions of software are you using?

Operating System:
**SourceBans++ Version:Last

**PHP Version:8.0.19
**MySQL Version:MySQL
**Link to your project:https://hogclan.ru/
**Link to a phpinfo() output:im use webhosting so i dont know where i can fin this.

SourceMod Version:
MetaMod Version:

@DNA-styx
Copy link

This page says that SB++ need PHP 8.1 or higher. You are running 8.0.19

https://github.com/sbpp/sourcebans-pp/

@HOGClan
Copy link
Author

HOGClan commented Jun 20, 2024

На этой странице указано, что для SB++ требуется PHP 8.1 или выше. У вас установлена ​​8.0.19

https://github.com/sbpp/sourcebans-pp/

I installed it but now there is another error

Cache Writable (/cache) | N/A | Yes | NO

@DNA-styx
Copy link

Looks like a permission issue on the cache folder (possible others as well). Give the cache folder permissions: 755 ( rwxr-xr-x ) - most folder will need the same. And also make sure these permissions are set https://sbpp.github.io/docs/quickstart/#write-permission-make-sure-the-files-is-under-the-web-server-user

@HOGClan
Copy link
Author

HOGClan commented Jun 20, 2024

777 permissions are set for all sbans files and folders
and where is the cache folder?
is the cache folder in sourcebans or on the web hosting side?
I don't have such a folder.
I installed the old version, (1.7) it was installed, but after the 3rd step the error appears

@HOGClan
Copy link
Author

HOGClan commented Jul 21, 2024

image

@HOGClan
Copy link
Author

HOGClan commented Jul 21, 2024

how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@HOGClan @DNA-styx and others