Advertisement:

Author Topic: [SOLVED] Display "" in my footer  (Read 4990 times)

Kittin

  • Full Member
  • ***
  • Posts: 181
[SOLVED] Display "" in my footer
« on: February 19, 2013, 11:38:38 am »
Hi,

Some days, I installed osc mobile plugin and Piwik manually (open source statistics analyzer).

I noticed  "" in my footer, I use Mozilla Firefox. When I look with Firebug I can find :
<p>
<img alt="""" src="%5C">
</p>

I don't know how delete thoses lines.




Somebody can help me please?

Thanks  :)
« Last Edit: February 20, 2013, 04:44:44 pm by Kittin »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Display "" in my footer
« Reply #1 on: February 20, 2013, 10:12:42 am »
Which theme are you using?

Could you try to disable one plugin and check if the "" are still there, then disable another and check again?

Did you modify your theme?

Thanks

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: Display "" in my footer
« Reply #2 on: February 20, 2013, 01:25:31 pm »
Which theme are you using?

Could you try to disable one plugin and check if the "" are still there, then disable another and check again?

Did you modify your theme?

Thanks

Hi,

I use modern theme on osclass 3.0.2
I disable every plugin one by one, there is no problem ("" stays online on the website) UNTIL when I disable facebook 1.1 plugin I can see:
"Fatal error: Call to undefined function fbc_button() in /oc-content/themes/modern/header.php on line 60" > my website doesn't works

Then I go in my header.php of my modern theme and I can see I had pasted code <?php fbc_button(); ?> on line 60, when I activate plugin facebook, it works well and display yet "" in my footer. :(

I just say to you that I pasted the url of the button facebook connect in /plugins/facebook/index.php some days ago to display this button in my header

I don't understand where does it come from those ""

Thanks


_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Display "" in my footer
« Reply #3 on: February 20, 2013, 01:28:07 pm »
Could you paste here the content of your footer.php ¿?

Thanks

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: Display "" in my footer
« Reply #4 on: February 20, 2013, 01:31:39 pm »
<?php
    /*
     *      OSCLass – software for creating and publishing online classified
     *                           advertising platforms
     *
     *                        Copyright (C) 2010 OSCLASS
     *
     *       This program is free software: you can redistribute it and/or
     *     modify it under the terms of the GNU Affero General Public License
     *     as published by the Free Software Foundation, either version 3 of
     *            the License, or (at your option) any later version.
     *
     *     This program is distributed in the hope that it will be useful, but
     *         WITHOUT ANY WARRANTY; without even the implied warranty of
     *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *             GNU Affero General Public License for more details.
     *
     *      You should have received a copy of the GNU Affero General Public
     * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */

    osc_show_widgets('footer');
    $sQuery = osc_esc_js(osc_get_preference('keyword_placeholder', 'modern_theme'));
?>
<!-- footer -->
<div id="footer">
    <div class="inner">
        <a href="<?php echo osc_contact_url(); ?>"><?php _e('Contact', 'modern') ; ?></a>
        <?php osc_reset_static_pages() ; ?>
        <?php while( osc_has_static_pages() ) { ?>
            | <a href="<?php echo osc_static_page_url() ; ?>"><?php echo osc_static_page_title() ; ?></a>
        <?php } ?>
        <?php
            if( osc_get_preference('footer_link', 'modern_theme') ) {
                echo ' | ' . __('This website is proudly using the <a title="OSClass web" href="http://osclass.org/">classifieds scripts</a> software <strong>OSClass</strong>', 'modern');
            }
        ?>
    </div>
</div>
<!-- /footer -->
</div>
<!-- /container -->
<script type="text/javascript">
    var sQuery = '<?php echo $sQuery ; ?>' ;
    function doSearch() {
        if($('input[name=sPattern]').val() == sQuery || ( $('input[name=sPattern]').val() != '' && $('input[name=sPattern]').val().length < 3 ) ) {
            $('input[name=sPattern]').css('background', '#FFC6C6');
            $('#search-example').text('<?php echo osc_esc_js( __('Your search must be at least three characters long','modern') ) ; ?>')
            return false;
        }
        return true;
    }
</script>
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://mywebsite.com/piwik/" : "http://mywebsite.com/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://mywebsite.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
<?php osc_run_hook('footer') ; ?>

Thanks a lot
« Last Edit: February 20, 2013, 01:33:30 pm by Kittin »

Kittin

  • Full Member
  • ***
  • Posts: 181
Re: Display "" in my footer
« Reply #5 on: February 20, 2013, 02:58:35 pm »
Hi mmcus,

I have already test with notepad++ to find "" but I can't find.

I know if I give the url of my website people here can help me but I don't have booked yet the domain :-\

I gave the url of my website to _Conejo in message private, hoping he will succeed to find a solution.

Thanks a lot :)