NNTP Issue (New User) [message #162382] |
Wed, 05 May 2010 00:44 |
mmiller
Messages: 27 Registered: May 2010
Karma: 0
|
Junior Member |
|
|
Hi Folks!
New user here, just finished doing an install. I've used IPB 1.3.1 for close to a decade now and first impressions with FUD are very good!
My issue is NNTP. I created a proper rule and now want to get it to retrieve posts.
I edited the first line in nntp.php to read like this;
#!C:\Progra~1\PHP -q
That's my path to the PHP executable. Is it OK? (programmatically)
My next issue is, how do I trigger an update? The docs don't show anything for Windows/IIS. They just mention Task Scheduler.
Sorry for the newby questions - can anyone help?
|
|
|
|
|
Re: NNTP Issue [message #162403 is a reply to message #162394] |
Wed, 05 May 2010 18:50 |
mmiller
Messages: 27 Registered: May 2010
Karma: 0
|
Junior Member |
|
|
Thank you very much - I managed to get it working from the command line and as soon as figure out how to schedule it with Task Scheduler I'll be happy to update the docs accordingly as it's no difficult thing
Question though, during testing I began to pull down a newsgroup and after some time got this error;
Importing microsoft.public.windowsxp.general message 2037635
Importing microsoft.public.windowsxp.general message 2037636
(C:\Inetpub\fudforum\include\theme\default\db.inc:72<br />
C:\Inetpub\fudforum\include\theme\default\db.inc:176<br />
C:\Inetpub\fudforum\include\theme\default\imsg_edt.inc:112<br />
C:\Inetpub\fudforum\include\nntp.inc:577<br />
C:\Inetpub\fudforum\scripts\nntp.php:94<br />
) 1366: Incorrect string value: '\xBB Alte...' for column 'subject' at row 1<br
/>
Query: INSERT INTO fud30_msg (
thread_id,
poster_id,
reply_to,
ip_addr,
host_name,
post_stamp,
subject,
attach_cnt,
poll_id,
icon,
msg_opt,
file_id,
foff,
length,
file_id_preview,
offset_preview,
length_preview,
mlist_msg_id,
poll_cache,
flag_cc,
flag_country
) VALUES(
274,
350,
1662,
'79.78.172.66',
NULL,
1266356162,
'Re: Sound Schemes ╗ Altering, etc. (XP Professional)',
0,
0,
NULL,
3,
20000,
6631745,
1915,
0,
0,
0,
'uVL93$0rKHA(dot)3944(at)TK2MSFTNGP06(dot)phx(dot)gbl',
NULL,
NULL,
NULL
)<br />
Server Version: 5.1.42-community<br />
Any ideas on why or how to avoid it?
|
|
|
|
|
|
|
Re: NNTP Issue (New User) [message #162414 is a reply to message #162382] |
Thu, 06 May 2010 06:15 |
mmiller
Messages: 27 Registered: May 2010
Karma: 0
|
Junior Member |
|
|
Remarkable - being able to change the character set through the forum admin! I find a lot of things about this forum very interesting.
I checked the properties of fud30_index and found that it is already UTF8 I guess that means a programmatic solution?
The news pull stopped again and I'm sure it was also due to a non-standard character in the subject line. This time it might be a Spanish post that caused it to cough.
A search on Google for some of the text (Id� del suceso: 36871) seems to show that it was a Spanish post.
That caused me to think, maybe he's using a spanish-specific character such as an upside down exclamation mark or a letter with a hat
So, my theory is, if a foreigner made a post with a subject line that used non-standard characters maybe that will also cause the NNTP pull to cough up an error and stop?
This is the most recent error that seems to indicate a Spanish post;
Importing microsoft.public.exchange2000.general message 7475
(C:\Inetpub\fudforum\include\theme\default\db.inc:72
C:\Inetpub\fudforum\include\theme\default\db.inc:176
C:\Inetpub\fudforum\include\theme\default\imsg_edt.inc:112
C:\Inetpub\fudforum\include\nntp.inc:577
C:\Inetpub\fudforum\scripts\nntp.php:94
) 1366: Incorrect string value: '\xB7 del ...' for column 'subject' at row 1
Query: INSERT INTO fud30_msg (
thread_id,
poster_id,
reply_to,
ip_addr,
host_name,
post_stamp,
subject,
attach_cnt,
poll_id,
icon,
msg_opt,
file_id,
foff,
length,
file_id_preview,
offset_preview,
length_preview,
mlist_msg_id,
poll_cache,
flag_cc,
flag_country
) VALUES(
0,
2776,
0,
'200.16.138.46',
NULL,
1134395206,
'Id� del suceso: 36871',
0,
0,
NULL,
3,
110000,
13212695,
428,
0,
0,
0,
'OidmbJy$FHA(dot)3944(at)TK2MSFTNGP10(dot)phx(dot)gbl',
NULL,
NULL,
NULL
)
When I check Google for that post it shows many similar posts - all of them in Spanish.
Best;
Marvin
|
|
|
|
|
Re: NNTP Issue (New User) [message #162423 is a reply to message #162382] |
Sat, 08 May 2010 02:49 |
mmiller
Messages: 27 Registered: May 2010
Karma: 0
|
Junior Member |
|
|
OK, I got one
This is the error;
(C:\Inetpub\fudforum\include\theme\default\db.inc:72
C:\Inetpub\fudforum\include\theme\default\db.inc:176
C:\Inetpub\fudforum\include\theme\default\imsg_edt.inc:112
C:\Inetpub\fudforum\include\nntp.inc:577
C:\Inetpub\fudforum\scripts\nntp.php:94
) 1366: Incorrect string value: '\xBB Alte...' for column 'subject' at row 1
'Re: Sound Schemes � Altering, etc. (XP Professional)',
and this is the message (note the arrows in the subject)
Subject: Re: Sound Schemes » Altering, etc. (XP Professional)
Did you save the sound scheme after you'd modified it?
"thricipio" <thricipio(at)discussions(dot)microsoft(dot)com[/email]> wrote in message
news:1BEFD643-F393-487E-8B9C-2F81B39A23FF(at)microsoft(dot)com...[/email]
> So. I've been trying to do something on XP Pro, that I know I've done
> before
> with no great difficulty on XP Home: that is, change a couple of the
> sound
> scheme settings - specifically, the "Windows Logoff" and "Windows Logon"
> settings.
>
> On XP Home, I recall having to go into the "Sounds and Audio Devices
> Properties" dialogue and selecting the desired item (e.g., Windows Logoff)
> and then using the [Browse] button to find the desired .wav file. I can
> do
> that, and I can check that I have the correct .wav file by clicking the
> [>]
> button. So far, so good. But when I actually Logoff/on, I don't get the
> newly selected .wav files.
>
> I've even renamed the desired .wav files to "Windows Logoff(/on)" and
> placed
> them in the default directory {<root_drive>\Windows\Media} and tested them
> with the [>] button. And that works (as one would expect). But again,
> when
> I logoff and logon, I still get the default Win logoff/on .wav file
> sounds.
>
> Obviously, I'm missing something basic here. just can't figure out what
> that
> is. Any help you can give will be appreciated. Thanks.
>
> Color me stymied,
> -Thri
[Updated on: Sat, 08 May 2010 02:54] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: NNTP Issue (New User) [message #162434 is a reply to message #162433] |
Sun, 09 May 2010 17:12 |
mmiller
Messages: 27 Registered: May 2010
Karma: 0
|
Junior Member |
|
|
Hi Frank;
I did as you asked and this is what I got when I ran it;
Output of file C:/Inetpub//fudforum/scripts/nntp_1.log:
Importing microsoft.public.windowsxp.general message 2037610
FORUM CHARSET=[utf-8]
RAW SUBJ=[]
NEW SUBJ=[Sound Schemes » Altering, etc. (XP Professional)]
Does that help?
|
|
|