...

View Full Version : need review and help please



reaper0134
11-11-2012, 04:52 AM
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:confused: im willing to port you to my server with teamviewer if you would like to show me.

Thank you
Tim S.

Custard7A
11-11-2012, 08:58 AM
Could you post line 23 in the file C:\wamp\www\wp-content\themes\twentyeleven\footer.php?

evo
11-11-2012, 01:41 PM
Moved to the PHP forums.

reaper0134
11-11-2012, 02:27 PM
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>

Custard7A
11-11-2012, 03:18 PM
Gosh, okay. Here, look at line 23:





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:





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:





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.

reaper0134
11-11-2012, 04:38 PM
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

reaper0134
11-11-2012, 05:08 PM
great had to fix line 22 also but check it out i dont see problems on my end


if ( ! is_404() )
get_sidebar( 'footer' );?>
<div id="site-generator">
<?php do_action( 'twentyeleven_credits' ); ?>

had to redo actions ty for the help

Custard7A
11-11-2012, 05:23 PM
Now it says "Proudly powered by Wordpress" in place of the errors. ;P

reaper0134
11-11-2012, 06:10 PM
Now it says "Proudly powered by Wordpress" in place of the errors. ;P

lol going to change that
:D

reaper0134
11-11-2012, 06:25 PM
and now its changed lol



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum