wineknow wrote: First Beta Release Version 1.5.0 beta 1
- NOT for use in a production system
- First Beta Release, so expect some trouble with install and upgrade
- read the README file in the tar file
New Download Site: http://www.homepage.mac.com/wineknow for NewsSync downloads.
any comments would be appreciated
-k
qnx wrote: for a thread, one original post has a header:
Date: Fri, 25 Jul 2003 22:44:17 +0200
the other one (reply) has a header:
Date: 25 Jul 2003 21:34:55 GMT
if you convert the first to GMT, it would be 25 Jul 2003 20:44:17
somehow newsync thinks the first one is Jul 26, 2003 - 12:44 AM
so the the reply got listed before the original post.
Code: Select all
$GMT_time = $newtime - ($offset / 100 * 60 * 60);
Code: Select all
<table width="100%">
Code: Select all
<table cellspacing="0" cellpadding="4" border="0" align="left" width="100%">
Code: Select all
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="left">
/home/lazer/public_html/phpbb/gosync: line 1: cd: /home/lazer/public_html/phpbb/newssync: No such file or directory
No input file specified.
<html>
<body>
phpBB : <b>Critical Error</b>
<br /><br />
Could not connect to the database</body>
</html>
LaZeR wrote: Yet another and possible problem.
Have I missed something or is it no longer possible to run as a chron with this version? Have tried several methods as follows:
Previously I had the "gosync" setup which worked with the old v1 version but now it doesn't seem to fire the script and my chron reports back as follows:
/home/lazer/public_html/phpbb/gosync: line 1: cd: /home/lazer/public_html/phpbb/newssync: No such file or directory
No input file specified.
Chron line example:
0 * * * * /home/lazer/public_html/phpbb/gosync &1>/dev/null &2>/dev/null
contents of gosync
cd /home/lazer/public_html/phpbb/newssync
/usr/bin/php -q newssync.php
Now if I login SSH and:
cd /home/lazer/public_html/phpbb/newssync
then type:
/usr/bin/php -q newssync.php
I now get the following:
<html>
<body>
phpBB : <b>Critical Error</b>
<br /><br />
Could not connect to the database</body>
</html>
Maybe I'm doing something wrong but I can't seem to find any documentation outlaying the changes (specifically cron related) to invoke when trying this new beta with ACP support.
Or is it only possible to run manually now for syncing through the ACP function? (Is the only thing that I can seem to make work at all now)
qnx wrote: if I change the name of the forum that is synced with newsgroup, will it cause trouble to newsync? I seem to remember the old 1.0 version has the forum name hardcoded in one of the configs...
qnx wrote: for a thread, one post has a header:
Date: Fri, 25 Jul 2003 22:44:17 +0200
the other one has a header:
Date: 25 Jul 2003 21:34:55 GMT
if you convert the first to GMT, it would be 25 Jul 2003 20:44:17
somehow newsync thinks the first one is Jul 26, 2003 - 12:44 AM
so the the second got listed before the first post.
wineknow wrote: check your permissions on the files, the user running the cron job must have access to all the files. Can you run newssync from the NewsSync console in phpbb admin?