Hi lierduh,
your hack is very dependable. Since the first release of you hack I noticed for some reasons the gateway isn?t exporting new threads in the forums into the newsgroups. I never found out why this was happening and in a post a few threadsites ago someone mentioned that too.
While bug tracing today I found something that I?ve never noticed before. I guess because I never run the gateway.php through the admincp/cronadmin.php. I always run the gateway as ?debug=1 in a seperate browser window, even if I had set the cronadmin.php to do this job. I only wanted to see the results time by time.
First I got to say that my host is running php as a module under cgi. So my account is restricted by various limitations through that.
My installed version of your hack is 2.3.1 (gateway.php,v 1.40 2004/10/26 14:53:00) modified with your posted additional bugfixes.
As said before, I struggled with the problem that some posts made in the forums doesn?t became exported to the newsgroups. They just never showed up there. I couldn?t figure out why this happend and I couldn?t see or find conditions, which caused this.
Everytime someone informed me about not exported posts, I posted a testpost in my forums and exported this one to the ng through the link
http://www.myforums.com/forum/gateway.php?debug=1 - and it worked just perfect. So I never found out what the heck was going on.
Today I noticed that various posts haven?t been exported to the ng again. So I posted some testpost in the forums. But this time - dunno why

- I went back to the admincp and run the gateway through the cronjob in admincp/cronadmin.php - and whooops..
what?s that ?! I had to recognize that something was going terrible wrong with that:
Quote:
Warning: main(./gateway.php): failed to open stream: No such file or directory in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
Fatal error: main(): Failed opening required './gateway.php' (include_path='.:/usr/local/lib/php') in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
|
None of the new posts became exported to the ng - but posts from the ng became imported to the forum. So at least something seemed to happen in the background. Even if I don?t know what exactly.
At first glance I thought I could have uploaded gatway.php to the wrong DIR, uploaded 2 different gateway.php?s to 2 different DIR?s or/and had set the paths incorrect, double-checked everything, but all params were set correctly and gateway.php only exists in the DIR /forum/.
I wrote another testpost and tried to export this one the way I did it the last weeks through a single browser window and the adress
http://www.myforums.com/forum/gateway.php?debug=1. Again, that worked perfect, imported and exported all posts absolutly reliable.
After that I thought
give it a try and changed the admincron-param from ?./gateway.php? to ?./gateway.php?debug=1?. But that only leads to another error-msg:
Quote:
Warning: main(./gateway.php?debug=1): failed to open stream: No such file or directory in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
Fatal error: main(): Failed opening required './gateway.php?debug=1' (include_path='.:/usr/local/lib/php') in /xxx/xxx/xxx/htdocs/forum/admincp/cronadmin.php on line 56
|
This time the gateway went on strike and im- or exported nothing.
I changed the admincron-param again to the full http adress ?
http://www.myforums.com/forum/gateway.php?. With this the gateway seems to work fine and is exporting the new posts from the forums to the ng. It?s running now about an hour and it
seems to be dependable and stable. I stress
seems cause I thought this a few times before
But..I would like to know wether anyone could confirm this for his/her forums or am I the only one having this problem ?