Error 200 ok upon installation

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
ragingpotato
Posts: 3
Joined: Wed Feb 20, 2019 10:40 pm

Error 200 ok upon installation

#1 Post by ragingpotato » Wed Feb 20, 2019 10:46 pm

Need help, I installed this on my windows 10 laptop, using xampp, Any ideas?
Attachments
cacti error.JPG
cacti error.JPG (42.06 KiB) Viewed 1093 times

grahamco
Posts: 8
Joined: Wed Feb 20, 2019 1:59 pm

Re: Error 200 ok upon installation

#2 Post by grahamco » Thu Feb 21, 2019 7:50 am

What browser are you using? give chrome a try.

netniV
Cacti Guru User
Posts: 2682
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

#3 Post by netniV » Thu Feb 21, 2019 11:51 am

Check the error logs and see what happens if you run "php install/cli_check.php recommends"

ragingpotato
Posts: 3
Joined: Wed Feb 20, 2019 10:40 pm

Re: Error 200 ok upon installation

#4 Post by ragingpotato » Fri Feb 22, 2019 2:49 am

I'm currently using chrome, the previous version worked, so I think it has something to do with the current version.

netniV
Cacti Guru User
Posts: 2682
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

#5 Post by netniV » Fri Feb 22, 2019 5:35 am

This may be due to an error in the module configuration code where it uses $e['name'] incorrectly as the name is the key/index not a column in the array:

Code: Select all

diff --git a/lib/installer.php b/lib/installer.php
index ed50ac91..290889ba 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -954,9 +954,9 @@ class Installer implements JsonSerializable {
                if (isset($this->extensions) || empty($this->extensions)) {
                        $extensions = utility_php_extensions();

-                       foreach ($extensions as $e) {
+                       foreach ($extensions as $name=>$e) {
                                if (!$e['installed']) {
-                                       $this->addError(Installer::STEP_CHECK_DEPENDENCIES, 'Modules', $e['name'] . ' is missing');
+                                       $this->addError(Installer::STEP_CHECK_DEPENDENCIES, 'Modules', $name . ' is missing');
                                }
                        }

ahazeldine
Posts: 1
Joined: Wed May 29, 2019 10:37 pm

Re: Error 200 ok upon installation

#6 Post by ahazeldine » Wed May 29, 2019 10:46 pm

225/5000
Hi good day

Please can you guide me to solve this error, I am installing Cacti 1.2.3 and when trying to accept the license the 200 OK error occurs. The database is connected. Thanks (sorry for my bad English)
Attachments
img01.png
img01.png (17.68 KiB) Viewed 530 times

netniV
Cacti Guru User
Posts: 2682
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

#7 Post by netniV » Fri Jun 07, 2019 3:09 pm

Check your apache/php/cacti error logs to see if anything is being recorded. The likelihood is that when it is attempting to call "install/step_json.php" it is getting a warning that is appearing.

Post Reply