Home Page Modification broken on 2014R1.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gfsa
Posts: 6
Joined: Mon Sep 08, 2014 2:53 pm

Home Page Modification broken on 2014R1.4

Post by gfsa »

Team,

It looks like the home page modification onR1.4 is broken.

I am getting the following error:

The requested URL /nagiosxi/includes/components/homepagemod/main.php was not found on this server.

Any suggestions?

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Home Page Modification broken on 2014R1.4

Post by abrist »

Odd, there should not be a main.php in the homepagemod folder.
When do you receive this error?
Is "Home" listed under the dashboards menu?
Was this install and upgrade from a pre 2014 version? If so, what was the upgrade path?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Home Page Modification broken on 2014R1.4

Post by tmcdonald »

Go to Admin -> Manage Components and hover over the wrench icon for the Home Page Modification component. What link is displayed in the lower-left corner?

Also, please run the following and post the results:

Code: Select all

grep "href" /usr/local/nagiosxi/html/includes/components/homepagemod/homepagemod.inc.php
Former Nagios employee
gfsa
Posts: 6
Joined: Mon Sep 08, 2014 2:53 pm

Re: Home Page Modification broken on 2014R1.4

Post by gfsa »

i) Link that is displayed in the lower-left corner is:

http://<HOST_NAME>/nagiosxi/admin/components.php?config=homepagemod

ii). Results of

Code: Select all

grep "href" /usr/local/nagiosxi/html/includes/components/homepagemod/homepagemod.inc.php
"href" => $desturl.'/useropts.php',

iii). When I click onto the Dashboards menu, I am presented with the "Home Page" sub menu under "My Dashboards" on the left hand side of the page.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Home Page Modification broken on 2014R1.4

Post by lmiltchev »

What happens when you try to access the "Home Page Modification" directly by typing in the browser's address bar the following?

Code: Select all

http://<ip address>/nagiosxi/admin/components.php?config=homepagemod
Be sure to check out our Knowledgebase for helpful articles and solutions!
gfsa
Posts: 6
Joined: Mon Sep 08, 2014 2:53 pm

Re: Home Page Modification broken on 2014R1.4

Post by gfsa »

When I type in

Code: Select all

http://<ip address>/nagiosxi/admin/components.php?config=homepagemod
directly into the browser's address bar, I am successfully directed to the "Home Page Modification Settings" page.

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Home Page Modification broken on 2014R1.4

Post by lmiltchev »

Have you tried making mods and saving the changes? Can you access the component under the "Manage Components" page now or you are still having an issue?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked