Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Hi,

    I am facing the exact same problem. And i have manually disabled the plugins and themes but it didn’t help.

    How do i do the following?

    First make a backup of your database and files.

    Delete all the WordPress files off your server except the wp-config.php file and the wp-content/uploads folder (yes, we’re deleting your themes folder and plugins folder with everything in them).

    Now download the latest version of WordPress, unzip it, and then upload all the files to your server (obviously don’t overwrite wp-config.php or the wp-content/uploads folder).

    Point your browser at your site. You should have a working default WordPress installation at this point.

    Please help. I am a novice.

    regards,

    Thread Starter loveinindia

    (@loveinindia)

    @wpyogi: Worked! Again, can’t thank u enough… 🙂 …

    Thread Starter loveinindia

    (@loveinindia)

    Thanks again. Just tried it. Still no change. 🙁
    Current code of style.css:

    /*
    Theme Name: TrulyMinimal
    Theme URI: http://www.flarethemes.com/theme/trulyminimal/
    Description: TrulyMinimal is a highly customizable minimalistic theme fully focused on typography.
    Version: 1.1.4
    Author: FlareThemes
    Author URI: http://www.flarethemes.com
    
    Tags: light, white, one-column, left-sidebar, right-sidebar, fixed-width, custom-colors, custom-menu, editor-style, featured-images, full-width-template, theme-options, translation-ready
    
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */
    
    @import url("css/style.php");
    
    media="screen"
    img {
    border: 0;
    display: inline; /*changed from 'block' */
    text-indent: -9999px;
    }
    
    #sidebar .widget-container {
        margin: 0 0 15px;
        padding: 0 5px 15px 19px;
    }
    Thread Starter loveinindia

    (@loveinindia)

    Thanks for getting back.
    I don’t have a child theme yet, but just for testing I tried this in the style.css of the original theme itself.
    My style.css now has the following code:

    /*
    Theme Name: TrulyMinimal
    Theme URI: http://www.flarethemes.com/theme/trulyminimal/
    Description: TrulyMinimal is a highly customizable minimalistic theme fully focused on typography.
    Version: 1.1.4
    Author: FlareThemes
    Author URI: http://www.flarethemes.com
    
    Tags: light, white, one-column, left-sidebar, right-sidebar, fixed-width, custom-colors, custom-menu, editor-style, featured-images, full-width-template, theme-options, translation-ready
    
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */
    
    @import url("css/style.php");
    
    media="screen"
    img {
    border: 0;
    display: inline; /*changed from 'block' */
    text-indent: -9999px;
    
    #sidebar .widget-container {
        margin: 0 0 15px;
        padding: 0 5px 15px 19px;
    }
    
    }

    But it’s not working. The buttons are still appearing vertically aligned. Can you help? Thank you.

    Thread Starter loveinindia

    (@loveinindia)

    Can’t thank you enough. It worked. Heartfelt thanks. 🙂

    Thread Starter loveinindia

    (@loveinindia)

    Thanks again for the guidance.
    I reduced the margin 45x to 5x. But this only seems to reduce the top, not the bottom margins on the sidebar for the widgets.
    HEre are the before and after photos. Can you please advice?

    Thread Starter loveinindia

    (@loveinindia)

    Thank you so much for finding out the code for me. But my css/style.php contains only the following code.

    <?php
    header( "Content-type: text/css" );
    
    $files = array();
    $files[] = 'style.css';
    $files[] = 'responsive.css';
    
    foreach($files as $file) :
        $content = @file_get_contents( $file );
        echo minify( $content );
    endforeach;
    
    function minify( $code ) {
    	$code = preg_replace( '#\s+#', ' ', $code );
    	$code = preg_replace( '#/\*.*?\*/#s', '', $code );
    	$code = str_replace( '; ', ';', $code );
    	$code = str_replace( ': ', ':', $code );
    	$code = str_replace( ' {', '{', $code );
    	$code = str_replace( '{ ', '{', $code );
    	$code = str_replace( ', ', ',', $code );
    	$code = str_replace( '} ', '}', $code );
    	$code = str_replace( ';}', '}', $code );
    
    	return trim( $code );
    }
    ?>

    Couldn’t find these lines which you’ve quoted:

    #sidebar .widget-container {
        background: url("../images/left-dot.png") repeat-x scroll left bottom transparent;
        margin: 0 0 45px;
        padding: 0 5px 35px 19px;
    }

    Please help.

    Thread Starter loveinindia

    (@loveinindia)

    I have not made any changes because I didn’t understand what to change. But ever since the new code pasted above has been inserted data is being captured fine.
    Thanks a lot everyone for helping out. 🙂

    Thread Starter loveinindia

    (@loveinindia)

    Thanks. Here’s the new thread.

    Thread Starter loveinindia

    (@loveinindia)

    Hi,
    Google Analytics code is still not working.
    The code I regenerated from GA and have now pasted in my header again is:

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'My UA code']);
      _gaq.push(['_setDomainName', 'loveinindia.co.in']);
      _gaq.push(['_setAllowLinker', true]);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>

    But this looks very different from what was used earlier. I of course don’t remember what was the exact code that was being used so far, and may be I’m mistaken, but does anyone have any idea whether GA tracking code format has been updated recently?

    Thread Starter loveinindia

    (@loveinindia)

    Thanks a lot for the suggestions @krishna and @wpyogi.
    The webhosting supporting team has removed the infected files and I can now login.
    Just one problem – the Google Analytics code is there in header.php as it always were, but it’s not capturing data since 8 in the morning today.
    Any suggestions?

    Thread Starter loveinindia

    (@loveinindia)

    Even the FTP server is not reachable.
    Eventually I contacted the hosting company for running security check to identify virus infections, if any. They did provide me with a list of files which I’ve now instructed them to delete from server side. As far as I understood deletion of those files should not affect functionality.
    After these files have been removed, do we need to install fresh WP?
    🙁

    Thread Starter loveinindia

    (@loveinindia)

    I downloaded it from http://www.flarethemes.com/.

    Thread Starter loveinindia

    (@loveinindia)

    Yeah it’s working OK with twentytwelve. In the sense, I can login. Even though the problem I mentioned in an earlier post regarding askimet installation still remains. Which makes me think some trouble might still be there.
    Copy pasting it here for your convenience:

    I’d deleted Askimet. I wanted to reinstall it. I went to plugins->add new. (as mentioned in my earlier posts, at this time I was able to login.)
    Just below the search box I found an error message already displayed (I hadn’t searched for anything yet). The message said: “An unexpected error occurred. Something may be wrong with WordPress.Org or this server’s configuration. If you continue to have problems please try the support forums.)
    I went ahead and searched for “Askimet” anyway. It hung for a very long time and eventually the same message was again displayed in the middle of screen and nothing else.

    Thread Starter loveinindia

    (@loveinindia)

    Also, here, where they’ve talked about deactivating theme to resolve login issue, they’ve mentioned – “To find out what caused problem in the theme, upload and run this code when the theme is active”
    <? ini_set('display_errors','1'); ini_set('display_startup_errors','1'); error_reporting (E_ALL);include('index.php'); ?>

    Where and how this code is to be used? How is this going to help?

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