this line (line 35):
<a href="<?php the_permalink(); ?>"><?php echo $imagetag; ?></a> <?
ends with an php shorttag <?, which is not understood by all servers (depends on the server settings)
change it to <?php :
<a href="<?php the_permalink(); ?>"><?php echo $imagetag; ?></a> <?php
Thanks a lot!
That lead to the Thumbnails.php to fail. Could you help me with that too?
direct at the start in ‘Thumbnails.php’ there is again a php shorttag
<?
change it to <?php
Thanks so much again – as you would guess, another error turned up, this time in /widgets/recent.php
/widgets/recrent.php has the same error as before:
line 1:
<?
line 32:
<?
line 36:
<?
line 67:
<input style="width: 200px;" id="ts_recent_title" name="ts_recent_title" type="text" value="<? echo $title; ?>" />
line 72:
<input style="width: 20px;" id="ts_recent_maxposts" name="ts_recent_maxposts" type="text" value="<? echo $maxposts; ?>" />
line 78:
<?
line 93:
<a href="<? the_permalink(); ?>"><?php the_post_thumbnail(array(67, 67)); ?></a>
line 94 (twice):
<p><a href="<? the_permalink(); ?>"><? the_title(); ?></a><?php echo split_by_words(ts_getoption('ts_miniexcerpt_size'), get_the_excerpt()) . ' »'; ?></p>
line 98:
<?
try and change all these php shorttags into full <?php tags.
Ok – got another error in twitter.php and changed the php shorttags as you have explained. Then I got another error in the same file. Now it looks like this.
have you used a ‘search and replace’? (if yes – not a good idea…)
there are many instances in that file with:
<?phpphp
try and find them all and bring them back to:
<?php
Thanks again – yes that was of course caused by me doing exactly that. Now I’ve gotten a little further. But now it shows an error in the plugin.php in the core.
See for yourself at the site and here is the code.
‘; } register_sidebar_widget(array(‘Video’, ‘theme-video’), ‘widget_video’, ”); register_widget_control(array(‘Video’, ‘theme-video’), ‘widget_video_control’, 360, 300); } ?>
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘widget_video_init’ was given in H:\wwwroot\43494\www\wp-includes\plugin.php on line 395
this seems as if in functions.php of your theme, there is another case of php shorttags;
please check functions.php
btw: why are you trying to get a buggy theme to work?
there are plenty functioning themes free available …
if you have paid for the theme, please contact the theme vendor for support.
Thanks again.
Liked the theme very much.
Paid $30 for it from a good site.
Has contacted both the site and the author, but no answer from the latter. Kind of pissed…
Never experienced any trouble with a premium theme before, so I’m kind of surprised. But I guess I shouldn’t be.
All this trouble because my new web hotel provider put my site on a Windows 2008 server. Ah, the misery!
Thanks again.
Hi there guys!
As frustrated as I am and also as stupid as I feel.Can you please help me with the following on my site…
Warning: Invalid argument supplied for foreach() in /home8/hotjinxc/public_html/mychristianblog/wp-content/plugins/genieknows-media/gkmedia.php on line 65
I installed this plugin and removed it,but this message just wont go away,not on my admin bar and also not on my website.