One of the applications I've created with AppGini, for some reason always starts on the wrong page.
The App is a simple membership system - keeping track of members, dues, associated activities etc...
The initial page should always be the Login Page - but it invariably defaults to the membership List page - with the message: 'Sorry! You don't have permission to access this table. Please contact the admin.' then it goes to the Homepage (Login Page) ?
Anyone know of a reason why?
Initial Start or Home Page Incorrect
-
- AppGini Super Hero
- Posts: 54
- Joined: 2014-03-09 20:20
Re: Initial Start or Home Page Incorrect
You maybe have saved the view.php page in your browser.
Try the home.php.
Try the home.php.
23.17
Re: Initial Start or Home Page Incorrect
Do you have a link you can post so we can take a look and see what is happening?
And, did it ever work properly?
The initial page should show up in your browser as: http://yourwebsite/folder_name/index.php?signIn=1
You may or may not have a subfolder where all the files reside so you can ignore 'folder_name' in the above text.
What happens when you put in just the website and the subfolder (if present)? Your website software should look for index.htm, index.html, index.php as a minimum.
Did you just copy the files as output in AppGini to your website? Or did you change the organization in any way?
Please supply answers to the above and we may be able to help you figure this out.
Alan
And, did it ever work properly?
The initial page should show up in your browser as: http://yourwebsite/folder_name/index.php?signIn=1
You may or may not have a subfolder where all the files reside so you can ignore 'folder_name' in the above text.
What happens when you put in just the website and the subfolder (if present)? Your website software should look for index.htm, index.html, index.php as a minimum.
Did you just copy the files as output in AppGini to your website? Or did you change the organization in any way?
Please supply answers to the above and we may be able to help you figure this out.
Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -
-
- AppGini Super Hero
- Posts: 54
- Joined: 2014-03-09 20:20
Re: Initial Start or Home Page Incorrect
Sorry for the delayed reply -
1. If I put in 'http://yourwebsite/folder_name/index.php?signIn=1' it goes to the correct login page, but if I just enter the folder, ie, 'http://localhost/c_members/' it goes to my membership List page.
2. I have decreased the timeout on my echo membership List by setting it to o - which ensures the access error message only pops up for a second - a quick fix, I know.
3. I believe it's something to do with the fact that I don't use the 'Homepage' option, i.e., the default homepage (home.php) with the table links.
1. If I put in 'http://yourwebsite/folder_name/index.php?signIn=1' it goes to the correct login page, but if I just enter the folder, ie, 'http://localhost/c_members/' it goes to my membership List page.
2. I have decreased the timeout on my echo membership List by setting it to o - which ensures the access error message only pops up for a second - a quick fix, I know.
3. I believe it's something to do with the fact that I don't use the 'Homepage' option, i.e., the default homepage (home.php) with the table links.
Re: Initial Start or Home Page Incorrect
The quick way I would fix that is to, in the c_members folder put in a index.html page with a redirect to the correct page
Here is the code from the index.html page as generated by AppGini
Just change url=index.php to whatever page you want and it will make it load the way you wish. It will take a few seconds.
Alan
Here is the code from the index.html page as generated by AppGini
Code: Select all
<!doctype html public "-//W3C//DTD html 4.0 //en">
<html>
<head>
<meta http-equiv="Refresh" content="0;url=index.php">
<title>Loading ...</title>
</head>
<body></body>
</html>
Alan
Calgary, Alberta, Canada - Using Appgini 5.50 -
-
- AppGini Super Hero
- Posts: 54
- Joined: 2014-03-09 20:20
Re: Initial Start or Home Page Incorrect
Thank you. I changed index.php to : index.php?signOut=1 and it works correctly.