Welcome Guest, Not a member yet? Register   Sign In
Hello World -video tutorial --- problem duplicating it
#1

[eluser]JPrieto[/eluser]
I am trying to duplicate (follow along) the hello world tutorial video
to learn CI better

when i go to the url htt://localhost/codeigniter

i get the WELCOME page

but in the browser url ..... i do NOT see the "index.php" page as is seen in the url of the browser in the video

so when i go to http://localhost/codeigniter/blog

i get a 404 error message

i got to manually type the index.php in the url to see the blog (hello world) nessage

http://localhost/codeigniter/index.php/blog


Note: i installed wampserver in my pc
so i do not know if this has anything to do with this issue

PLEASE ADVISE

thanks
#2

[eluser]Thorpe Obazee[/eluser]
Haven't watched it but if what you say is true, then there could be something missing(rewrite). Read about removing the index.php file
#3

[eluser]JPrieto[/eluser]
another thing is that if i go to

http://localhost/codeigniter/index.php

i do NOT get a 404 eror message like it happened in the video

... in fact, i still get the default welcome page that came with CI

why is this?
#4

[eluser]Thorpe Obazee[/eluser]
You shouldn't get a 404 (never watched the video).
#5

[eluser]JPrieto[/eluser]
[quote author="bargainph" date="1243490963"]You shouldn't get a 404 (never watched the video).[/quote]

hi,

trust me

is there in the video

watch it ... is in the first 2-4 minutes

http://codeigniter.com/tutorials/watch/intro/

thanks

if you see it, then it will be easier to understand my issue

please

thanks
#6

[eluser]Thorpe Obazee[/eluser]
Ok. my browser crashed twice when I tried the link.
#7

[eluser]JPrieto[/eluser]
[quote author="bargainph" date="1243491615"]Ok. my browser crashed twice when I tried the link.[/quote]

then just go to

www.codeigniter.com

then to video tutorial

it is the first one

thanks

i simply copy/pasted the url from my browser to link you to the video
don't know why your browser crashed

try firefox
#8

[eluser]JPrieto[/eluser]
[quote author="JPrieto" date="1243490919"]another thing is that if i go to

http://localhost/codeigniter/index.php

i do NOT get a 404 eror message like it happened in the video

... in fact, i still get the default welcome page that came with CI

why is this?[/quote]

anyone knows why?

please

thanks
#9

[eluser]Thorpe Obazee[/eluser]
lol. I know where the link is. Firefox crashed. Probably some add on error. Anyway, trust me. you're better off trying out 'real' stuff than the video tutorial.
#10

[eluser]Colin Williams[/eluser]
I think you're missing out on some of the fundamentals of Web development. You WANT your application to run through index.php (or whatever you rename it to). If you don't want index.php in the URI, you must use something like mod_rewrite, which only masks the index.php. It still exists and your requests still go through that file, so to speak. I don't see what you are talking about in the vid, but I don't think it's important. It's likely that the version used in the video didn't ship with a default controller.




Theme © iAndrew 2016 - Forum software by © MyBB