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
>
>
>
>
>&gt;From: &quot;Signs, Molly&quot;
&lt;[EMAIL PROTECTED]&gt;
>&gt;Reply-To: [EMAIL PROTECTED]
>&gt;To: &lt;[EMAIL PROTECTED]&gt;
>&gt;Subject: RE: siteline
>&gt;Date: Wed, 27 Oct 2004 18:28:17 -0500
>&gt;MIME-Version: 1.0
>&gt;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
>&gt;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)
>&gt;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
&lt;[EMAIL PROTECTED]&gt;;
>Wed,
>27 Oct 2004 18:28:22 -0500 (CDT)
>&gt;Received: from ns1.millsaps.edu (151.160.192.11) by
>ironmaiden.mail.utexas.edu with ESMTP; 27 Oct 2004 18:28:22 -0500
>&gt;Received: from localhost (localhost.localdomain [127.0.0.1])by
>ns1.millsaps.edu (Postfix) with ESMTP id 7C7C1C4693for
>&lt;[EMAIL PROTECTED]&gt;; Wed, 27 Oct 2004 17:28:32
-0500
>(CDT)
>&gt;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 &lt;[EMAIL PROTECTED]&gt;; Wed, 27 Oct
2004
>17:28:31
>-0500 (CDT)
>&gt;Received: from topaz2.milntdom.millsaps.edu (topaz2.millsaps.edu
>[151.160.8.4])by ns1.millsaps.edu (Postfix) with ESMTP id 4F5E6C464Dfor
>&lt;[EMAIL PROTECTED]&gt;; Wed, 27 Oct 2004 17:28:31
-0500
>(CDT)
>&gt;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
>&gt;X-Message-Info: EoYTbT2lH2Poq+hQlpm7hdQ4DIoUbyzz
>&gt;X-IronPort-MID: 238305786
>&gt;X-SBRS: 3.5
>&gt;X-BrightmailFiltered: true
>&gt;X-Ironport-AV: i=&quot;3.86,108,1096866000&quot;;
>d=&quot;scan'208&quot;;
a=&quot;238305786:sNHT17557004&quot;
>&gt;X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
>&gt;content-class: urn:content-classes:message
>&gt;Message-ID:
>&lt;[EMAIL PROTECTED]&
>gt;
>&gt;X-MS-Has-Attach:
>&gt;X-MS-TNEF-Correlator:
>&gt;Thread-Topic: siteline
>&gt;Thread-Index: AcS8Kn2JMPgDQZHZQsan9hCqSsIhKwAUbFzQ
>&gt;X-OriginalArrivalTime: 27 Oct 2004 23:28:40.0506 (UTC)
>FILETIME=[B104B9A0:01C4BC7C]
>&gt;X-Virus-Scanned: by amavisd-new at millsaps.edu
>&gt;X-MIME-Autoconverted: from quoted-printable to 8bit by
>iceman.cc.utexas.edu id i9RNSMJs008213
>&gt;X-Listprocessor-Version: 8.2.10/020311/17:52 -- ListProc(tm) by
CREN
>&gt;Return-Path: [EMAIL PROTECTED]
>&gt;
>&gt;Thanks for the advice. The suggestions worked. I was able to
get
>&gt;siteline to write to the txt files. However, in the next step
it
>will &gt;not display the posts. It seems to think that the text
files
>do not &gt;exist even though it just wrote to them. &gt;
&gt;It appears
>to get confused at this point in the file
>&gt;siteline_mail.phtml:
>&gt; echo &quot;&lt;span
>class=\&quot;red\&quot;&gt;&lt;h3&gt;$header&lt;/h3&gt;&lt;/span&gt;\n&q
>uot;;
>&gt; echo &quot;$poll_results\n&quot;;
>&gt; echo &quot;&lt;hr
noshade&gt;&lt;br&gt;&quot;;
>&gt; echo
&quot;&lt;p&gt;$tilt&lt;/p&gt;&quot;;
>&gt; if (! file_exists($input)) {
>&gt; echo &quot;&lt;h3&gt;No
entries.&lt;/h3&gt;&quot;;
>&gt; exit;
>&gt;
>&gt;It thinks that the file $input does not exists and so says that
>there &gt;are no entries. But the entries are getting posted.
&gt;
>&gt;This might be to specific of a problem to get help from the
>listserve, &gt;but any advice is appreciated. Thanks! &gt;
&gt; &gt;
>&gt; &gt;-----Original Message-----
>&gt;From: Ben Blah [mailto:[EMAIL PROTECTED]
>&gt;Sent: Wednesday, October 27, 2004 8:13 AM
>&gt;To: [EMAIL PROTECTED]
>&gt;Subject: RE: siteline
>&gt;
>&gt;
>&gt;Good Morning,
>&gt;
>&gt; Yeah I have suggestion. Do a global search and replace for
/tmp/
>to
>&gt;C:\DIR_YOU_WANT_STUFF_IN. I have just spent alot of time over
the
>past &gt;week &gt;correcting this project. It is by far the
worst
>written system i have &gt;ever &gt;encountered. I hope that
some time
>in the future the developers &gt;actually &gt;write a more
freindly/up
>to date version. I mean come on, who in their
>&gt;right mind uses php with extensions like .html .phtml ?!?!?!?
Who
>does
>&gt;
>&gt;that?
>&gt;
>&gt;&amp;gt;From: &amp;quot;Signs, Molly&amp;quot;
>&amp;lt;[EMAIL PROTECTED]&amp;gt;
>&gt;&amp;gt;Reply-To: [EMAIL PROTECTED]
>&gt;&amp;gt;To:
&amp;lt;[EMAIL PROTECTED]&amp;gt;
>&gt;&amp;gt;Subject: siteline
>&gt;&amp;gt;Date: Tue, 26 Oct 2004 16:15:25 -0500
>&gt;&amp;gt;MIME-Version: 1.0
>&gt;&amp;gt;Received: from iceman.cc.utexas.edu ([146.6.71.66])
by
>&gt;mc9-f14.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Tue,
26
>Oct &gt;2004 &gt;14:29:30 -0700
>&gt;&amp;gt;Received: from localhost (localhost [127.0.0.1])by
>&gt;iceman.cc.utexas.edu
>&gt;(8.12.11/8.12.11/cc-lists.mc-1.33) with SMTP id
i9QLFjDX017538;Tue,
>26 &gt;Oct &gt;2004 16:15:46 -0500 (CDT)
>&gt;&amp;gt;Received: from ironman.mail.utexas.edu
>(ironman.mail.utexas.edu &gt;[128.83.32.51])by iceman.cc.utexas.edu
>&gt;(8.12.11/8.12.11/cc-lists.mc-1.33)
>&gt;with ESMTP id i9QLFUoa017462for
>&amp;lt;[EMAIL PROTECTED]&amp;gt;;
>&gt;Tue,
>&gt;26 Oct 2004 16:15:32 -0500 (CDT)
>&gt;&amp;gt;Received: from ns2.millsaps.edu (151.160.192.12) by
>&gt;ironman.mail.utexas.edu with ESMTP; 26 Oct 2004 16:15:33 -0500
>&gt;&amp;gt;Received: from localhost (localhost.localdomain
>[127.0.0.1])by &gt;ns2.millsaps.edu (Postfix) with ESMTP id
E89CE5F0for
>&gt;&amp;lt;[EMAIL PROTECTED]&amp;gt;; Tue, 26
Oct 2004
>16:15:25
>-0500
>&gt;(CDT)
>&gt;&amp;gt;Received: from ns2.millsaps.edu ([127.0.0.1]) by
localhost
>&gt;(ns2.millsaps.edu [127.0.0.1]) (amavisd-new, port 10024) with
ESMTP
>id &gt;03171-04 for
&amp;lt;[EMAIL PROTECTED]&amp;gt;; Tue,
>26 Oct
>2004
>&gt;16:15:24
>&gt;-0500 (CDT)
>&gt;&amp;gt;Received: from topaz2.milntdom.millsaps.edu
>(topaz2.millsaps.edu &gt;[151.160.8.4])by ns2.millsaps.edu (Postfix)
>with ESMTP id A2BD4639for
>&gt;&amp;lt;[EMAIL PROTECTED]&amp;gt;; Tue, 26
Oct 2004
>16:15:23
>-0500
>&gt;(CDT)
>&gt;&amp;gt;Received: from topaz3.milntdom.millsaps.edu
([151.160.8.5])
>by &gt;topaz2.milntdom.millsaps.edu with Microsoft
>SMTPSVC(5.0.2195.6713); Tue, &gt;26 &gt;Oct 2004 16:15:45 -0500
>&gt;&amp;gt;X-Message-Info: EoYTbT2lH2Nt7SaMdPMzKvITEXFNkvpU
>&gt;&amp;gt;X-IronPort-MID: 260152066
>&gt;&amp;gt;X-SBRS: 3.5
>&gt;&amp;gt;X-BrightmailFiltered: true
>&gt;&amp;gt;X-Ironport-AV:
i=&amp;quot;3.86,101,1096866000&amp;quot;;
>&gt;d=&amp;quot;scan'208&amp;quot;;
>a=&amp;quot;260152066:sNHT16132248&amp;quot;
>&gt;&amp;gt;X-MimeOLE: Produced By Microsoft Exchange
V6.0.6249.0
>&gt;&amp;gt;content-class: urn:content-classes:message
>&gt;&amp;gt;Message-ID:
>&gt;&amp;lt;[EMAIL PROTECTED]
>aps.edu&amp;
>&gt;gt;
>&gt;&amp;gt;X-MS-Has-Attach:
>&gt;&amp;gt;X-MS-TNEF-Correlator:
>&gt;&amp;gt;Thread-Topic: siteline
>&gt;&amp;gt;Thread-Index: AcS7oOkW5lhU4fThR52UjRgT7auhPw==
>&gt;&amp;gt;X-OriginalArrivalTime: 26 Oct 2004 21:15:45.0959
(UTC)
>&gt;FILETIME=[F567AB70:01C4BBA0]
>&gt;&amp;gt;X-Virus-Scanned: by amavisd-new at millsaps.edu
>&gt;&amp;gt;X-MIME-Autoconverted: from quoted-printable to 8bit
by
>&gt;iceman.cc.utexas.edu id i9QLFWoY017473
>&gt;&amp;gt;X-Listprocessor-Version: 8.2.10/020311/17:52 --
ListProc(tm)
>by
>CREN
>&gt;&amp;gt;Return-Path: [EMAIL PROTECTED]
>&gt;&amp;gt;
>&gt;&amp;gt;
>&gt;&amp;gt;
>&gt;&amp;gt;We just noticed a problem with the siteline portion
of tilt.
>
>When
>&gt;&amp;gt;students try to post to siteline they get the
following
>error.
>&amp;gt;
>&gt;&amp;gt;Error: Could not write to /tmp/site_authorError:
Could not
>write
>to
>&gt;&amp;gt;/tmp/site_dateError: Could not write to
>/tmp/site_sponsorError: &gt;Could &amp;gt;not write to
/tmp/site_reasons
>&amp;gt; &amp;gt;This looks
>like a
>&gt;permissions issue or perhaps I have the tmp folder in
&amp;gt;the
>wrong &gt;place. We are a windows site. Does anyone have any
advice on
>&gt;&amp;gt;getting this to work? We have not made and changes
to the
>siteline
>&gt;&amp;gt;files. Thanks!
&amp;gt;________________________________
>&gt;&amp;gt;
>&gt;&amp;gt;Molly Signs
>&gt;&amp;gt;Systems Librarian
>&gt;&amp;gt;Millsaps-Wilson Library
>&gt;&amp;gt;Millsaps College
>&gt;&amp;gt;1701 North State Street
>&gt;&amp;gt;Jackson, Mississippi 39210-1066
>&gt;&amp;gt;phone 601-974-1086
>&gt;&amp;gt;fax 601-974-1082
&gt;&amp;gt;http://library.millsaps.edu
>&gt;&amp;gt;e-mail: [EMAIL PROTECTED]
>&amp;gt;________________________________
>&gt;&amp;gt;
>&gt;
>&gt;_________________________________________________________________
>&gt;Express yourself instantly with MSN Messenger! Download today -
it's
>&gt;FREE!
>&gt;hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>&gt;
>
>_________________________________________________________________
>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/