Page 1 of 2

2 problems for a new "user" on Windows PC

Posted: 08 Sep 2017, 12:19
by OpenCATS080917
Hello OpenCATS

I'm following the "Windows - OpenCATS Installation Instructions" from the OpenCATS Documentation, Release 0.9.3

1) The opencats-0.9.3-3-full.zip that I downloaded extracted the "OpenCATS" folder deep into a nest "home\travis\build\opencats\".
This caused problems when following the instruction on page 19: "Type the following: cd C:\xampp\htdocs\OpenCATS-0.9.3-3"
There was no version number attached to the folder name.

2) I installed XAMPP and Composer; launched and configured phpMyAdmin, but when I paste "http://localhost/openCATS" into my browser I get an error message: "CATS Error: All required PHP extensions are not loaded."

Any suggestions to where I've gone wrong?

Thanks in advance

Re: 2 problems for a new "user" on Windows PC

Posted: 08 Sep 2017, 13:28
by OpenCATS080917
I'm "replying" to myself to add that my file path on 1) is:

C:\xampp\htdocs\OpenCATS

Re: 2 problems for a new "user" on Windows PC

Posted: 11 Sep 2017, 14:26
by OpenCATS080917
replying" to myself again

1) I've uninstalled/reinstalled everything

2) OpenCATS is in the "C:\xampp\htdocs\OpenCATS" directory

3) I've launched XAMPP with and without administrator rights

I still get the "CATS Error: All required PHP extensions are not loaded." message

4) The only element over which I have a doubt is Composer. When I execute "composer install" in a Command window I see the following:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

Does the "Nothing to install or update" signify an error somewhere?

Re: 2 problems for a new "user" on Windows PC

Posted: 11 Sep 2017, 15:13
by OpenCATS080917
Replying to myself again.

I'd say that the problem is the version of PHP installed by XAMPP

I see that for an Ubuntu 16.04 installation "At this time, OpenCATS doesn’t support php7"

When I paste "http://localhost/dashboard/phpinfo.php" into my browser I see that I have Version 7.1.8

I've found a PDF entitled "Use a Different PHP Version".

Here I go blindfolded down another path....

Re: 2 problems for a new "user" on Windows PC

Posted: 12 Sep 2017, 08:14
by OpenCATS080917
Next instalment in my continuing attempts to install OpenCATS on a Windows 10 PC.

I have uninstalled XAMPP (v7); deleted the C:\xampp folder and downloaded XAMPP v5 from https://www.apachefriends.org/xampp-fil ... taller.exe

I run it in Administrator mode and it seems to be happy with life. I've redone a "composer install" in a DOS window. I've recreated an "opencats" database and user with http://localhost/phpmyadmin/.

HOWEVER..... when I paste "http://localhost/OpenCATS" into my browser I get a new error message:

"Error Connecting to Database
Access denied for user 'cats'@'localhost' (using password: YES)"

In a way this is a good sign, because it says that xampp, PHP etc are working. I just don't understand where the "cats" user comes from. As per the documentation, I created a user called "opencats".

Any suggestions?

Re: 2 problems for a new "user" on Windows PC

Posted: 12 Sep 2017, 10:04
by cptr13
Hi.

Very sorry for the delayed reply.

You're using the "full" version. (You'll have to delete the directory and restart the install)

Try the "source" version. https://github.com/opencats/OpenCATS/archive/0.9.4.zip

I think that will solve all your problems.

Let me know how it goes.

Re: 2 problems for a new "user" on Windows PC

Posted: 12 Sep 2017, 10:22
by OpenCATS080917
Final instalment!!!

The problem is solved in that I now have an OpenCATS with the following message, as shown in the "OpenCATS Documentation - Release 0.9.3":
"OpenCATS has not yet been installed, or a previous installation was not completed.
Please visit the Installation Wizard to continue."

The solution came when I read another post on a totally different problem where it was suggested that the OpenCATS version to download is the version without "full". I had downloaded and installed "opencats-0.9.4-full.zip". I therefore deleted my current OpenCATS folder; downloaded and unpacked "opencats-0.9.4.tar.gz" before copying the new contents to a new C:\xampp\htdocs\OpenCATS folder.

Which brings me to suggested editing for "Windows - OpenCATS Installation Instructions"

* page 17

Downloading software and preparing your system

1) XAMPP

Download v5 of XAMPP from https://www.apachefriends.org/xampp-fil ... taller.exe
Install XAMPP

NB: OpenCATS will not run with a version higher than v5!

2) Composer

Download the Composer Windows Installer from https://getcomposer.org/Composer-Setup.exe

Install Composer

3) OpenCATS

Download - opencats-0.9.4 (filename opencats-0.9.4.tar.gz) from https://github.com/opencats/OpenCATS/re ... 9.4.tar.gz

(This is, of course, a later version than in the documentation, but...)

NB: do not download/install the "opencats-0.9.4-full.zip" file.

Extract first the .gz file to a .tar and then extract that to an "opencats-0.9.4" folder

Go to the C:\xampp\htdocs folder and create an OpenCATS folder. Copy the contents of the extracted "opencats-0.9.4" folder to the C:\xampp\htdocs\OpenCATS folder

* page 18 (no change)

Start Xampp .... etc

* page 19 (Composer-Install dependencies)

Type the following: cd C:\xampp\htdocs\OpenCATS

* pages 20 - 22 (no change)

Re: 2 problems for a new "user" on Windows PC

Posted: 12 Sep 2017, 10:24
by cptr13
Thanks you, yes, the documentation needs to be updated.


Is your install working now?

Re: 2 problems for a new "user" on Windows PC

Posted: 12 Sep 2017, 11:24
by OpenCATS080917
Yup! I have the OpenCATS home screen as per page 28 of the documentation.

Re: 2 problems for a new "user" on Windows PC

Posted: 23 Sep 2017, 12:52
by cptr13
Just got reference. All documentation has been updated for 0.9.4 with the Travis build. No more composer steps in the install (yay!)