Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Forum: Fixing WordPress
    In reply to: multiple hack
    Thread Starter Mosspiglet

    (@mosspiglet)

    This is a list of files that apparently have Malware on it. what can I delete?

    javascript.php
    /wp-includes/ID3/lib.php
    /wp-includes/gallery60.php
    /wp-includes/SimplePie/Content/Type/proxy60.php
    logon.php
    themes/twentytwelve/global.php

    /wp-content/uploads/cache.php
    /wp-content/themes/twentythirteen/css/sql.php
    /wp-admin/network/include.php
    /wp-content/themes/twentytwelve/js/dir29.php
    /wp-content/uploads/search30.php
    /wp-content/uploads/2014/07/general.php
    /wp-content/uploads/2014/09/dir.php

    Thread Starter Mosspiglet

    (@mosspiglet)

    all good

    Thread Starter Mosspiglet

    (@mosspiglet)

    Great Idea!

    I like this… alright now I will learn how it works. Any good links to guides you can suggest?

    Thanks Jose.

    Thread Starter Mosspiglet

    (@mosspiglet)

    Hey Jose,

    Any thoughts on what this problem is?

    -nay

    Thread Starter Mosspiglet

    (@mosspiglet)

    I am referring to the main menu and then under that the child menu with the parent char or item 15 ..

    Here is the code in pastebin : https://pastebin.com/747bY9vN

    Thread Starter Mosspiglet

    (@mosspiglet)

    WOW… it is soo cool to fix the broken!! I mean if I was pressed for time.. I might recommend the new database… but I totally enjoyed this!! It always seems better to fix then redo!

    …and thank your so very much Mr derrick_w!!

    Thread Starter Mosspiglet

    (@mosspiglet)

    hmmm, Yes I am able to add a site … the network admin is there.. but when I visit the site I get a 404 and when I go into the new site’s admin (/fr) I also get the 404. The .htaccess is still set up as the blank one… with the .htaccess_not with the WP requested code? should I change this?

    Thread Starter Mosspiglet

    (@mosspiglet)

    Yes, I ment that there was literally across the top of the website the above warning… Meaning that if someone visited the webpage they would see it… It is gone now that the config is :

    define(‘WP_DEBUG’, false);
    define(‘WP_ALLOW_REPAIR’, false);

    Right now the front end is back on line with the define(‘MULTISITE’, true); and I can get into the admin. This seems like progress?

    Thread Starter Mosspiglet

    (@mosspiglet)

    okay after the repair look like all tables are fine :
    The wp_users table is okay.

    The wp_usermeta table is okay.

    The wp_posts table is okay.

    The wp_comments table is okay.

    The wp_links table is okay.

    The wp_options table is okay.

    The wp_postmeta table is okay.

    The wp_terms table is okay.

    The wp_term_taxonomy table is okay.

    The wp_term_relationships table is okay.

    The wp_commentmeta table is okay.

    The wp_blogs table is okay.

    The wp_signups table is okay.

    The wp_site table is okay.

    The wp_sitemeta table is okay.

    The wp_registration_log table is okay.

    The wp_blog_versions table is okay.

    the error is still on the front end and I can’t get into admin with the

    ” Notice: Use of undefined constant mtf_create_shortcode – assumed ‘mtf_create_shortcode’ in /home/emran3/public_html/wp-content/plugins/mini-twitter-feed/mini-twitter-feed.php on line 59

    Warning: Cannot modify header information – headers already sent by (output started at /home/emran3/public_html/wp-content/plugins/mini-twitter-feed/mini-twitter-feed.php:59) in /home/emran3/public_html/wp-includes/pluggable.php on line 876 ”

    Thread Starter Mosspiglet

    (@mosspiglet)

    What a minite… I had the path as nothing I put the / in path on the wp_blogs (should this be the same on : wp_site) and now the home page comes up with this on the top :

    Notice: Use of undefined constant mtf_create_shortcode – assumed ‘mtf_create_shortcode’ in /home/emran3/public_html/wp-content/plugins/mini-twitter-feed/mini-twitter-feed.php on line 59

    going back to the admin I get :

    Notice: Use of undefined constant mtf_create_shortcode – assumed ‘mtf_create_shortcode’ in /home/emran3/public_html/wp-content/plugins/mini-twitter-feed/mini-twitter-feed.php on line 59

    -this happened before… my plug in where deactive… on : https://omnivisiontest.com/wp-admin/maint/repair.php I get :

    Warning: Cannot modify header information – headers already sent by (output started at /home/emran3/public_html/wp-content/plugins/mini-twitter-feed/mini-twitter-feed.php:59) in /home/emran3/public_html/wp-admin/maint/repair.php on line 12
    WordPress

    To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.

    define(‘WP_ALLOW_REPAIR’, true);

    after doing this I have to options : repair database and repair and Optimize Database

    which is do you recommend?

    Thread Starter Mosspiglet

    (@mosspiglet)

    Okay,
    define(‘WP_ALLOW_MULTISITE’, true);
    plus the other 6 lines above.

    ..are on the wp-config file, the .htacess is still blank and other : .htacess_not with the wp ask to put on… the Error establishing a database connection is on the front end…

    this is also included in the wp-config file: define(‘WP_ALLOW_REPAIR’, true); … following the link https://omnivisiontest.com/wp-admin/maint/repair.php …. no I can not get into the admin… no there are not any other messages with the Error establishing a database connection

    The database is using the wp prefix… there are 18 of them but the config is not one of them… I have gone into the db with the WordPress in it there are 5 of them and then gone into the sql and then put the query in…. Is that right the whole page is this after :

    Your SQL query has been executed successfully
    EXPLAIN SELECT b.domain AS ‘blogs-domain’, s.domain AS ‘site-domain’, b.path AS ‘blogs-path’, s.path AS ‘site-path’
    FROM wp_blogs AS b, wp_site AS s
    WHERE b.blog_id =1
    AND s.id =1
    LIMIT 1
    [Inline] [ Edit ] [ Skip Explain SQL ] [ Create PHP Code ]

    + Options
    id select_type table type possible_keys key key_len ref rows Extra
    1 SIMPLE b system PRIMARY NULL NULL NULL 1
    1 SIMPLE s system PRIMARY NULL NULL NULL 1

    Query results operations
    Print view Print view (with full texts) Create view

    what am I doing wrong?

    Thread Starter Mosspiglet

    (@mosspiglet)

    Yes the 404 on the /cms is exspected.

    I think you are telling me not to put the : (‘WP_ALLOW_MULTISITE’, true); and have it set to : false); so I have done that. adding the six extra lines above I posted does give me the error establishing a database.

    I renamed the .htaccess to .htaccess_not and another .htaccess shows up witch is blank.

    I am not sure what is the out put from the sql you gave me after I put the sql code in … another screen comes up with above sql in another colour and =

    id select_type table type possible_keys key key_len ref rows Extra
    1 SIMPLE b system PRIMARY NULL NULL NULL 1
    1 SIMPLE s system PRIMARY NULL NULL NULL 1

    is this the out put???

    Thread Starter Mosspiglet

    (@mosspiglet)

    Hi derek,

    I found the cms path when going to the phpadmin. When I look in the browser. https://omnivisiontest.com/cms comes up as a 404… interesting to note the favicon that I put on the site is showing up but not on the https://omnivisiontest.com ( I had not looked into the links as yet- thought it was this) …

    Running the sql on the db you get :

    SELECT b.domain AS ‘blogs-domain’, s.domain AS ‘site-domain’, b.path AS ‘blogs-path’, s.path AS ‘site-path’
    FROM wp_blogs AS b, wp_site AS s
    WHERE b.blog_id =1
    AND s.id =1
    LIMIT 1

    looking at the “Create a Network of WordPress Sites” I get the Warning .. this is after I have switched back to allowing the multisite: define(‘WP_ALLOW_MULTISITE’, true);

    it asks you to ad:

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘omnivisiontest.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    and to the .htacess :

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    after sql the htaccess file was empty ..trying that again I get Error establishing a database connection.

    Thread Starter Mosspiglet

    (@mosspiglet)

    Hey Derrick,

    That seemed really promising because there were many site url pointing to the old cms folder. I made the correction on the wp_sitemeta table wp_blog and wp_site .. I still got the, Warning: An existing WordPress network was detected. .. looking again I found another url in the wp_post … but I am still getting the Warning. … what our options now? Is deleting the database all that is left?

    Thread Starter Mosspiglet

    (@mosspiglet)

    Sorry I know I have a funny use of language at times. I meant I was able to log back into the WP. I understand changing the site URL I did this to get it out of the cms folder it use to be in.

    I went into the cpanel then into the phpMyadmin .. I do not know if it is connected but looks like the WP files are listed. Databases like I mentioned are beyond me but yes I do want to learn.

    So what I understand the next step you are suggesting is in the phMyAdmin in the database go to SQL and add this code? what does this code do? Also there are five databases that have been set up. I am working on one. Will this SQL code effect them?

Viewing 15 replies - 1 through 15 (of 24 total)