chanz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Media manager freezing?Has anyone found a solution for this problem? It is still happening to me and I have been unable to use it for a month or so now.
Thank you for your help –
Forum: Fixing WordPress
In reply to: cache.php error line 48Update… my hosting service will not help.
Anything I can do?
Forum: Fixing WordPress
In reply to: cache.php error line 48Thank you, whoami.
I will contact my hosting service (grr… as they are incredibly inutile).
Wish there was something I could do from my end.Forum: Fixing WordPress
In reply to: cache.php error line 48Version WordPress 2.2.1
Specific error:
Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 4734 bytes) in
…/wp-includes/cache.php on line 48Error logs?
How do I access this?Forum: Plugins
In reply to: Where insert Flickr Badge code?I’m trying to follow these messages. I copied the code from flickr, pasted into my sidebar above meta (used the tag advice provided) but nothing shows. If I paste the code below the meta stuff, the badge actually shows up on the bottom of my page???
Any tips?Forum: Installing WordPress
In reply to: wp-setttings error on install – line 119=D
I followed those instructions and ended up losing my blog. =( I could enter, but was not able to get beyond the writing admin areas (into the permalinks, etc) as the rest of the pages were blank.
Any ideas on that? I’d be happy to move the index – really – but something is wacky there too. =)Forum: Fixing WordPress
In reply to: Can I block rss feed to public?what about deleting the commentrss page?
Is that okay?
Thank you for your help!
KateForum: Fixing WordPress
In reply to: 2 wordpress installations/one website? Possible?How do I add a prefix to a table via myphpadmin?
Forum: Fixing WordPress
In reply to: Secure blog page to password protectYou guys are amazing…..the resources…the knowledge…the patience!
Thank you!
These are perfect!
I love the plug in – works perfectly….and the .htaccess tutorial is easy to follow!
Thank you!Okay….ummmm… I must have done something wrong. This is the php file as I edited it:
<?php
/*
Plugin Name: Witty Text
Plugin URI: https://www.w-a-s-a-b-i.com/
Description: Outputs a random text sniplet, predefined in a text file.
Version: 1.0
Author: Alexander Malov
Author URI: https://www.w-a-s-a-b-i.com/
*/
function witty ($before = ”, $after = ”) {
$witty_file =”/var/www/html/witty.txt”; // /htdocs/blog/wp-content/plugins/witty.txt
$sniplets = file(“$witty_file”);
$sniplet = rand(0, sizeof($sniplets)-1);
echo $before, $sniplets[$sniplet], $after;
}
?>
And this is the warning I got when it didn’t work:
Warning: file(/var/www/html/witty.txt): failed to open stream: No such file or directory in /www/c/chanz/htdocs/blog/wp-content/plugins/witty.php on
What did I do wrong?
ugh….someday I will figure this stuff out…..
Kate