Welcome Guest, Not a member yet? Register   Sign In
help, cannot get "Static Pages" to work from the user guide :(
#8

(This post was last modified: 08-19-2020, 01:10 PM by zoldos.)

(08-19-2020, 12:58 PM)jreklund Wrote: "No input file specified" aren't a CodeIgniter error message, but a server error when I come to think about it.
Can you show us how you created your virtual host in Apache?

And what urls have you tried?

I tried: mysite.com/pages, mysite.com/pages/home, and mysite.com/pages/about  What do you mean "virtual host"?  I setup the domain in Plesk and uploaded all the files from the CI4 archive to the domain's root, being sure to change httpdocs to public.  It seems to work, as mysite.com displays the default welcome page.  I'm on a live server.

(08-19-2020, 01:05 PM)captain-sensible Wrote: i just noticed something :

Quote: is_file(APPPATH.'/Views/pages/'.$page.'.php'))

the way i want my logic to work is : does that view exist; whereas your logic is : "is_file"

I'm still confused.  I may give this up. Huh
Reply


Messages In This Thread
RE: help, cannot get "Static Pages" to work from the user guide :( - by zoldos - 08-19-2020, 01:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB