Error 200 ok upon installation

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

Moderators: Developers, Moderators

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

Error 200 ok upon installation

Post by ragingpotato »

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 9178 times
grahamco
Posts: 8
Joined: Wed Feb 20, 2019 1:59 pm

Re: Error 200 ok upon installation

Post by grahamco »

What browser are you using? give chrome a try.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

Post by netniV »

Check the error logs and see what happens if you run "php install/cli_check.php recommends"
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
ragingpotato
Posts: 3
Joined: Wed Feb 20, 2019 10:40 pm

Re: Error 200 ok upon installation

Post by ragingpotato »

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: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

Post by netniV »

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');
                                }
                        }
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
ahazeldine
Posts: 1
Joined: Wed May 29, 2019 10:37 pm

Re: Error 200 ok upon installation

Post by ahazeldine »

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 8615 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Error 200 ok upon installation

Post by netniV »

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.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dpell352
Posts: 13
Joined: Fri Jan 20, 2023 8:26 am

Re: Error 200 ok upon installation

Post by dpell352 »

This is what I'm getting (see attached)
Attachments
cacti error.jpg
cacti error.jpg (92.18 KiB) Viewed 5459 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests