Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Cron Reading File
    Thread Starter lavarock7

    (@lavarock7)

    I guess the odd thing that got me looking is that the top of the wp-cron.php file looks like this:

    <?php
    /**

    • A pseudo-cron daemon for scheduling WordPress tasks.
      *
    • WP-Cron is triggered when the site receives a visit. In the scenario
    • where a site may not receive enough visits to execute scheduled tasks
    • in a timely manner, this file can be called directly or via a server
    • cron daemon for X number of times.
      *
    • Defining DISABLE_WP_CRON as true and calling this file directly are
    • mutually exclusive and the latter does not rely on the former to work.
      *
    • The HTTP request to this file will not slow down the visitor who happens to
    • visit when a scheduled cron event runs.
      *
    • @package WordPress
      */

    ignore_user_abort( true );

    and it looks as though the cron process is reading its own script and generaing the errors as it tries to execute each line?

    /home/www//wp-cron.php: line 1: ?php: No such file or directory
    /home/www//wp-cron.php: line 2: /bin: Is a directory
    /home/www//wp-cron.php: line 3: bin: command not found
    Forum: Fixing WordPress
    In reply to: Cron Reading File
    Thread Starter lavarock7

    (@lavarock7)

    There appears to be no webhost cron, just what is in WordPress.

    I do see this inthe log. The actual email I get is always at 10 minutes past the hour.

    • [Mon May 06 04:02:09 2024] “POST /wp-cron.php?doing_wp_cron=1714968129.2111821174621582031250 HTTP/1.1” 200 0 “-” “WordPress/6.5.2; https:// REDACTED DOMAIN”
      172.70.126.189 – – [Mon May 06 04:02:08 2024] “GET /category/uncategorized/feed/ HTTP/1.1” 200 0 “-” “Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])”
      172.70.178.69 – – [Mon May 06 04:19:59 2024] “GET /cron.jpg HTTP/1.1” 200 155167 “https://www.ads-software.com/&#8221; “Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0”
    Forum: Fixing WordPress
    In reply to: Admin Login Issues
    Thread Starter lavarock7

    (@lavarock7)

    I seem to have found the problem.

    I logged in as Admin and installed the plugin USER ROLE EDITOR.

    I compared the Admin user who could log in with the one who could not. The one who could no was missing READ. When I added that capability, he could log in and see the Dashboard.

    I have had problems in the past when updating PHP versions and things still don’t work.

    It turned out there was a file in my directory telling the server to use a specific version of PHP which overrides any other configuration I made.

    It may have been in .htaccess or some other file. I’m someone can jump in here with specifics.

Viewing 4 replies - 1 through 4 (of 4 total)