Re: make_who2html 20, 98 09:45:08 am"

From: Shadowdancer (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 02/20/98


> I installed the who2html snippet from the CircleMUD Snippets site and made
> some modifications to it (to suit my system). I put a call for it in
> heartbeat so that it would update the html every 1 minute.
>
> The actual function was put in comm.c. Anyway, I assumed it would work
> BUT..i checked on the website and the page is not there. So I decided to
> make a command that does the same procedure heartbeat does
>
> make_who2html();
>
> Anyway, this is what i happens when i do it
>
> 500hp 100mp 82mv > whoupd
> [ (GC) Mulder initiated reload of www who. ]
>
> OK, so I check the website and its still not working..
> I check the logs for where I added the log check at:
>
> if ((opf = fopen("/usr/home/delta/web/who_on_mud.tmp", "w")) == 0)
> log("HTML write error for who2html");

Maybe check the permissions? Does the user, the mud runs as, have
writing permissions to that specific directory? If not, set the
permissions, and you should be set.

- Chris

>
> the log reads
> HTML write error for who2html
>
> So Im assuming its having problems writing to the temporary file. What
> could be the problem? The paths are all correct. If anyone has used this on
> their MUD or think they might be able to help please respond
>
> thanx ;)
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


--
/----------------------------------------------------------------------------\
| Christian Loth                      | Meet me as the >Shadowdancer< in the |
| chris@rom.mud.de                    |           REALM OF MAGIC             |
| http://privat.schlund.de/Loth       | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
|               "The road goes ever on and on!" - Bilbo Baggins              |
\----------------------------------------------------------------------------/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST