georgeedwards
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doNo problem! You’re very welcome!
Glad you’ve found the problem – at the beginning it did look like a server problem.
Best of luck with your project.
Forum: Fixing WordPress
In reply to: CodeIgniter Integration – Override Page TitleBump? Anyone have any ideas?
Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doI think it may be because you have missed out the
<?php endif; ?>
after the<img />
tag…Remember the first bit I posted, with function_exists()… etc?
Just put that in after the <img>, that should clear it up. The PHP interpreter is looking for a closing if in the structure of the script, but instead is finding an endwhile. Thus, it’s failing.
HTH, and no worries ??
Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doOh right ok well in that case it looks as though you have an endwhile without an opening while statement.
If you don’t have an opening
<?php while(): ?>
then just delete the<?php endwhile; ?>
bit.Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doMost probably a missing semicolon somewhere (
;
) after a PHP statement… Look around line 44/45.Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doTry:
" rel="bookmark"><?php if (function_exists('viva')):?><img src="<?php viva(134,'');?>" alt="<?php the_title(); ?> <?php _e('thumbnail'); ?>" align="left" style="border: 0px; padding: 0px 10px 0px 0px; margin: 3px 0px 3px 0px; width: 134px; height: 75px;"/><?php endif; ?>
Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doIf you’re getting so many errors regarding exceeding memory and function references, could it be your hosting? I.e. permissions on files, etc…
I’m a bit confused. In all the sites I’ve made with WP I’ve not had a single problem.
Forum: Fixing WordPress
In reply to: CodeIgniter Integration – Override Page TitleHey thanks for your time.
It’s actually using
wp_title();
but I see what you mean. I thought about creating a new header such asheader-codeigniter.php
and then calling that usingget_header('codeigniter');
… but still I can’t see this leaving me much flexibility.I would have hoped I could use something similar to
get_header('codeigniter', $data);
where$data
is an array/object of data that can be passed through to the template.Is there any way to do this without hacking the WP core? Or could you suggest a better way?
Thank you for your time once again.
Forum: Fixing WordPress
In reply to: Fatal error. Not sure what to doHello, I had a look to try and help you but can’t see PHP throwing an error like that…
Is the issue resolved?
But all that basically means is that you are making a function call to the “viva” function on the home.php template file. Have a look through there and either implement the viva function, or remove the call ??
Good luck.