Hello, I managed to try out Cacti. 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
I tried it with xampp and it worked there. It’s strange to me can someone suggests me what I can do ?
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
Which link is not working for you?
Oh yea, forgot to specify.
The cacti official site is not opening for me.
Can you try with proxysite
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.
I hope someone can know how to fix it
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?
Yes I will provide image, after you see it please delete it
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.
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.
I’ve fixed it now but I still have another problem when opening the website. 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.
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/ 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
Maybe try
$url_path = "/"
this?
Shell functions are disabled on free hosting for security reasons
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’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.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.