INSTALL AND RUN COMPOSER - PLEASE HELP
Posted: 10 Jul 2024, 18:15
by bountyhunter
I get the below message when trying to Install and run Compser - can anyone help me please?
Microsoft Windows [Version 10.0.22000.1696]
(c) Microsoft Corporation. All rights reserved.
C:\Users\nhaque>cd C:\xampp\htdocs\opencatscomposer install
The system cannot find the path specified.
C:\Users\nhaque>cd C:\xampp\htdocs\opencats
C:\xampp\htdocs\OpenCATS>composer install
'composer' is not recognized as an internal or external command,
operable program or batch file.
C:\xampp\htdocs\OpenCATS>
Re: INSTALL AND RUN COMPOSER - PLEASE HELP
Posted: 11 Jul 2024, 14:42
by RussH
HI,
it's in the documentation ;
https://documentation.opencats.org/#whi ... to-install
If you don't want to use composer, install one of the packages in releases which is 'bundled' with the dependencies. If you want to download a snapshot from the github repo - you'll have to run Composer, and you can get that at getcomposer.org and then running composer install.
Far easier to install 0.9.7.4 from here
https://github.com/opencats/OpenCATS/releases
Re: INSTALL AND RUN COMPOSER - PLEASE HELP
Posted: 11 Jul 2024, 18:19
by bountyhunter
Hey RussH,
When I download 0.9.7.4 - what steps should I follow? Do I need to still go through Windows Prerequisites for OpenCATS-0.9.6-FULL with 0.9.7.4 instead?
I keep on getting an error code when I click In the top row of tabs, on the right side of the screen and click privileges: Error below:
Error
SQL query: Copy DocumentationEdit Edit
(
SELECT `User`, `Host`, `Select_priv`,
`Insert_priv`,
`Update_priv`,
`Delete_priv`,
`Create_priv`,
`Drop_priv`,
`Grant_priv`,
`Index_priv`,
`Alter_priv`,
`References_priv`,
`Create_tmp_table_priv`,
`Lock_tables_priv`,
`Create_view_priv`,
`Show_view_priv`,
`Create_routine_priv`,
`Alter_routine_priv`,
`Execute_priv`,
`Event_priv`,
`Trigger_priv`, '*' AS `Db`, 'g' AS `Type`
FROM `mysql`.`user`
WHERE NOT (BINARY `Select_priv` = 'N' AND
BINARY `Insert_priv` = 'N' AND
BINARY `Update_priv` = 'N' AND
BINARY `Delete_priv` = 'N' AND
BINARY `Create_priv` = 'N' AND
BINARY `Drop_priv` = 'N' AND
BINARY `Grant_priv` = 'N' AND
BINARY `References_priv` = 'N' A[...]
MySQL said: Documentation
#1030 - Got error 176 "Read page with wrong checksum" from storage engine Aria
Re: INSTALL AND RUN COMPOSER - PLEASE HELP
Posted: 12 Mar 2025, 05:15
by paperequal
Your system doesn't recognize `composer`. Try these steps:
1. Check if installed → Run `composer --version` in cmd.
2. Install Composer → Download from getcompose and install, ensuring PHP path (`C:\xampp\php\php.exe`) is set.
3. Restart cmd → Run `composer --version` to verify installation.
4. Navigate to OpenCATS folder → Run:
```
cd C:\xampp\htdocs\OpenCATS
composer install
```
5. (If still not working) Add Composer to PATH → Manually add `C:\ProgramData\ComposerSetup\bin` to system PATH and restart your PC.
Let me know if you need more help!
