Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter grojas1980

    (@grojas1980)

    Any update on this? Now the problem has spread to other areas, I can’t update certain things… I am having to make updates by opening the database and manually changing the record. It’s becoming so inefficient and frustrating..

    • This reply was modified 2 years, 7 months ago by grojas1980.
    Thread Starter grojas1980

    (@grojas1980)

    Deactivated all plug-ins, set the theme to Twenty One and the problem was still there. Edited the menu, clicked save.. got the same error. How can I debug this?

    Thread Starter grojas1980

    (@grojas1980)

    sure, I made a duplicate of the questionnaire and the behavior is there

    Test Hidden Questions – District of Nevada (uscourts.gov)

    Thread Starter grojas1980

    (@grojas1980)

    so I found this link based on your idea:
    https://developer.ww.wp.xz.cn/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/

    it doesn’t mention anything about setting up variables. I setup a task exactly how it says, I navigate to the wp-cron.php and it doesn’t throw any errors.

    I will monitor any results on it and see if I can come up with alternatives.

    Thread Starter grojas1980

    (@grojas1980)

    I don’t think it’s being “blocked” it seems that it requires an authenticated user which is why I created a local account but I don’t know how to tell WP to use it.

    I will post in the NADI support page and see what I get.

    in the meantime, what I have done is a schedule task that allows anonymous access from midnight to 5am. (enough time for CRON to do its thing)

    Thread Starter grojas1980

    (@grojas1980)

    Update: I was able to get CRON running by allowing Anonymous access however, in doing so makes the NADI plug-in not work at all.

    So now, the question is. How can I get CRON working using Windows Authentication? I have created a local admin account, but I don’t know how to tell WP to use it for CRON.

    Thread Starter grojas1980

    (@grojas1980)

    While I would agree if it was the plug-in that was causing the problem, I’ve deactivated ALL plugins and still get the same result.

    Thread Starter grojas1980

    (@grojas1980)

    Ok. I got it working now.

    When I extracted the zip file it has 2 ini files, php.ini-development and php.ini-production. after removing -production and going inside the ini file and make sure it enabled MySQLi it worked.

    Thanks for the help

    • This reply was modified 7 years, 1 month ago by grojas1980.
    Thread Starter grojas1980

    (@grojas1980)

    I looked inside the ext folder and found a file called php_mysqli.dll, is that the one?

    Thread Starter grojas1980

    (@grojas1980)

    I get this error:

    Parse error: syntax error, unexpected ‘echo’ (T_ECHO) in C:\inetpub\wwwroot\wp-admin\test.php on line 6….

    here’s the code I ran when updating PHP, maybe this is wrong:

    @echo off
    
        REM download .ZIP file of PHP build from http://windows.php.net/downloads/
        REM
        REM path to directory you decompressed PHP .ZIP file into
    set phpdir=c:\php
    set phppath=php-7.2.18-nts-Win32-VC15-x64
    
    REM Clear current PHP handlers
    %windir%\system32\inetsrv\appcmd clear config /section:system.webServer/fastCGI
    %windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /-[name='PHP_via_FastCGI']
    
    REM Set up the PHP handler
    %windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI /+[fullPath='%phpdir%\%phppath%\php-cgi.exe']
    %windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='%phpdir%\%phppath%\php-cgi.exe',resourceType='Unspecified']
    %windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /accessPolicy:Read,Script
    
    REM Configure FastCGI Variables
    %windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='%phpdir%\%phppath%\php-cgi.exe'].instanceMaxRequests:10000
    %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='%phpdir%\%phppath%\php-cgi.exe'].environmentVariables.[name='PHP_FCGI_MAX_REQUESTS',value='10000']"
    %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='%phpdir%\%phppath%\php-cgi.exe'].environmentVariables.[name='PHPRC',value='%phpdir%\%phppath%\php.ini']"
    Thread Starter grojas1980

    (@grojas1980)

    Here are the steps we took:

    – The server has MySQL 5.1 and 5.7, the database is in the 5.1 data folder, using workbench I made an export of the database and data.

    – Updated Workbench(x64) and the Connectors/NET(x86) to 8.0.16

    – Installed MySQL Server 8.0.16(x64). Configured it for localhost:3307. Also told it not to use encryption.

    – Restored the database into MySQL Server 8.0.16.

    – Opened wp-config.php and edited this line:

    From: /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    To: /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost:3307’);

    – I then updated PHP to 7.2.18-NTS (since we’re running it on a windows machine using IIS 8).

    – Restarted Application Pool.

    Site throws same error. I am new to PHP and MySQL. What am I doing wrong?

    Thread Starter grojas1980

    (@grojas1980)

    I downloaded and installed MySQL Server 8, and we’re still getting the same error.

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