Spidering Problems on a Windows Server Website
I haven't forgotten about the fact that I said I would try and solve that authentication problem for a site on a Windows server. Instead, I wanted to bypass the authentication process for now and just see if I could spider this website at all. Sure enough, I ran into a problem. Here's the error I'm getting.
Quote:
Quote:
Any ideas what the problem could be? |
Hi. PhpDig 1.6.4+ has an option in the config file to bypass is_executable. Change define('USE_IS_EXECUTABLE_COMMAND','1'); to define('USE_IS_EXECUTABLE_COMMAND','0'); in the config file.
Regards, Mathieu |
Yes, I know. As I stated in my first post, I changed that to zero and just got a bunch of different errors. I have no idea why. :( Would it be helpful if I posted those error messages too?
|
I'm replying to myself here. :D After posting earlier, I went on reading some other posts in the forum and came across a couple of others with problems similar to mine with that is_executable variable. OK, I thought. I'll just double-check what I've done and attempt to spider my site one more time.
I refreshed all the phpdig database tables, then attempted to spider my site again. This time, the spidering page showed up like this: Quote:
Now I'm sure that I have that is_executable variable being set properly, so what is the problem this time? |
Sorry for so many posts, but I'm replying to myself again. I found this thread in the forums, which describes the exact same problem I'm having, including the error messages.
I tried what they said they did, creating an admin/temp directory, and also Charter's suggestion about commenting out that section of code. I'm still getting that long list of errors given in that prior post. Worse yet, it seems to only be spidering the root directory and then stopping. I have *way* more content than just one page. Help! |
Hi. Is safe mode on? What errors do you receive?
|
Re: safe mode. I have no idea. Is that something I would have to ask my web host? I didn't find anything about that in their knowledge base. If safe mode is on, is there no way around it?
Here are the errors I'm getting (full directory extension is replaced by "pathname" here): Quote:
|
|
safe_mode is off for both local and master value.
safe_mode_exec_dir is off for both. safe_mode_gid is off for both. safe_mode_include_dir has "no value" for both. open_basedir has "no value" for both. disable_functions has "no value" for both. disable_classes has "no value for both. All three of those directories you had me check have permission level 777. I was reading some of the stuff from the link you posted. Is it possible that the reason I'm unable to execute these commands is that I created the PHPDIG directories with the username/password that I was given for my web host account, but the database username/password are different? When it comes to this sort of thing, I'm way out of my element. |
Hi. What is allow_url_fopen set to in the phpinfo?
|
That is set to On for both local and master values.
|
>> ...I created the PHPDIG directories with the username/password that I was given for my web host account...
Hi. Do you mean that you logged into your account and then created the directories? Who's the owner of the directories? Perhaps send an email to your host. For some reason it seems that the directories are not accessible to the script. |
I contacted my Web host, and they changed the permissions for my account. That did the trick, and now I have spidered my site! :D
I just have to add that I have one of the best Web hosts around. I turned in the support ticket about 10:15 p.m. tonight, and received a response about 45 minutes later. This isn't the first time either that I have received fast service like that. Pretty cool, huh? Now, to look at that authentication screen issue with IIS that I said I would work on.... |
But...
And here is where Windows is so darn picky, I'm testing the actual search page now and getting the following error: Quote:
Quote:
|
Hi. What do you get when you call the following from the browser using your Windows account?
PHP Code:
|
All times are GMT -8. The time now is 03:09 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.