did as you said
restart apache (which memory serves me you have to do to get php changes to take effect(
the same thing happens as shown ini the screen shot
I do appreciate all the effort
Cant get to work
Re: Cant get to work
No echo message appears? Even with cookie cleared?
This means Sphider isn't getting out of auth.php. Thinking this through...
The logon screen is being displayed, so auth.php is initially being executed...
Clicking "Submit" executes auth.php again and SHOULD then exit and return to admin.php --- which isn't happening...
Are we getting hung up in the line 43 elseif??? I've never seen this before, but the original developer Ando Saabas must have that there for a reason.
In auth.php, on line 47 (currently blank), insert:
echo "And here we sit":
Clear the cookie and try again. Do you get the text?
If so, I have to think about this! But at least it would be progress...
This means Sphider isn't getting out of auth.php. Thinking this through...
The logon screen is being displayed, so auth.php is initially being executed...
Clicking "Submit" executes auth.php again and SHOULD then exit and return to admin.php --- which isn't happening...
Are we getting hung up in the line 43 elseif??? I've never seen this before, but the original developer Ando Saabas must have that there for a reason.
In auth.php, on line 47 (currently blank), insert:
echo "And here we sit":
Clear the cookie and try again. Do you get the text?
If so, I have to think about this! But at least it would be progress...
-
- Posts: 23
- Joined: Mon May 31, 2021 5:48 pm
Re: Cant get to work
I think the response I got was not what you were expecting
Parse error: syntax error, unexpected ':', expecting ',' or ';' in /usr/local/www/kasdivi.com/sphider/admin/auth.php on line 47
I mist have screwed something up REALLY good
Parse error: syntax error, unexpected ':', expecting ',' or ';' in /usr/local/www/kasdivi.com/sphider/admin/auth.php on line 47
I mist have screwed something up REALLY good
Re: Cant get to work
Actually, it was ME who screwed up! The line SHOULD be:
echo "And here we sit";
My fat fingers ended the statement with a colon instead of a semi-colon. My apologies!
echo "And here we sit";
My fat fingers ended the statement with a colon instead of a semi-colon. My apologies!
-
- Posts: 23
- Joined: Mon May 31, 2021 5:48 pm
Re: Cant get to work
Well changing to semi solved the new error but still no log on success. No sig of the new echo command either
Re: Cant get to work
Forgive me for asking this question:
Do the logon user/password credentials match the "admin"/"admin_pw" defined in auth.php, lines 22 and 23?
If so, I have a couple more test echoes in mind...
Do the logon user/password credentials match the "admin"/"admin_pw" defined in auth.php, lines 22 and 23?
If so, I have a couple more test echoes in mind...
-
- Posts: 23
- Joined: Mon May 31, 2021 5:48 pm
Re: Cant get to work
Ok. did it again made sure I cut and pasted the credentials and It worked to a point.. Must have been another attack of fat fimgers. Who can say since I cant see the password. Love that security. they can attached a pipe line but ...
ok that aside. I got logged on and try to index and got this response
And here we sitLogging option is set, but cannot open file for logging.
Thoughts insights?
ok that aside. I got logged on and try to index and got this response
And here we sitLogging option is set, but cannot open file for logging.
Thoughts insights?
Re: Cant get to work
There are several directories within the admin directory. One of them is "log".
These directories must be writable by the web server. In Linux using Apache, the owner must be changed to www-data. Also permissions should be set to 775.
You are using BSD, but are also using Apache... I can't guarantee www-data as owner will work, but give that a try.
You should have something like this for ls -l on admin (in this case, "rich" can be anything... it's "www-data" that is critical):
These directories must be writable by the web server. In Linux using Apache, the owner must be changed to www-data. Also permissions should be set to 775.
You are using BSD, but are also using Apache... I can't guarantee www-data as owner will work, but give that a try.
You should have something like this for ls -l on admin (in this case, "rich" can be anything... it's "www-data" that is critical):
IF www-data is not valid, let me know and I will do some research to see what owner would be valid...drwxrwxr-x 2 www-data rich 4096 Feb 1 20:00 backup
-rwxrwxrwx 1 rich rich 34241 Jan 29 16:06 configset.php
-rwxr-xr-x 1 rich rich 15613 Jan 22 19:07 convert_db.php
-rwxr-xr-x 1 rich rich 5195 Jan 25 12:47 db_backup.php
-rwxr-xr-x 1 rich rich 736 May 10 2019 dbmain.js
-rwxr-xr-x 1 rich rich 7753 Jan 22 18:53 db_main.php
-rwxr-xr-x 1 rich rich 159 May 10 2019 ext.txt
-rwxr-xr-x 1 rich rich 369 May 10 2019 index.html
-rwxr-xr-x 1 rich rich 10234 Jan 25 12:47 install.php
drwxrwxr-x 2 www-data rich 102400 Jun 9 18:00 log
-rwxr-xr-x 1 rich rich 13025 Feb 1 20:17 messages.php
-rwxr-xr-x 1 rich rich 6680 Jan 22 18:58 rss_spider.php
drwxrwxr-x 2 www-data rich 4096 Jan 22 10:11 sitemaps
-rwxr-xr-x 1 rich rich 43272 Jan 22 19:04 spiderfuncs.php
-rwxr-xr-x 1 rich rich 60413 Feb 1 16:44 spider.php
drwxrwxr-x 2 www-data rich 4096 Feb 1 19:56 tmp
-
- Posts: 23
- Joined: Mon May 31, 2021 5:48 pm
Re: Cant get to work
Thanks again
for FreeBSD the user and groups is "www"
I changed permission and I am apparently indexing. Thanks for all your hard work. Nice to have this nice tool back
for FreeBSD the user and groups is "www"
I changed permission and I am apparently indexing. Thanks for all your hard work. Nice to have this nice tool back
Re: Cant get to work
I had the same problem it is to do with the conf.php file in settings that will not accept the $result = $stmt->get_result();
To repair in your PHP settings turn off mysqli and turn on nd_mysqli
That fixed it for me.
To repair in your PHP settings turn off mysqli and turn on nd_mysqli
That fixed it for me.