Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Posted PS before I saw your reply. Changing the name of the theme directory didn’t cause it to default to another. Just threw an error message. But, once I reverted to 7.4 and changed the theme, it opened fine in php 8.1, so you are right on about the theme.

    Thanks

    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Thank you, James Huff – that gives me something to work with.

    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    PS: The full error message actually begins with “Too few arguments…”

    Also, I checked this code against the same file in a site which is working just fine, and these lines are the same, so my puzzlement increases.

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Whew! That was a bit of a tedious process – had to recreate the entire directory structure (could upload files, but not directories) and then upload all the files. Manually adjusting some things in my-content. Once I got one working, then it was just a matter of copying folders from one site to the other on the server.

    These two sites share a database, and I think getting that updated was the key. Now both are working!

    Thanks to all of you, especially Steve for your help. Been a long time since I did this much hands-on with a site. Refreshed a bit – thank you. Have a great day and a healthy LOCKDOWN.

    Peter

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    I am sure the WP version on both sides is older; themes and galleries might be outdated as well – cannot get into the Admin panel to update. Is there a way to update directly from the server control panel?

    In one site, the .htaccess is exactly as Tor-Bjorn indicates is the usual.
    In the other, it reads:
    AuthUserFile “/home/jaspriv0/.htpasswds/public_html/nova/passwd”

    No error logs in wp-admin, wp-includes, themes or plugins.
    The php.ini file reads as folows. There is no path for an error_log, however it does have “display_errors” set to “off”:

    ; cPanel-generated php ini directives, do not edit
    ; Manual editing of this file may result in unexpected behavior.
    ; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    ; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

    upload_max_filesize = 512M
    post_max_size = 1024M
    allow_url_fopen = Off
    allow_url_include = Off
    display_errors = Off
    enable_dl = Off
    file_uploads = On
    max_execution_time = 90
    max_input_time = 60
    max_input_vars = 1000
    memory_limit = 128M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php72”
    zlib.output_compression = Off

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    In one site (/nova), there is an error log in the root folder. It has not logged any errors since 2017.
    In the other (/italy), there is no error log in the root.

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Working with the same site, current status –

    Renamed Folder: wpcontent/plugins.hold
    Replaced wp-settings.php with fresh version
    Enabled debugging and debug logging in wp-config.php
    Still no file debug.log present in wp-content folder
    https://jaspper.us/nova returns message “This page isn’t working jaspper.us is currently unable to handle this request.
    HTTP ERROR 500

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Is there a way to open the site directly from the server control panel?

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    Edited the wp-config.php file in one site to include the following code (inserted before
    *that’s all stop editing.

    // Enable WP_DEBUG mode
    define( ‘WP_DEBUG’, true );

    // Enable Debug logging to the /wp-content/debug.log file
    define( ‘WP_DEBUG_LOG’, true );

    // Disable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define( ‘SCRIPT_DEBUG’, true );

    This did not result in the creation of a file debug.log in the wp-content directory when attempting to open the site. Seems it should have.

    Forum: Fixing WordPress
    In reply to: Site won’t open
    Thread Starter peterrivardhotmailcom

    (@peterrivardhotmailcom)

    I changed the plugins folder to plugins.hold. I verified through phpMyadmin that this did change the line in wp_options/option_name column/active_plugins row/option_value field to: a:0:{}. Disabling plugins did not help.

    I also tried to edit the wp-config.php file to enable debugging, but did not find the specified lines:
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG’, false );
    Am I to insert the appropriate line? If so, where?

    The error log is empty.

    I think the theme or the photo gallery might be the problem. Is there a way to change the theme without accessing the admin panel? I cannot access https://…./admin.

    Thanks

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