Cannot index my site
Posted: Wed Oct 05, 2022 3:13 pm
Hi, I cannot get the latest version of Sphider to index my website. It displays the code below. I've spend hours trying to get this to work but zero luck. This is driving me insane because the older version of Sphider worked just fine with PHP5 but now I have version 8.1.9 and can't get it to work. I have chmod777 the full sphider directory and even created a new user named 'www-data' from some google searching and made it owner of the directory but of course that didn't work.
Please help if you can.
Thanks.
Also, I don't know much about PHP extensions and whether they are on or off but if I run
I don't see any results with mysql... mysqli.. mysqlnd... etc. I don't know if they are running or not. However, when running the code below
I get the message that it IS enabled.
Please help if you can.
Thanks.
Code: Select all
Permission denied
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /var/www/html/search/admin/spiderfuncs.php:229 Stack trace: #0 /var/www/html/search/admin/spiderfuncs.php(229): fclose() #1 /var/www/html/search/admin/spiderfuncs.php(248): urlStatus() #2 /var/www/html/search/admin/spider.php(916): checkRobotTxt() #3 /var/www/html/search/admin/spider.php(207): indexSite() #4 {main} thrown in /var/www/html/search/admin/spiderfuncs.php on line 229
Code: Select all
php -m
Code: Select all
<?php
$mysqlnd = function_exists('mysqli_fetch_all');
if($mysqlnd){
echo 'mysqlnd enabled';
}