Welcome Guest, Not a member yet? Register   Sign In
Local setup problem (MAMP)
#1

[eluser]A. Falls[/eluser]
Hi, thanks in advance for your patience, still learning…

I'm trying to set up a local environment for CI using MAMP Pro so I can make some stuff and learn! I installed CI, and changed the config file to match my dev domain (thefalls.dev:8888). I was walking through tutorials, and started with http://ellislab.com/codeigniter/user-gui...ation.html. Accessing the form view on my local setup (http://thefalls.dev:8888/index.php/form) works, but the form submission action gets a 404. It seems that my paths are setup correctly, so why the 404? I even tried copying and pasting all of the code from the tutorial into new files, same issue.

Any ideas appreciate…
#2

[eluser]Yorick Peterse[/eluser]
Could you provide us with your base_url as defined in the config.php file ?
#3

[eluser]A. Falls[/eluser]
Code:
$config['base_url'] = "http://thefalls.dev/";
(set Apache port to 80. I also tried not setting Apache ports, then the base_url was
Code:
http://thefalls.dev:8888/
still no luck…). Also tried removing end slash from path, no luck.
#4

[eluser]jayrulez[/eluser]
do u have rewrite module enabled?
#5

[eluser]A. Falls[/eluser]
Yes, I have mod_rewrite on. I uploaded it to my live server, same issue (even after setting base path)… Maybe I'm just not getting something, I thought the only config was for the base path…
#6

[eluser]A. Falls[/eluser]
Sorted, I had accidentally left a ".php" extension in a form_open() function… I feel dumb.




Theme © iAndrew 2016 - Forum software by © MyBB