Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter mccanni

    (@mccanni)

    Hi Steve, after a couple of months of having that site with WPEngine everything is working perfectly. I assume the problem was in the server, and I also assume it was rolling everything back twice a day, hence the problems.

    Thank you very much for your help!

    Thread Starter mccanni

    (@mccanni)

    Hi Steve,

    I know Im becoming a pain…

    Am pretty sure we’ve excluded the possibility of the site being hacked, I think its some misconfiguration/glitch, that pops up every now and then.

    I have followed all the steps in “Ive been hacked” thread, I suppose, my site is now as secure as it could possibly be.

    But how to find that glitch? It goes down every few hours, Im just very confused.

    Every time it happens, I replace all the files and directories from fresh ver of WP, then site is back to normal. And once again is down after a few hours.

    Thread Starter mccanni

    (@mccanni)

    Host haven’t confirmed any activity on their side. Will follow the instructions on I’ve been hacked and let you know how it goes. Can we somehow hide the link to our website in my first post?

    The funny thing is that we’ve turned email notifications on files being changed on the server. And while site is down I receive a message about changes of licence.txt file. It’s confusing.

    I’ve also set the site up in seoprofiler’s uptime monitor and received the following this morning:

    Outage start: 29 January 2017 06:34:32 UTC
    HTTP status code: 500
    Size: 0 Bytes
    Response time: 0.1 Sek.

    Reason for notification:

    server error (500 internal server error)

    HALLO

    What is HALLO in this message? Eek it’s driving me crazy

    Thread Starter mccanni

    (@mccanni)

    Warning: include_once(/home/o/okladru/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /home/o/okladru/public_html/wp-content/advanced-cache.php on line 20

    Warning: include_once(): Failed opening ‘/home/o/okladru/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ for inclusion (include_path=’.:/usr/share/php5:/usr/share/php’) in /home/o/okladru/public_html/wp-content/advanced-cache.php on line 20

    Fatal error: Cannot redeclare is_ssl() (previously declared in /home/o/okladru/public_html/wp-includes/load.php:968) in /home/o/okladru/public_html/wp-includes/functions.php on line 3803

    Thread Starter mccanni

    (@mccanni)

    Hi STeve, the site is not working again. Returning this
    Fatal error: Cannot redeclare is_ssl() (previously declared in /home/o/okladru/public_html/wp-includes/load.php:968) in /home/o/okladru/public_html/wp-includes/functions.php on line 3803

    I don’t understand. All was working fine and now this all of a sudden. Again. I will now go ahead and replace files once again as it needs to be live. However, I’ve already spent a couple of hours on this. What can be causing this?

    Thread Starter mccanni

    (@mccanni)

    That sounds reassuring, hope it wont happen again! Can i temporarily mark it as resolved and get back to this thread in case something went wrong again Steve?

    Ive updated all the files, and honestly can’t thank you enough!!!!

    Have a wonderful weekend.

    Hi, newbie just like you here. If you have access to cPanel, you then are able to use an FTP client, which basically shows all your directories in a program’s window instead of a browser. It makes it easy to work with directories and files, and in this program, you will be able to backup all your files, replace them, edit them and God knows what else you can do there.

    So all you need to do is to go here https://filezilla-project.org/ and download and instal it on your computer. Then you need to find in your cPanel Host, Username and retrieve your password for cPanel (I am not sure how it all works on your end), but once you enter these details in FileZilla, you will see your local folders on your computer in the left windows and site folders on the right.

    From there locate your functions.php file and replace to a fresh one or delete whatever you wrote in there by clicking on the file then View/Edit (I hope moderators can step in and direct you through this, as Im not sure, whether deleting what you’ve added to it would work).

    Hope this helps, let me know if it worked

    Thread Starter mccanni

    (@mccanni)

    Hi Steve!

    Thanks for your advice! I have replaced 2 directories: wp-admin and wp-includes and the site is back to normal.

    However, should I proceed and replace all the rest? Or if it works – then happy days and nothing else should be done?

    Also, why could this happen? Is that something I’ve done wrong you think while making the site or it just randomly happens?

    And do I disable autoupdate and update WP manually once new release is out?

    Thank you for your time and your patience, and looking forward to your reply.

    Thread Starter mccanni

    (@mccanni)

    [27-Jan-2017 14:01:24 UTC] PHP Fatal error: Cannot redeclare class WP_Screen in /home/o/okladru/public_html/wp-admin/includes/screen.php on line 203

    This is the only thing listed in debug.log

    Site is back to Fatal error: Cannot redeclare is_ssl() (previously declared in /home/o/okladru/public_html/wp-includes/load.php:968) in /home/o/okladru/public_html/wp-includes/functions.php on line 3803

    I think Im going mad

    Will try to replace all files now

    • This reply was modified 7 years, 10 months ago by mccanni.
    Thread Starter mccanni

    (@mccanni)

    Steve, I’m sorry Im mixed up and my head is buzzing because of such a humongous amount of new information.

    1. Which folders do I have to replace completely to those from new WP version folder?

    2. Will that not effect any of the site features/content?

    Thread Starter mccanni

    (@mccanni)

    Steve, thanks for taking time to get back to me.

    Ive also tried to rename the plugins and the themes folder in FTP but it wont work.

    I’ve just inserted this into wp-config.php, but I dont see any log file in contents directory???

    // 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 );

    Thread Starter mccanni

    (@mccanni)

    Hi Steve, thank you very much!

    I have replaced functions.php load.php and query.php and the site is back to normal, however, when I am trying to access WP-admin, it gives me 500 error and I see this in the address bar: https://kivotos.ru/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    Found so many different ways to fix it, but I am a super-novice at this file things, so I am afraid to mess it up

    Any suggestions appreciated

    Thread Starter mccanni

    (@mccanni)

    Hi, thanks for your reply, but it doesnt seem to work after doing what you’ve suggested ??

    Thread Starter mccanni

    (@mccanni)

    The email template

    <?php
    /**
    * Customer processing order email
    *
    * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-processing-order.php.
    *
    * HOWEVER, on occasion WooCommerce will need to update template files and you
    * (the theme developer) will need to copy the new files to your theme to
    * maintain compatibility. We try to do this as little as possible, but it does
    * happen. When this occurs the version of the template file will be bumped and
    * the readme will list any important changes.
    *
    * @see https://docs.woocommerce.com/document/template-structure/
    * @author WooThemes
    * @package WooCommerce/Templates/Emails
    * @version 2.5.0
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    /**
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    <p><?php _e( “Наш менеджер в ближайшее время свяжется с Вами для того, чтобы подтвердить наличие выбранного вами товара и обсудить детали его предоставления.”, ‘woocommerce’ ); ?></p>

    <p><?php _e( “Вы можете также самостоятельно связаться с нами по телефонам: +7967-18-12 или +7943-90-47.”, ‘woocommerce’ ); ?></p>

    <p><?php _e( “После согласования всех деталей по предоставлению заказанной продукции, вы можете оплатить сумму заказа на любую из наших банковских карт:”, ‘woocommerce’ ); ?></p>

    <p><?php _e( “Номер карты в Сбер. Банке России 5484
    Получатель К Андрей Николаевич”, ‘woocommerce’ ); ?></p>

    <p><?php _e( “Номер карты в Альфа Банке 4154
    получатель К Андрей Николаевич”, ‘woocommerce’ ); ?></p>

    <?php

    /**
    * @hooked WC_Emails::order_details() Shows the order details table.
    * @hooked WC_Emails::order_schema_markup() Adds Schema.org markup.
    * @since 2.5.0
    */
    do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::order_meta() Shows order meta data.
    */
    do_action( ‘woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::customer_details() Shows customer details
    * @hooked WC_Emails::email_address() Shows email address
    */
    do_action( ‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::email_footer() Output the email footer
    */
    do_action( ‘woocommerce_email_footer’, $email );

    • This reply was modified 7 years, 10 months ago by mccanni.
Viewing 14 replies - 1 through 14 (of 14 total)