# Cacti

**URL:** <https://forum.infinityfree.com/t/cacti/100804>\
**Category:** Hosting Support\
**Created:** [October 27, 2024, 9:59am UTC](https://forum.infinityfree.com/t/cacti/100804 "2024-10-27T09:59:28Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 9:59am UTC](https://forum.infinityfree.com/t/cacti/100804/1 "2024-10-27T09:59:28Z")

</div>

Hello, I managed to try out [Cacti](https://www.cacti.net/). I downloaded it to my computer and then uploaded it to the htdocs folder. I also imported the database included in the Cacti folder. I updated my credentials in the config.php file with the correct ones from InfinityFree, but for some reason, it is not working. This is the [website](http://tests.rf.gd)  
 ![Image](https://forum-cdn.infinityfree.net/original/3X/9/1/91b34efe18618b7c1527538793ff29c7b29df553.png)  
I tried it with xampp and it worked there. It’s strange to me can someone suggests me what I can do ? 🙂

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [October 27, 2024, 10:07am UTC](https://forum.infinityfree.com/t/cacti/100804/2 "2024-10-27T10:07:16Z")

</div>

It says “the PHP **MySQL** module is not installed”, which made me think that it is probably just too old and cannot work with PHP 8. (MySQL module is deprecated in PHP 7 and fully removed in PHP 8.)

And the link doesn’t open for me unfortunately ☹

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 10:10am UTC](https://forum.infinityfree.com/t/cacti/100804/3 "2024-10-27T10:10:46Z")

</div>

Which link is not working for you?

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [October 27, 2024, 10:11am UTC](https://forum.infinityfree.com/t/cacti/100804/4 "2024-10-27T10:11:17Z")

</div>

Oh yea, forgot to specify.

The cacti official site is not opening for me.

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 10:13am UTC](https://forum.infinityfree.com/t/cacti/100804/5 "2024-10-27T10:13:32Z")

</div>

Can you try with proxysite

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [October 27, 2024, 10:22am UTC](https://forum.infinityfree.com/t/cacti/100804/6 "2024-10-27T10:22:36Z")

</div>

I’m in.

Interesting enough, the app is still constantly being developed. And it uses PDO which shouldn’t have a problem.

Unless the recent override from iFastNet on `ini_get()` and similar functions might have screwed up the checks.

I didn’t have time to check the codes, but it might be possible to comment out some lines to force the installation.

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 10:41am UTC](https://forum.infinityfree.com/t/cacti/100804/7 "2024-10-27T10:41:18Z")

</div>

I hope someone can know how to fix it

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 27, 2024, 11:02am UTC](https://forum.infinityfree.com/t/cacti/100804/8 "2024-10-27T11:02:49Z")

</div>

I can tell you that unless there is a big system issue we’re not aware of, that points 1 and 2 are not the issue.

My guess is option 3 is the issue. Can you please confirm that the database details in your config.php file match credentials listed in the MySQL Databases menu in the client area?

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 11:13am UTC](https://forum.infinityfree.com/t/cacti/100804/9 "2024-10-27T11:13:48Z")

</div>

Yes I will provide image, after you see it please delete it

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 27, 2024, 11:16am UTC](https://forum.infinityfree.com/t/cacti/100804/10 "2024-10-27T11:16:47Z")

</div>

The images have been removed from your posts, but that doesn’t immediately delete them from the image store.

So you must immediately reset your hosting account password and make sure to never share it again.

Besides that, the settings in the config.php look fine.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 27, 2024, 11:25am UTC](https://forum.infinityfree.com/t/cacti/100804/11 "2024-10-27T11:25:18Z")

</div>

> [@Admin](#):
>
> Besides that, the settings in the config.php look fine.

Scratch that, they don’t. There seem to be two issues:

- The database _username_ is just your if0\_XXXXXXX username, not the database name.
- The database name itself appears to be entirely missing from your config.php file.

And of course, connecting with a user that does not exist to a database that does not exist does not work.

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [October 27, 2024, 2:32pm UTC](https://forum.infinityfree.com/t/cacti/100804/12 "2024-10-27T14:32:13Z")

</div>

I’ve fixed it now but I still have another problem when opening the [website](http://tests.rf.gd/). It redirects me to the /cacti/install/ but the interesting part is that on the xampp it’s working . Is it possible that ifastnet is blocking it by any chance. I will upload the pictures from localhost and from the website.

 ![localhost](https://forum-cdn.infinityfree.net/original/3X/c/4/c4328318d5a3f6ac3c415cde9ea7713e25f8879f.png)  
 ![infinityfree](https://forum-cdn.infinityfree.net/original/3X/1/e/1ec2a2c1e06d60976feaaa4c93468fe32afe014b.png)

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 27, 2024, 8:11pm UTC](https://forum.infinityfree.com/t/cacti/100804/13 "2024-10-27T20:11:11Z")

</div>

> [@B0binch0](#):
>
> Is it possible that ifastnet is blocking it by any chance.

Not impossible, but very unlikely given the error message.

Also, please note that the Cacti installation on your account with us installed directly in the htdocs folder of your website. So the installation wizard should be accessible at [http://tests.rf.gd/install/](http://tests.rf.gd/install/) instead, which seems to work.

The page looks wrong, which is because all the assets are loaded from wrong URLs because - also here - they are prefixed with `/cacti/` which they shouldn’t be. Perhaps there is a setting in the config.php to fix that?

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [November 2, 2024, 8:58am UTC](https://forum.infinityfree.com/t/cacti/100804/14 "2024-11-02T08:58:27Z")

</div>

> [@Admin](#):
>
> Not impossible, but very unlikely given the error message.
> 
> Also, please note that the Cacti installation on your account with us installed directly in the htdocs folder of your website. So the installation wizard should be accessible at [http://tests.rf.gd/install/](http://tests.rf.gd/install/) instead, which seems to work.
> 
> The page looks wrong, which is because all the assets are loaded from wrong URLs because - also here - they are prefixed with `/cacti/` which they shouldn’t be. Perhaps there is a setting in the config.php to fix that?

Sorry for the late reply. So I checked config.php and I saw ( $url\_path = ‘/cacti/’; ) and changed it $url\_path = ‘/install/’; and when the page is loaded and typed admin / admin for the username and password I’m getting the next page 404 not found which is still strange thing to me it’s redirects after login to this [page](http://tests.rf.gd/install/auth_changepassword.php?ref=index.php)

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [November 2, 2024, 10:32am UTC](https://forum.infinityfree.com/t/cacti/100804/15 "2024-11-02T10:32:17Z")

</div>

Maybe try

```auto
$url_path = "/"

```

this?

---

<div class="post-metadata">

**Author:** ![B0binch0](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/b0binch0/32/44645_2.png) [@B0binch0](https://forum.infinityfree.com/u/B0binch0)\
**Post date:** [November 2, 2024, 1:49pm UTC](https://forum.infinityfree.com/t/cacti/100804/16 "2024-11-02T13:49:11Z")

</div>

> [@Meishin](#):
>
> Maybe try
> 
> ```auto
> $url_path = "/"
> 
> ```
> 
> this

This worked.. thank you!  
Actually is ( $url\_path=‘/’ )

Edit but I can’t use it because of this  
 ![Screenshot_20241102_155639_Edge](https://forum.infinityfree.com/images/transparent.png)  
Ehh

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [November 2, 2024, 2:57pm UTC](https://forum.infinityfree.com/t/cacti/100804/17 "2024-11-02T14:57:55Z")

</div>

Shell functions are disabled on free hosting for security reasons

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [November 3, 2024, 11:16am UTC](https://forum.infinityfree.com/t/cacti/100804/18 "2024-11-03T11:16:25Z")

</div>

Hmm, yes, I was afraid of that.

The very first sentence on the Cacti website says:

> Cacti provides a robust and extensible operational monitoring and fault management framework for users around the world. Is also a complete network graphing solution designed to harness the power of [RRDTool](http://www.rrdtool.org)’s data storage and graphing functionality.

Network graphing tools are typically run on the network they are graphing, because that’s where you need to collect the data from in the first place.

RRDTool is also some binary program or system program, not PHP code, so I wondered how you planned to use that on our hosting in the first place. But it seems that Cacti wants to run that tool on the command line, which is not possible on our hosting.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [November 10, 2024, 11:16am UTC](https://forum.infinityfree.com/t/cacti/100804/19 "2024-11-10T11:16:32Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
