[RDD] trafficgenny

Robert Orr orrrobert at gmail.com
Tue Sep 22 20:20:00 EDT 2009


Here's a few of my files... just a few different lines according to diff:

http://roborr.com/paste/lestrafficgenny.tar.bz2

Note, Drew's write to a file code is working.

Robert

On Tue, Sep 22, 2009 at 1:56 PM, <admin at linspireos.co.uk> wrote:

> Hi Robert can you put a copy of your .php files up some place or email
> them over so I can check the code as i bet yours is different code as my
> line numbers you said for the SMP code are different numbers and even by
> commenting out these lines it is still the same problem so there must be
> some upper code thats been changed as well on some of those php scripts.
>
> Regards
>
> Les
>
>
>
> > I just downloaded the trafficgenny from the wiki link and see that the
> SMP
> > Stang lines are not commented out.
> > Sorry about that.
> > Robert
> >
> > On Tue, Sep 22, 2009 at 12:58 PM, Robert Orr <orrrobert at gmail.com>
> wrote:
> >
> >> Hi Les,
> >> Good news you are adding to the database.
> >>
> >> Normally, trafficgenny.php (through select1.php) just outputs to the
> >> browser window through the echo command on line 123. I normally copy and
> >> paste that output into a file that rdlogmanager can use when it
> >> generates a
> >> log and imports traffic.
> >>
> >> I see at the end of the errors that yours is printing 07:30:10 043002
> >> SMP
> >> Stang... Those are commented out in my code: select1.php lines 172-176.
> >> Does
> >> this mean our select1.phps are not the same?
> >>
> >> Drew tried to get output to a file working and it looks like line
> >> 125-128
> >> tries to write to trafdaily.log. I'm not sure if that works or not.
> >>
> >> Robert
> >>
> >>
> >>
> >>
> >> On Tue, Sep 22, 2009 at 12:31 PM, <admin at linspireos.co.uk> wrote:
> >>
> >>> Thanks Robert for that links.
> >>> I have made a new database, imported your dump file so I have a copy of
> >>> your database and have deleted all but 2 of your entries.
> >>>
> >>> So I Have
> >>>
> >>> calendar
> >>>
> >>> sheet
> >>>
> >>> tempspnsrtimeslots
> >>>
> >>> timeslots
> >>>
> >>>
> >>>
> >>> in my mysql file but it looks like the calander only goes to date
> >>> 31-12-2007 but even if I try to pull a text file with 2009 or 2007 I
> >>> still
> >>> have the mysql errors .........
> >>>
> >>> It is still all on same webspace but it seems to write database as
> >>> index.php shows what you have added but the Bummer will not write the
> >>> log
> >>> file. unless I am not looking in the correct place to pull my log file
> >>> out
> >>> after the trafficgenny.php as where do the generated logs go as all the
> >>> mysql errors still seem to be putting things in the sql files. ?
> >>>
> >>>
> >>>
> >>>
> >>> > Hi,
> >>> > Yes insert.php should be blank (sorry that's not too user friendly).
> >>> The
> >>> > errors you see *Warning*: mysql_result()
> >>> > [function.mysql-result<
> >>> http://traffic.biglradio.com/trafficgenny/function.mysql-result>]:
> >>> > Unable to jump to row 0 on MySQL result index 6  mean there is no
> >>> records
> >>> > in
> >>> > the database. So if you only see Cherished memories... that is your
> >>> > problem.
> >>> > add.html is not adding to sheet for some reason.
> >>> >
> >>> > Here's a link to a simplified version of my database.
> >>> >
> >>> > http://roborr.com/paste/trafficgenny.sql
> >>> >
> >>> > I'm not 100% positive it works but it's likely closer than yours. I'm
> >>> > guessing one of your problems is that I have just not given enough
> >>> > instructions in the README.txt and neither of you guys have a
> >>> timeslots
> >>> > table yet. So you can use mine.
> >>> >
> >>> > Drew's work was mostly to generate that table by reading your
> >>> Rivendell
> >>> > database and looking for "commercial" events. See rivavail and
> >>> > rivpulltime.
> >>> > Note, I haven't tried them.
> >>> >
> >>> > Here's a link to his work:
> >>> >
> http://code.google.com/p/drradioutils/source/browse/#svn/trunk/rivutils
> >>> >
> >>> > Hope this gets you closer.
> >>> >
> >>> > Have a great day,
> >>> > Robert
> >>> >
> >>> >
> >>> > On Mon, Sep 21, 2009 at 11:48 PM, Jorge Soto <jsoto67 at yahoo.com>
> >>> wrote:
> >>> >
> >>> >> Ok, when I open add.html and enter data into it and "submit query" I
> >>> get
> >>> >> a
> >>> >> new page (http://localhost/trafficgenny/insert.php) but it is
> blank.
> >>> On
> >>> >> the bottom left hand side of the page it says "beagle is indexing
> >>> >> http://localhost/trafficgenny/insert.php" and it just sits there. I
> >>> log
> >>> >> in
> >>> >> to PhpMyAdmin to look at the table but it's empty except for
> >>>  "Cherished
> >>> >> Memories" and all it's pertaining data. When I try to run
> >>> >> trafficgenny.php,
> >>> >> I have tried both date formats (YYYY-MM-DD) & (YYYY/MM/DD) but when
> >>> I
> >>> >> press
> >>> >> submit I get (http://localhost/trafficgenny/select1.php) but it is
> >>> full
> >>> >> of
> >>> >> errors. Again on the bottom left hand side of the page I get "beagle
> >>> is
> >>> >> indexing hhtp://localhost/trafficgenny/select1.php"
> >>> >>
> >>> >> thanx,
> >>> >> jlsoto
> >>> >>
> >>> >>
> >>> >> --- On *Mon, 9/21/09, Robert Orr <orrrobert at gmail.com>* wrote:
> >>> >>
> >>> >>
> >>> >> From: Robert Orr <orrrobert at gmail.com>
> >>> >> Subject: Re: [RDD] trafficgenny
> >>> >> To: "User discussion about the Rivendell Radio Automation System" <
> >>> >> rivendell-dev at lists.rivendellaudio.org>
> >>> >> Date: Monday, September 21, 2009, 9:15 PM
> >>> >>
> >>> >>
> >>> >> Sorry,
> >>> >> You have to have it in your webserver directory and you have to
> >>> enable
> >>> >> php
> >>> >> for your webserver. Here's some info if you are running apache2
> >>> >>
> >>> >> http://www.petefreitag.com/item/516.cfm
> >>> >>
> >>> >> Have a great day,
> >>> >> Robert
> >>> >>
> >>> >> On Mon, Sep 21, 2009 at 8:41 AM, Jorge Soto
> >>> >> <jsoto67 at yahoo.com<http://mc/compose?to=jsoto67@yahoo.com>
> >>> >> > wrote:
> >>> >>
> >>> >>>  yes, I read it but it doesn't say if I have to put the
> >>> trafficgenny
> >>> >>> directory in the webserver. I did so anyway and I get an "add.html"
> >>> >>> page
> >>> >>> that has no input boxes, just labels. so I tried leaving the
> >>> >>> trafficgenny
> >>> >>> directory on my desktop and when I run "add.html" and enter all the
> >>> >>> data on
> >>> >>> pressing enter I get " Open 'desktop:/trafficgenny/insert.php'?
> >>> >>>                                            Type: PHP script.
> >>> >>> I am running it on OpenSuse 11.1
> >>> >>> Server version: 5.0.67 SUSE MySQL RPM
> >>> >>>
> >>> >>> thanx,
> >>> >>> jlsoto
> >>> >>>
> >>> >>> --- On *Sun, 9/20/09, Robert Orr
> >>> >>> <orrrobert at gmail.com<http://mc/compose?to=orrrobert@gmail.com>
> >>> >>> >* wrote:
> >>> >>>
> >>> >>>
> >>> >>> From: Robert Orr
> >>> >>> <orrrobert at gmail.com<http://mc/compose?to=orrrobert@gmail.com>
> >>> >>> >
> >>> >>> Subject: Re: [RDD] trafficgenny
> >>> >>> To: "User discussion about the Rivendell Radio Automation System" <
> >>> >>> rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=rivendell-dev@lists.rivendellaudio.org>
> >>> >>> >
> >>> >>> Date: Sunday, September 20, 2009, 9:28 PM
> >>> >>>
> >>> >>>
> >>> >>> Did you read the README.txt file? Which step are you stuck on?
> >>> >>>
> >>> >>> Robert
> >>> >>>
> >>> >>> On Sun, Sep 20, 2009 at 9:33 PM, Jorge Soto
> >>> >>> <jsoto67 at yahoo.com<http://mc/compose?to=jsoto67@yahoo.com>
> >>> >>> > wrote:
> >>> >>>
> >>> >>>> Do you have any instructions on how to use it? I have installed it
> >>> but
> >>> >>>> have no idea what to do next. I can open the "add.html" but don't
> >>> know
> >>> >>>> what
> >>> >>>> to do next.
> >>> >>>> thanx,
> >>> >>>> jlsoto
> >>> >>>>
> >>> >>>> --- On *Sun, 9/20/09, Robert Orr
> >>> >>>> <orrrobert at gmail.com<http://mc/compose?to=orrrobert@gmail.com>
> >>> >>>> >* wrote:
> >>> >>>>
> >>> >>>>
> >>> >>>> From: Robert Orr
> >>> >>>> <orrrobert at gmail.com<http://mc/compose?to=orrrobert@gmail.com>
> >>> >>>> >
> >>> >>>> Subject: Re: [RDD] trafficgenny
> >>> >>>> To: "User discussion about the Rivendell Radio Automation System"
> >>> <
> >>> >>>> rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=rivendell-dev@lists.rivendellaudio.org>
> >>> >>>> >
> >>> >>>> Date: Sunday, September 20, 2009, 2:57 PM
> >>> >>>>
> >>> >>>>
> >>> >>>> I wrote most of it and use it daily
> >>> >>>> Robert Orr
> >>> >>>> CFAQ
> >>> >>>>
> >>> >>>> On Sun, Sep 20, 2009 at 11:52 AM, Jorge Soto
> >>> >>>> <jsoto67 at yahoo.com<http://mc/compose?to=jsoto67@yahoo.com>
> >>> >>>> > wrote:
> >>> >>>>
> >>> >>>>> is anybody out there using trafficgenny?
> >>> >>>>>
> >>> >>>>> __________________________________________________
> >>> >>>>> Do You Yahoo!?
> >>> >>>>> Tired of spam? Yahoo! Mail has the best spam protection around
> >>> >>>>> http://mail.yahoo.com
> >>> >>>>>
> >>> >>>>> _______________________________________________
> >>> >>>>> Rivendell-dev mailing list
> >>> >>>>> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>>>>
> >>> >>>>>
> >>> >>>>
> >>> >>>> -----Inline Attachment Follows-----
> >>> >>>>
> >>> >>>> _______________________________________________
> >>> >>>> Rivendell-dev mailing list
> >>> >>>> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>> >>>> _______________________________________________
> >>> >>>> Rivendell-dev mailing list
> >>> >>>> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>>>
> >>> >>>>
> >>> >>>
> >>> >>> -----Inline Attachment Follows-----
> >>> >>>
> >>> >>> _______________________________________________
> >>> >>> Rivendell-dev mailing list
> >>> >>> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> _______________________________________________
> >>> >>> Rivendell-dev mailing list
> >>> >>> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>>
> >>> >>>
> >>> >>
> >>> >> -----Inline Attachment Follows-----
> >>> >>
> >>> >> _______________________________________________
> >>> >> Rivendell-dev mailing list
> >>> >> Rivendell-dev at lists.rivendellaudio.org<
> >>> http://mc/compose?to=Rivendell-dev@lists.rivendellaudio.org>
> >>> >> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>
> >>> >>
> >>> >>
> >>> >> _______________________________________________
> >>> >> Rivendell-dev mailing list
> >>> >> Rivendell-dev at lists.rivendellaudio.org
> >>> >> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >>
> >>> >>
> >>> > _______________________________________________
> >>> > Rivendell-dev mailing list
> >>> > Rivendell-dev at lists.rivendellaudio.org
> >>> > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>> >
> >>>
> >>>
> >>> _______________________________________________
> >>> Rivendell-dev mailing list
> >>> Rivendell-dev at lists.rivendellaudio.org
> >>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> >>>
> >>
> >>
> >
>
>
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev at lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rivendellaudio.org/pipermail/rivendell-dev/attachments/20090922/c6802ce0/attachment-0001.htm 


More information about the Rivendell-dev mailing list