Open maaka opened 9 years ago
.... this error is common the problem is your index.php file location but it's interesting and i need more info. Do http://localhost/ redirects you to http://localhost/atomcms/home? is atomcms a folder? where is your index.php placed?. Please anwser those questions :+1:.
Every project I have has its own individual folder. So http://localhost just shows some generic WAMP index page with some info. So yes each project I have including atomcms has its own folder and in the root of that folder is an index.php file.
<?php include 'config/setup.php';?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $page['title']. ' | ' .$site_title; ?></title>
<?php include 'config/css.php'; ?>
<?php include 'config/js.php'; ?>
<meta charset="UTF-8">
</head>
<body>
<?php include D_TEMPLATE.'/navigation.php'; //Main Nav?>
<div class="container">
<h1><?php echo $page['header'];?></h1>
<!--sql query has "<p> included" from function-->
<?php echo $page['body_formatted'];?>
</div>
</div>
<?php include D_TEMPLATE.'/footer.php';?>
<?php if($debug ==1) { include 'widgets/debug.php' ;} ?>
</body>
</html>
the index.php file MUST be in the folder where the project is building. In your case in http://localhost/atomcms
it is
could you print your screen to see what error you're getting and what it's displaying? Windows: pres windows+pnt
It's impossible to have a index.php in the folder atomcms and to get that error, the only clue I have could be just a mistake. You have to make sure you have correctly call the folder... (for url when finding folder or files you must have heck word match, like capitals letters and simbols) if you're not sure just say it.
Ok I think the issue has gone far beyond going back in forth in a forum. I've been in IT long enough to know the magic of a screen share in resolving issues. I've been meaning to do this for awhile so perfect excuse to setup a helpout with Alan!
allright, have fun programing and developing :see_no_evil:. I'll be here if you need me.(just realized you posted a picture, it wasn't loading :cry: )
I don't mean to intrude on this discussion but I consistently make the mistake of not actually starting apache and sql. This causes the same result for me. Sometimes I get in too big a hurry. Sorry for the intrusion.
cndoke, No intrusion at all my friend. I did check to make sure all services were working. I have other apps I'm developing as well, and those were working fine. I've contacted Alan through helpouts. I don't mind spending because this series as a while has helped me out alot. I'm a data center network guy at a .net software company, and no one there knows php. I've dabbled in php in the past. Some opportunities at work have given me a chance to basically dive head first and finally use PHP in real world apps. @creptor no worries I think this can be solved quickly with a one on one.
Good luck! My first exp with php also. I find myself forgetting to start xampp constantly and then feel foolish when I figure it out. Happy coding!
guys please I still need help in this :p @maaka I have the same issue :( same error message .. and I don't wanna move on and let this issue
what are you using? wampp or xampp?
im using xammp
--- Original Message ---
From: "creptor" notifications@github.com Sent: March 1, 2015 5:44 PM To: "thedigicraft/Atom.CMS" Atom.CMS@noreply.github.com Subject: Re: [Atom.CMS] Clean URLs error (#99)
what are you using? wampp or xampp?
Reply to this email directly or view it on GitHub: https://github.com/thedigicraft/Atom.CMS/issues/99#issuecomment-76638901
xampp users shouldn't have this problem, maybe it's related to your files, please check that those mach with the ones in this repository.
if not, try re-installing xampp first before continuing
no I'm using wamp actually
go here, i'm explaining how to fix this issue #101
I fixed the wamp error for the wamp users in the post #101 check it out.(the files can't be the same for wamp and xampp so i made 2 different fixing files)
Awesome. Thanks.
thank you so much our hero
So I guess you could say this is an extension of my previous issue with Clean URLs https://github.com/thedigicraft/Atom.CMS/issues/98. After some adjustments made for WAMP I am now seeing requested URL /index.php was not found on this server. The URL i have in my browser is http://localhost/atomcms/home