Can't wait to use it for my home server! I put it on my server but I get the error:
Notice: Undefined index: keyword in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 21
Notice: Undefined index: start in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The answer:
that message is not a real error, but a notice. It is just a warning that the index.php is using an undefined index in an array somewhere. I would just turn off notices in your php.ini file (set error reporting to all except notices, E_ALL
& ~E_NOTICE).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
also, php.ini can be at you C:\PHP, %WINDIR%, or your apache installation folder. can you give me your system info like OS, apache and php version? phpinfo.php with the content <?php phpinfo(); ?> can show them all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can't wait to use it for my home server! I put it on my server but I get the error:
Notice: Undefined index: keyword in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 21
Notice: Undefined index: start in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 22
this message was posted for epheterson at http://soogle.hinihao.com/index.php?section=2.
The answer:
that message is not a real error, but a notice. It is just a warning that the index.php is using an undefined index in an array somewhere. I would just turn off notices in your php.ini file (set error reporting to all except notices, E_ALL
& ~E_NOTICE).
Searches don't work on my server, my url is:
define('GDS_URL', 'http://127.0.0.1:4664/&s=ABdvRPWjERzT31DDpt5v7ZxRbvY');
no ?q=, I don't know what the problem is.
And where is the php.ini file, I looked in C:\PHP and didn't see it.
Would you try this and let me know what you get? open your IE, then copy&paste the following URLs: (we are searching 'a' on your server).
A:
http://127.0.0.1:4664/&s=ABdvRPWjERzT31DDpt5v7ZxRbvY?q=a&start=0&num=10
B:
http://127.0.0.1:4664/search&s=ABdvRPWjERzT31DDpt5v7ZxRbvY?q=a&start=0&num=10
also, php.ini can be at you C:\PHP, %WINDIR%, or your apache installation folder. can you give me your system info like OS, apache and php version? phpinfo.php with the content <?php phpinfo(); ?> can show them all.
A works, B doesn't
I found my PHP.ini file using phpinfo() and I made the change, the message is now gone.