Gossamer Forum
Home : Products : Links 2.0 : Customization :

Site of the Day not generating

Quote Reply
Site of the Day not generating
I installed the site of the day mod but it is not working.. see below code for a short reference as this section may be where the problem is.

Code:
#!/usr/bin/perl
#################################################################
# Set up Variables
#################################################################
$txtfile = '/opt/guide/www.tylertx.net/links/HTML/siteoftheday.txt'; <<<<=== Is this correct?????????
#################################################################
# Main Script
#################################################################
# Required Librariers
Code:


Not sure how to set up the txt file.

thanks

james
Quote Reply
Re: Site of the Day not generating In reply to
Did you Chmod the siteofday.txt correct?
Well it looks right, but make sure you check the absolute path to it.
Quote Reply
Re: Site of the Day not generating In reply to
You need to create a blank file called siteoftheday.txt and save it in the directory you specified. Then you have to change its permission to 666 (rw-rw-rw-).

Translation:

Owner: Read, Write (RW)
Group: Read, Write (RW)
Everyone: Read, Write (RW)

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us