Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Mar 25, 2019 12:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Error 200 ok upon installation
PostPosted: Wed Feb 20, 2019 10:46 pm 
Offline

Joined: Wed Feb 20, 2019 10:40 pm
Posts: 2
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 191 times ]
Top
 Profile  
 
 Post subject: Re: Error 200 ok upon installation
PostPosted: Thu Feb 21, 2019 7:50 am 
Offline

Joined: Wed Feb 20, 2019 1:59 pm
Posts: 8
What browser are you using? give chrome a try.


Top
 Profile  
 
 Post subject: Re: Error 200 ok upon installation
PostPosted: Thu Feb 21, 2019 11:51 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2296
Check the error logs and see what happens if you run "php install/cli_check.php recommends"

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Error 200 ok upon installation
PostPosted: Fri Feb 22, 2019 2:49 am 
Offline

Joined: Wed Feb 20, 2019 10:40 pm
Posts: 2
I'm currently using chrome, the previous version worked, so I think it has something to do with the current version.


Top
 Profile  
 
 Post subject: Re: Error 200 ok upon installation
PostPosted: Fri Feb 22, 2019 5:35 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2296
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:
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');
                                }
                        }

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group