Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question need review and help please

    http://www.dryurears.com/ Please check out the syntax errors at bottom of page and please let me know of how to fix it ive been on this for to long now so i might just be over thinking it but please let me know im willing to port you to my server with teamviewer if you would like to show me.

    Thank you
    Tim S.

  • #2
    Regular Coder Custard7A's Avatar
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    286
    Thanks
    32
    Thanked 33 Times in 33 Posts
    Could you post line 23 in the file C:\wamp\www\wp-content\themes\twentyeleven\footer.php?

  • #3
    evo
    evo is offline
    waka Ionsurge
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    895
    Thanks
    5
    Thanked 12 Times in 12 Posts
    Moved to the PHP forums.

  • #4
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Custard7A View Post
    Could you post line 23 in the file C:\wamp\www\wp-content\themes\twentyeleven\footer.php?
    here is the whole thing

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content after
    *
    * @package WordPress
    * @subpackage Twenty_Eleven
    * @since Twenty Eleven 1.0
    */
    ?>

    </div><!-- #main -->

    <footer id="colophon" role="contentinfo">

    <?php
    /* A sidebar in the footer? Yep. You can can customize
    * your footer with three columns of widgets.
    */
    if ( ! is_404() )
    get_sidebar( 'footeid="site-generator">
    <?php do_action( 'twentyeleven_credits' ); ?>
    <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ),r' );
    ?>

    <div 'WordPress' ); ?></a>
    </div>
    </footer><!-- #colophon -->
    </div><!-- #page -->

    <?php wp_footer(); ?>

    </body>
    </html>

  • #5
    Regular Coder Custard7A's Avatar
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    286
    Thanks
    32
    Thanked 33 Times in 33 Posts
    Gosh, okay. Here, look at line 23:

    PHP Code:


    get_sidebar( 'footeid="site-generator">
     <?php do_action'twentyeleven_credits' ); ?>
    Php is being initialized, but it hasn't even been closed from last time. It should be this:

    PHP Code:


    get_sidebar
    'footeid="site-generator"');
    do_action'twentyeleven_credits' ); ?> 
    I think that's valid with the quotes, how I put it. I would have thought along these lines myself:

    PHP Code:


    get_sidebar
    "footeid=\"site-generator\"");
    do_action'twentyeleven_credits' ); ?> 
    I don't understand the difference between single and double quotes though.

    Anyways, see how that works out. It might or might not be all that is causing errors. This code is a total mess if you ask me.

  • #6
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Custard7A View Post
    Anyways, see how that works out. It might or might not be all that is causing errors. This code is a total mess if you ask me.
    thats wordpress for you. But i will give it a try ill let you know

  • #7
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    great had to fix line 22 also but check it out i dont see problems on my end
    PHP Code:
    if ( ! is_404() )
            get_sidebar( 'footer' );?>
    <div id="site-generator">
                    <?php do_action'twentyeleven_credits' ); ?>
    had to redo actions ty for the help
    Last edited by reaper0134; 11-11-2012 at 06:14 PM.

  • #8
    Regular Coder Custard7A's Avatar
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    286
    Thanks
    32
    Thanked 33 Times in 33 Posts
    Now it says "Proudly powered by Wordpress" in place of the errors. ;P

  • #9
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Custard7A View Post
    Now it says "Proudly powered by Wordpress" in place of the errors. ;P
    lol going to change that

  • #10
    New Coder
    Join Date
    Jun 2012
    Location
    Pennsylvania
    Posts
    14
    Thanks
    5
    Thanked 0 Times in 0 Posts
    and now its changed lol


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •