-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: PATH_INFO #4
Comments
Post the link to your website, and sign-up on qwench.net and post this question. |
I cannot post a link, its deployed on a LAN. |
hello, I think your script is great, except that I can not install can you help me? merci ;-) |
Try this solution: config.phpdefine('BASE_DIR',''); index.php//$path = explode("/", substr($_SERVER['PATH_INFO'],1)); $path = explode('/', substr(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH),1)); |
Better fix than tamr's code: index.php (replaces line 14):
|
magical..!!! thanks svandragt.... 👍 it made my night.. :D |
I have this error on index:
Notice: Undefined index: PATH_INFO in /opt/lampp/htdocs/qwench/index.php on line 14
I've tried changing the config parameters, but nothing works:
define('BASE_DIR','/qwench');
define('BASE_PATH',BASE_DIR);
The text was updated successfully, but these errors were encountered: