Error 200 ok upon installation
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Wed Feb 20, 2019 10:40 pm
Error 200 ok upon installation
Need help, I installed this on my windows 10 laptop, using xampp, Any ideas?
- Attachments
-
- cacti error.JPG (42.06 KiB) Viewed 9177 times
Re: Error 200 ok upon installation
What browser are you using? give chrome a try.
Re: Error 200 ok upon installation
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 3
- Joined: Wed Feb 20, 2019 10:40 pm
Re: Error 200 ok upon installation
I'm currently using chrome, the previous version worked, so I think it has something to do with the current version.
Re: Error 200 ok upon installation
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 1
- Joined: Wed May 29, 2019 10:37 pm
Re: Error 200 ok upon installation
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)
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 (17.68 KiB) Viewed 8614 times
Re: Error 200 ok upon installation
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Error 200 ok upon installation
This is what I'm getting (see attached)
- Attachments
-
- cacti error.jpg (92.18 KiB) Viewed 5458 times
Who is online
Users browsing this forum: No registered users and 0 guests