Isura
04-08-2014, 04:56 PM
<<edit -- the first one was a bit confusing (sorry, my bad)
Normally, when I try to open an non-extisting page the script will show the index-page. But if I add a few more things in the url I get a blank page with only an error message. I would really like it, if the site would still show the index page instead.
Here as an example:
http://creaturesoflessikor.de/xyz
--> this is the normal script reaction when you enter an non exist page: it shows the index page.
But if you enter a few more things to the url:
http://creaturesoflessikor.de/xyz/xyz/xyz
It will show you a blank page with only the error message. But I would prefer if it will still show the index page instead.
Hopefully the problem is now a bit clearer. Sorry, for the misunderstanding.
Sorry, english isn't my native language.
edit>>
Hello
I notice a problem with the controller class. Normally if you want to open a page which doesn't exist, it shows you the index page. But if you add a few more things to the url you can provoke a fatal error.
For example:
The page xyz.php doesn't exist.
if I enter:
mysite.com/xyz/
it shows the index page.
same with
mysite.com/xyz/argument1--> shows the index page
but if I add a second argument:
mysite.com/xyz/argument1/argument2
I get an error:
Fatal Error: Class XyzController either does not exist, or has its include path misconfigured!
Know someone a good solution for this problem?
Normally, when I try to open an non-extisting page the script will show the index-page. But if I add a few more things in the url I get a blank page with only an error message. I would really like it, if the site would still show the index page instead.
Here as an example:
http://creaturesoflessikor.de/xyz
--> this is the normal script reaction when you enter an non exist page: it shows the index page.
But if you enter a few more things to the url:
http://creaturesoflessikor.de/xyz/xyz/xyz
It will show you a blank page with only the error message. But I would prefer if it will still show the index page instead.
Hopefully the problem is now a bit clearer. Sorry, for the misunderstanding.
Sorry, english isn't my native language.
edit>>
Hello
I notice a problem with the controller class. Normally if you want to open a page which doesn't exist, it shows you the index page. But if you add a few more things to the url you can provoke a fatal error.
For example:
The page xyz.php doesn't exist.
if I enter:
mysite.com/xyz/
it shows the index page.
same with
mysite.com/xyz/argument1--> shows the index page
but if I add a second argument:
mysite.com/xyz/argument1/argument2
I get an error:
Fatal Error: Class XyzController either does not exist, or has its include path misconfigured!
Know someone a good solution for this problem?