Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   <?php bloginfo('template_directory');?> (http://forum.bytesforall.com/showthread.php?t=15742)

Marieju Oct 22, 2011 10:01 PM

<?php bloginfo('template_directory');?>
 
I am totally falling in love with this theme !

I m in no way a coder or a technical person, but I've been told trying to do something that there was a php error on this theme ?

This is what I've been told :

The error is due to a script error on your website. If you go to your site and view the source code, do a search for <?, you will see this:

<?php bloginfo('template_directory');?>

This is a php code which should not appear in a html file. Its appearance means there is a script error in your file.

Anyway, it's not affecting the performance of your site. If you have a programmer in charge of it, ask him to fix it. If not, it's okay to leave it.


I understand that it is not causing real problems, but what is the part that need to be fixed ? I delete the whole line ?

thank you for any explanation

juggledad Oct 23, 2011 03:56 AM

what version of Atahualpa and WP?
What is the url?

Marieju Oct 23, 2011 10:34 AM

I installed this wordpress with the theme 2 days ago. So I should be up to date

WordPress 3.2.1.

Atahualpa 3.7.1

on : http://energydrink-facts.com

I didn't modify the theme in any way - if so - it could only be with plugins

thank you !

juggledad Oct 23, 2011 12:15 PM

congratulations, you just found a 'bug' - no big deal but you can fix it by going to ATO->Style POSTS & PAGES->POST Container: STICKY and changing the line
HTML Code:

background: #eee url('<?php bloginfo('template_directory'); ?>/images/sticky.gif') 99% 5% no-repeat;
to
HTML Code:

background: #eee url('/wp-content/themes/atahualpa/images/sticky.gif') 99% 5% no-repeat;

Marieju Oct 23, 2011 02:33 PM

thank you !

just fixed it

which brings me to another question :

when I modify something in the theme option, every time I hit save, if freezes my browser. This is with Firefox - it goes in "no response" for almost a minute while it saves. Sometimes just going to the Atahualpa options makes Firefox freeze.

Doesnt do this with Chrome

This is a new compu and everything I can think of is up to date. Is this just me ?

I am asking cause I am thinking of using this theme often

thank you again !

lmilesw Oct 23, 2011 03:19 PM

What version of Firefox? What host?

Marieju Oct 23, 2011 08:51 PM

thank you for the quick responses !

Latest Firefox 7.0.1

and Hostgator shared hosting

but never misses - can't use Firefox to modify the theme

lmilesw Oct 23, 2011 09:55 PM

I use Firefox all the time with no issues. Perhaps a plugin?

juggledad Oct 24, 2011 03:51 AM

have you tried another browser?
do other websites ever have issues?
does everything else on your computer (email, iTunes, word) run fast?

a hanging browser could be a slow connection to the internet, but is most likely a hang on the server because it is overloaded. Or you could be running out of memory on the host (you should check with the ISP's tech support about this),

Not all hosts are alike, if you are paying $1.99 per month for unlimited hosting you can bet it comes with poor response time.

Marieju Oct 24, 2011 09:52 AM

thank you guys

the Firefox "not responding" was before I installed plugins, and now I have 5 plugins installed only. Maybe it's my host, but I have 10 websites installed there, nothing to funky !

It works fine with Chrome, maybe it's Firefox plugins ?

I am thinking of using this theme often, that is why I was asking if there is a known problem. I'll just keep working with Chrome for now


thank you guys !


All times are GMT -6. The time now is 09:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.