404 Page Not Found The page you requested was not found

hello, this is my website, when I click i can’t see my website, I make 3 level for users and only admin can’t access to this page.
http://sistemgudangparabellum.infinityfreeapp.com/index.php/barang_masuk

My error message
404 Page Not Found
The page you requested was not found.

thx!

Have a similar but slightly different problem. My index.html page loads from the site (that is htdocs on site and suavemaths.free.nf “live” in browser). Another page - structure.html place in the same directory as index.html opens in Firefox under Ubuntu and under Android, but not in Chrome under the same Android and not in Firefox on Windows 10, although it opens under the latter in Edge.
I tried all the forms of addressing in the link form index.html to structure.html and came back to the natural, that is structure.html alone.
The page has links to styles.css (with appropriate folder in address) and to fonts.googleapis - will try to comment the latter now.

The message you recieved doesn’t come from our system but from CodeIgniter itself, which suggests something to do with your code. I’m not familiar with CodeIgniter, but judging from how index.php appears in the middle of the URL, I assume that you’re missing some sort of .htaccess rules.

2 Likes

DO NOT HIJACK OTHERS’ TOPICS

Can you please screenshot the files in your file manager?

1 Like

i think the code its same cause i use the code and used in other file and it works. only access admin can’t open that file

I don’t think this is relevant (if there was some naming error involving other files and directories, this file wouldn’t work in other browsers)
I tracked it down to two things.
1 some browsers might be “lazy” to update form the site.
I used small s in a link scripts/main.js whereas it should start from capital.
I rectified it, but browsers (those mentioned in the original post) still show
“Loading file failed for the with source …/scripts/main.js” whereas others show it correctly as is now int the file on the server.
Second is “opaque resource” blocking for some image - this I can get rid of.

Will let you all know when solved

I’m sorry, but you’re going to have to be a lot more specific than that. Or maybe consult with a CodeIgniter expert, because this seems like an issue with how routes/controllers are setup in your website, not a hosting problem.

The main page http://sistemgudangparabellum.infinityfreeapp.com/index.php/ loads a CodeIgniter page, suggesting that CodeIgniter is working. As for why your particular URL does not show your particular controller action, I don’t know, because I have no experience with CodeIgniter.

Do you have any other pages other than the home page and this page? Are those other pages accessible?

I think you can remove the index.php from the URL with some additional code, but it’s not required. CodeIgniter is setup to work without .htaccess rules too using this path structure. I don’t think that it’s necessary to change that to fix this issue.

2 Likes

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