christine-edwards
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Unfixable Problem!!!So I must be the most computer illiterate person using word press cause although there are lots of comments regarding this I just couldn’t figure out where I had to go to replace the words and stop the error messages. So after spending hours and hours looking everywhere, I finally figured it out. So the below instructions are for those who are having trouble
If you have the agent template & the error message you are getting is sort of like this:
Warning: file(/home/content/j/f/i/jfiorieco/html/wp-content/home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/404.php) [function.file]: failed to open stream: No such file or directory in /home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/tools/post_templates.php on line 23
Warning: implode() [function.implode]: Bad arguments. in /home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/tools/post_templates.php on line 23
Then this is how to fix it.
On your dashboard, click under Appearance on the left hand side, a drop down menu will apear.
From that menu click Editor. Then on the right hand side of the sceen, there will be a list of templates.
Click on post_templates.php
Put your cursor on the top line of computer language.
move cursor downwards counting lines. When you reach line 23:replace
$template_data = implode( ”, file( WP_CONTENT_DIR.$template ));
with
$template_data = implode( ”, file( $template ));
Then click Update File Button
When you log into the dashboard the next time, it will be fixed.
I still can’t believe I figured how to fix this.
Good Luck!!! 🙂