Fatal error: Call to undefined function: bloginfo() in /home/o4tom/public_html/i
-
Damn you, cpanel!
I don’t have ssh access yet to the new server where my site was moved. I figured I’d use cpanel’s file manager to do some quick editing to my template (I didn’t have file permissions to do it through wordpress). “How difficult could it be?” I said. “I’ve worked with UNIX and apache for years, I can figure this out!” I assured myself.
Ten minutes later, I get the error listed above. I don’t even think I edited the text! Is it a file permission thing? Did I screw something up unconsciously? I made a copy of the file (index1.php) and moved index.php to another part of the filesystem so as to be able to undo any errors. I thought that was smart, up until the part where it didn’t work. Now I’m down. Here’s my index.php file. Can someone please point out any problems with it, or how I can fix this error? Thanks
`
<head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” /><title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats please –>
<style type=”text/css” media=”screen”>
@import url( <?php bloginfo(‘stylesheet_url’); ?> );
</style><link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” /><link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head><body>
<table width=”760″ align=”center” cellpadding=”0″ cellspacing=”0″ border=”0″ id=”main”>
<tr>
- The topic ‘Fatal error: Call to undefined function: bloginfo() in /home/o4tom/public_html/i’ is closed to new replies.