tilttalk  

RE: siteline

Ben Blah
Thu, 28 Oct 2004 09:31:52 -0700

Molly,

It was my pleasure!

Ben

>From: "Signs, Molly" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: siteline
>Date: Thu, 28 Oct 2004 10:05:41 -0500
>MIME-Version: 1.0
>Received: from iceman.cc.utexas.edu ([146.6.71.66]) by mc10-f40.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Thu, 28 Oct 2004 08:32:35 -0700
>Received: from localhost (localhost [127.0.0.1])by iceman.cc.utexas.edu (8.12.11/8.12.11/cc-lists.mc-1.33) with SMTP id i9SF8QMX027226;Thu, 28 Oct 2004 10:08:27 -0500 (CDT)
>Received: from ironman.mail.utexas.edu (ironman.mail.utexas.edu [128.83.32.51])by iceman.cc.utexas.edu (8.12.11/8.12.11/cc-lists.mc-1.33) with ESMTP id i9SF8KiO027187for <[EMAIL PROTECTED]>; Thu, 28 Oct 2004 10:08:20 -0500 (CDT)
>Received: from ns2.millsaps.edu (151.160.192.12) by ironman.mail.utexas.edu with ESMTP; 28 Oct 2004 10:08:17 -0500
>Received: from localhost (localhost.localdomain [127.0.0.1])by ns2.millsaps.edu (Postfix) with ESMTP id 68B0259Afor <[EMAIL PROTECTED]>; Thu, 28 Oct 2004 10:08:16 -0500 (CDT)
>Received: from ns2.millsaps.edu ([127.0.0.1]) by localhost (ns2.millsaps.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00885-10 for <[EMAIL PROTECTED]>; Thu, 28 Oct 2004 10:08:14 -0500 (CDT)
>Received: from topaz2.milntdom.millsaps.edu (topaz2.millsaps.edu [151.160.8.4])by ns2.millsaps.edu (Postfix) with ESMTP id 79EF8539for <[EMAIL PROTECTED]>; Thu, 28 Oct 2004 10:08:14 -0500 (CDT)
>Received: from topaz3.milntdom.millsaps.edu ([151.160.8.5]) by topaz2.milntdom.millsaps.edu with Microsoft SMTPSVC(5.0.2195.6713); Thu, 28 Oct 2004 10:07:42 -0500
>X-Message-Info: EoYTbT2lH2NLojedKbSU0r2BgRVJfNpe
>X-IronPort-MID: 261737912
>X-SBRS: 3.5
>X-BrightmailFiltered: true
>X-Ironport-AV: i="3.86,107,1096866000"; d="scan'208"; a="261737912:sNHT22846732"
>X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
>content-class: urn:content-classes:message
>Message-ID: <[EMAIL PROTECTED]>
>X-MS-Has-Attach:
>X-MS-TNEF-Correlator:
>Thread-Topic: siteline
>Thread-Index: AcS89S393aRNCfUhRzS+6xF5/eLE0wACekwQ
>X-OriginalArrivalTime: 28 Oct 2004 15:07:42.0870 (UTC) FILETIME=[DFAF3360:01C4BCFF]
>X-Virus-Scanned: by amavisd-new at millsaps.edu
>X-MIME-Autoconverted: from quoted-printable to 8bit by iceman.cc.utexas.edu id i9SF8LiO027188
>X-Listprocessor-Version: 8.2.10/020311/17:52 -- ListProc(tm) by CREN
>Return-Path: [EMAIL PROTECTED]
>
>You are great. Using the echo input command you described below, I
>found that I had the correct path in siteline.phtml (so the files were
>being written correctly) but I had a typo on the sitevision_main.phtml
>(so the results were not being displayed correctly).
>
>Thanks! Molly
>
>-----Original Message-----
>From: Ben Blah [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 28, 2004 8:37 AM
>To: [EMAIL PROTECTED]
>Subject: RE: siteline
>
>
>Good Morning,
>
>Hmm... This is a tricky one to debug without everything infront of me.
>What
>I would do is
>
>echo $input; right before the if (! file_exists($input)) statement. See
>
>what input contains. It should contain the full path to the file. If it
>
>doesnt then you need to edit these varibles to point to the proper
>files.
>$author_txt = "/var/www/html/docs/tilt/data/site_author"; //
>author
>text file
>$date_txt = "/var/www/html/docs/tilt/data/site_date"; // date
>
>text file
>$sponsor_txt = "/var/www/html/docs/tilt/data/site_sponsor"; //
>sponsor
>text file
>$reasons_txt = "/var/www/html/docs/tilt/data/site_reasons"; //
>reasons
>text filt
>I'm on a unix system so yours should have C:\PATH_TO_FILE.
>
>If $input points correctly to the file then make sure that the webserver
>can
>read that file. If it can then try commenting out the if (!
>file_exists($input)) block and see what happens.
>
>I hope this helps.
>
>Ben
>
>
>
>
>>From: "Signs, Molly" <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: RE: siteline
>>Date: Wed, 27 Oct 2004 18:28:17 -0500
>>MIME-Version: 1.0
>>Received: from iceman.cc.utexas.edu ([146.6.71.66]) by
>mc1-f20.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 27 Oct
>2004
>16:40:35 -0700
>>Received: from localhost (localhost [127.0.0.1])by
>iceman.cc.utexas.edu
>(8.12.11/8.12.11/cc-lists.mc-1.33) with SMTP id i9RNSVBu008235;Wed, 27
>Oct
>2004 18:28:31 -0500 (CDT)
>>Received: from ironmaiden.mail.utexas.edu
>(ironmaiden.mail.utexas.edu
>[128.83.32.53])by iceman.cc.utexas.edu
>(8.12.11/8.12.11/cc-lists.mc-1.33)
>with ESMTP id i9RNSMJs008212for <[EMAIL PROTECTED]>;
>Wed,
>27 Oct 2004 18:28:22 -0500 (CDT)
>>Received: from ns1.millsaps.edu (151.160.192.11) by
>ironmaiden.mail.utexas.edu with ESMTP; 27 Oct 2004 18:28:22 -0500
>>Received: from localhost (localhost.localdomain [127.0.0.1])by
>ns1.millsaps.edu (Postfix) with ESMTP id 7C7C1C4693for
><[EMAIL PROTECTED]>; Wed, 27 Oct 2004 17:28:32 -0500
>(CDT)
>>Received: from ns1.millsaps.edu ([127.0.0.1]) by localhost
>(ns1.millsaps.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id
>15222-01 for <[EMAIL PROTECTED]>; Wed, 27 Oct 2004
>17:28:31
>-0500 (CDT)
>>Received: from topaz2.milntdom.millsaps.edu (topaz2.millsaps.edu
>[151.160.8.4])by ns1.millsaps.edu (Postfix) with ESMTP id 4F5E6C464Dfor
><[EMAIL PROTECTED]>; Wed, 27 Oct 2004 17:28:31 -0500
>(CDT)
>>Received: from topaz3.milntdom.millsaps.edu ([151.160.8.5]) by
>topaz2.milntdom.millsaps.edu with Microsoft SMTPSVC(5.0.2195.6713); Wed,
>27
>Oct 2004 18:28:40 -0500
>>X-Message-Info: EoYTbT2lH2Poq+hQlpm7hdQ4DIoUbyzz
>>X-IronPort-MID: 238305786
>>X-SBRS: 3.5
>>X-BrightmailFiltered: true
>>X-Ironport-AV: i="3.86,108,1096866000";
>d="scan'208"; a="238305786:sNHT17557004"
>>X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
>>content-class: urn:content-classes:message
>>Message-ID:
><[EMAIL PROTECTED]&
>gt;
>>X-MS-Has-Attach:
>>X-MS-TNEF-Correlator:
>>Thread-Topic: siteline
>>Thread-Index: AcS8Kn2JMPgDQZHZQsan9hCqSsIhKwAUbFzQ
>>X-OriginalArrivalTime: 27 Oct 2004 23:28:40.0506 (UTC)
>FILETIME=[B104B9A0:01C4BC7C]
>>X-Virus-Scanned: by amavisd-new at millsaps.edu
>>X-MIME-Autoconverted: from quoted-printable to 8bit by
>iceman.cc.utexas.edu id i9RNSMJs008213
>>X-Listprocessor-Version: 8.2.10/020311/17:52 -- ListProc(tm) by CREN
>>Return-Path: [EMAIL PROTECTED]
>>
>>Thanks for the advice. The suggestions worked. I was able to get
>>siteline to write to the txt files. However, in the next step it
>will >not display the posts. It seems to think that the text files
>do not >exist even though it just wrote to them. > >It appears
>to get confused at this point in the file
>>siteline_mail.phtml:
>> echo "<span
>class=\"red\"><h3>$header</h3></span>\n&q
>uot;;
>> echo "$poll_results\n";
>> echo "<hr noshade><br>";
>> echo "<p>$tilt</p>";
>> if (! file_exists($input)) {
>> echo "<h3>No entries.</h3>";
>> exit;
>>
>>It thinks that the file $input does not exists and so says that
>there >are no entries. But the entries are getting posted. >
>>This might be to specific of a problem to get help from the
>listserve, >but any advice is appreciated. Thanks! > > >
>> >-----Original Message-----
>>From: Ben Blah [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, October 27, 2004 8:13 AM
>>To: [EMAIL PROTECTED]
>>Subject: RE: siteline
>>
>>
>>Good Morning,
>>
>> Yeah I have suggestion. Do a global search and replace for /tmp/
>to
>>C:\DIR_YOU_WANT_STUFF_IN. I have just spent alot of time over the
>past >week >correcting this project. It is by far the worst
>written system i have >ever >encountered. I hope that some time
>in the future the developers >actually >write a more freindly/up
>to date version. I mean come on, who in their
>>right mind uses php with extensions like .html .phtml ?!?!?!? Who
>does
>>
>>that?
>>
>>>From: "Signs, Molly"
><[EMAIL PROTECTED]>
>>>Reply-To: [EMAIL PROTECTED]
>>>To: <[EMAIL PROTECTED]>
>>>Subject: siteline
>>>Date: Tue, 26 Oct 2004 16:15:25 -0500
>>>MIME-Version: 1.0
>>>Received: from iceman.cc.utexas.edu ([146.6.71.66]) by
>>mc9-f14.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue, 26
>Oct >2004 >14:29:30 -0700
>>>Received: from localhost (localhost [127.0.0.1])by
>>iceman.cc.utexas.edu
>>(8.12.11/8.12.11/cc-lists.mc-1.33) with SMTP id i9QLFjDX017538;Tue,
>26 >Oct >2004 16:15:46 -0500 (CDT)
>>>Received: from ironman.mail.utexas.edu
>(ironman.mail.utexas.edu >[128.83.32.51])by iceman.cc.utexas.edu
>>(8.12.11/8.12.11/cc-lists.mc-1.33)
>>with ESMTP id i9QLFUoa017462for
><[EMAIL PROTECTED]>;
>>Tue,
>>26 Oct 2004 16:15:32 -0500 (CDT)
>>>Received: from ns2.millsaps.edu (151.160.192.12) by
>>ironman.mail.utexas.edu with ESMTP; 26 Oct 2004 16:15:33 -0500
>>>Received: from localhost (localhost.localdomain
>[127.0.0.1])by >ns2.millsaps.edu (Postfix) with ESMTP id E89CE5F0for
>><[EMAIL PROTECTED]>; Tue, 26 Oct 2004
>16:15:25
>-0500
>>(CDT)
>>>Received: from ns2.millsaps.edu ([127.0.0.1]) by localhost
>>(ns2.millsaps.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
>id >03171-04 for <[EMAIL PROTECTED]>; Tue,
>26 Oct
>2004
>>16:15:24
>>-0500 (CDT)
>>>Received: from topaz2.milntdom.millsaps.edu
>(topaz2.millsaps.edu >[151.160.8.4])by ns2.millsaps.edu (Postfix)
>with ESMTP id A2BD4639for
>><[EMAIL PROTECTED]>; Tue, 26 Oct 2004
>16:15:23
>-0500
>>(CDT)
>>>Received: from topaz3.milntdom.millsaps.edu ([151.160.8.5])
>by >topaz2.milntdom.millsaps.edu with Microsoft
>SMTPSVC(5.0.2195.6713); Tue, >26 >Oct 2004 16:15:45 -0500
>>>X-Message-Info: EoYTbT2lH2Nt7SaMdPMzKvITEXFNkvpU
>>>X-IronPort-MID: 260152066
>>>X-SBRS: 3.5
>>>X-BrightmailFiltered: true
>>>X-Ironport-AV: i="3.86,101,1096866000";
>>d="scan'208";
>a="260152066:sNHT16132248"
>>>X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
>>>content-class: urn:content-classes:message
>>>Message-ID:
>><[EMAIL PROTECTED]
>aps.edu&
>>gt;
>>>X-MS-Has-Attach:
>>>X-MS-TNEF-Correlator:
>>>Thread-Topic: siteline
>>>Thread-Index: AcS7oOkW5lhU4fThR52UjRgT7auhPw==
>>>X-OriginalArrivalTime: 26 Oct 2004 21:15:45.0959 (UTC)
>>FILETIME=[F567AB70:01C4BBA0]
>>>X-Virus-Scanned: by amavisd-new at millsaps.edu
>>>X-MIME-Autoconverted: from quoted-printable to 8bit by
>>iceman.cc.utexas.edu id i9QLFWoY017473
>>>X-Listprocessor-Version: 8.2.10/020311/17:52 -- ListProc(tm)
>by
>CREN
>>>Return-Path: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>We just noticed a problem with the siteline portion of tilt.
>
>When
>>>students try to post to siteline they get the following
>error.
>>
>>>Error: Could not write to /tmp/site_authorError: Could not
>write
>to
>>>/tmp/site_dateError: Could not write to
>/tmp/site_sponsorError: >Could >not write to /tmp/site_reasons
>> >This looks
>like a
>>permissions issue or perhaps I have the tmp folder in >the
>wrong >place. We are a windows site. Does anyone have any advice on
>>>getting this to work? We have not made and changes to the
>siteline
>>>files. Thanks! >________________________________
>>>
>>>Molly Signs
>>>Systems Librarian
>>>Millsaps-Wilson Library
>>>Millsaps College
>>>1701 North State Street
>>>Jackson, Mississippi 39210-1066
>>>phone 601-974-1086
>>>fax 601-974-1082 >>http://library.millsaps.edu
>>>e-mail: [EMAIL PROTECTED]
>>________________________________
>>>
>>
>>_________________________________________________________________
>>Express yourself instantly with MSN Messenger! Download today - it's
>>FREE!
>>hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>>
>
>_________________________________________________________________
>Check out Election 2004 for up-to-date election news, plus voter tools
>and
>more! http://special.msn.com/msn/election2004.armx
>


_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/