• PHP Warning: filemtime(): stat failed for/root/spam/nocemlist.inc.php in /root/nocemlist.inc.php on line 82

    From Marco Moock@mm+usenet-es@dorfdsl.de to rocksolid.nodes.help on Mon Feb 17 14:25:17 2025
    From Newsgroup: rocksolid.nodes.help

    Hello Thom!

    PHP Warning: filemtime(): stat failed for /root/spam/nocemlist.inc.php
    in /root/nocemlist.inc.php on line 82

    I changed
    $nocemconfig_mtime = filemtime($workpath . '/nocemlist.inc.php');
    to
    $nocemconfig_mtime = filemtime($workpath . 'nocemlist.inc.php');

    Please tell me which info you need from my system to investigate.
    --
    kind regards
    Marco

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Feb 17 14:07:18 2025
    From Newsgroup: rocksolid.nodes.help

    On Mon, 17 Feb 2025 13:25:17 +0000, Marco Moock wrote:

    Hello Thom!

    PHP Warning: filemtime(): stat failed for /root/spam/nocemlist.inc.php
    in /root/nocemlist.inc.php on line 82

    I changed
    $nocemconfig_mtime = filemtime($workpath . '/nocemlist.inc.php');
    to
    $nocemconfig_mtime = filemtime($workpath . 'nocemlist.inc.php');

    Please tell me which info you need from my system to investigate.

    Does it work without the change? Sorry, I'm away from my main
    development computer right now.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Feb 17 07:54:04 2025
    From Newsgroup: rocksolid.nodes.help

    On Mon, 17 Feb 2025 14:25:17 +0100, Marco Moock wrote:

    Hello Thom!

    PHP Warning: filemtime(): stat failed for /root/spam/nocemlist.inc.php
    in /root/nocemlist.inc.php on line 82

    I changed
    $nocemconfig_mtime = filemtime($workpath . '/nocemlist.inc.php');
    to
    $nocemconfig_mtime = filemtime($workpath . 'nocemlist.inc.php');

    Please tell me which info you need from my system to investigate.

    I'm back at my computer...

    What are you running when you see this warning?

    It should be part of the "tool" nocem, and it is an include file.

    Do you have $workpath set properly in that file? It should be the directory containing nocemlist.inc.php.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm+usenet-es@dorfdsl.de to rocksolid.nodes.help on Mon Feb 17 19:58:56 2025
    From Newsgroup: rocksolid.nodes.help

    On 17.02.2025 07:54 Uhr Retro Guy wrote:

    On Mon, 17 Feb 2025 14:25:17 +0100, Marco Moock wrote:

    Hello Thom!

    PHP Warning: filemtime(): stat failed for
    /root/spam/nocemlist.inc.php in /root/nocemlist.inc.php on line 82

    I changed
    $nocemconfig_mtime = filemtime($workpath . '/nocemlist.inc.php');
    to
    $nocemconfig_mtime = filemtime($workpath . 'nocemlist.inc.php');

    Please tell me which info you need from my system to investigate.

    I'm back at my computer...

    What are you running when you see this warning?

    It should be part of the "tool" nocem, and it is an include file.

    It is, but I copied it to a separate place to avoid overwriting when I
    pull the git repo.

    Do you have $workpath set properly in that file?
    $workpath = "/root/spam/";

    It should be the directory containing nocemlist.inc.php.

    This is there.

    I see that neither $newsgroups nor $sender are in nocemlist.inc.php. Is
    that fine?
    --
    kind regards
    Marco

    Send spam to 1739775244muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Feb 17 13:29:42 2025
    From Newsgroup: rocksolid.nodes.help

    On Mon, 17 Feb 2025 19:58:56 +0100, Marco Moock wrote:

    On 17.02.2025 07:54 Uhr Retro Guy wrote:

    On Mon, 17 Feb 2025 14:25:17 +0100, Marco Moock wrote:

    Hello Thom!

    PHP Warning: filemtime(): stat failed for
    /root/spam/nocemlist.inc.php in /root/nocemlist.inc.php on line 82

    I changed
    $nocemconfig_mtime = filemtime($workpath . '/nocemlist.inc.php');
    to
    $nocemconfig_mtime = filemtime($workpath . 'nocemlist.inc.php');

    Please tell me which info you need from my system to investigate.

    I'm back at my computer...

    What are you running when you see this warning?

    It should be part of the "tool" nocem, and it is an include file.

    It is, but I copied it to a separate place to avoid overwriting when I
    pull the git repo.

    Do you have $workpath set properly in that file?
    $workpath = "/root/spam/";

    It should be the directory containing nocemlist.inc.php.

    This is there.

    Do you have a subdir in that dir called 'incoming'? You need one and it
    looks like the script doesn't create it. I'll fix that in the future.

    I see that neither $newsgroups nor $sender are in nocemlist.inc.php. Is
    that fine?

    Those are created when reading the spam files in nocemlist.php.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm+usenet-es@dorfdsl.de to rocksolid.nodes.help on Tue Feb 18 10:02:46 2025
    From Newsgroup: rocksolid.nodes.help

    On 17.02.2025 13:29 Retro Guy wrote:

    Do you have a subdir in that dir called 'incoming'? You need one and
    it looks like the script doesn't create it. I'll fix that in the
    future.

    I have it and it contains the spam messages.

    --- Synchronet 3.21a-Linux NewsLink 1.2