nipponese
Forum Replies Created
-
Ah, I totally see the problem now. When I pasted the code in wordfence-waf.php, the soft-wrap on the comment copy-pasted as a carriage return and php was choking on that.
I removed the carriage return and everything works as expected.
Here’s what I have in wordfence-waf.php:
$ cat wordfence-waf.php <?php // Before removing this file, please verify the PHP ini setting <code>auto_prepend_file</code> does not point to this. if (file_exists('/home/public/wp-content/plugins/wordfence/waf/bootstrap.php')) { define("WFWAF_LOG_PATH", '/home/public/wp-content/wflogs/'); include_once '/home/public/wp-content/plugins/wordfence/waf/bootstrap.php'; } ?>Just incase there was any question about the location of wordfence-waf:
$ ls -lart | grep 'wordfence-waf.php' -rwxrwxr-x 1 <userid> web 342 Oct 24 20:53 wordfence-waf.phpSame problem.
That actually makes a lot of sense, I didn’t know the plugin could replace the value for the style tag with a class tag. I see it now in the “help” show/hide.
Thanks, but my host requires Safe Mode. Is there a work around?
Forum: Themes and Templates
In reply to: Post editor strips tags when switching between HTML and VisualThe problem is with people who switch between the HTML and Visual mode… Often times authors will paste in HTML, then switch to Visual mode. Then when I come in and switch back to HTML mode, the tags are gone. It wouldn’t be such a hassle if the editor handled carriage returns more gracefully.
Forum: Themes and Templates
In reply to: WP functions in custom functionsAhhh, nevermind. I got it now. I have quotes in all the wrong places. Thanks for your help!
Forum: Themes and Templates
In reply to: WP functions in custom functionsOk, thanks. Now I get the error:
Warning: include(/f2/username/public/wp-content/themes/mytsuts/single.php) [function.include]: failed to open stream: Stale NFS file handle in /f2/username/public/wp-includes/template-loader.php on line 43Forum: Themes and Templates
In reply to: WP functions in custom functionsgetMetadata(client) is calling the function getMetadata and passing it “client”.
Forum: Themes and Templates
In reply to: Edit image path on custom themeJust run the script in the URL field, for example: http://www.bookpong.com/wp-content/themes/classipress/classipress/img_resize.php?width=100&height=100&url=1297993469-1.gif
Now that I look at it more… that’s definitely the problem. Look at the URL for the script: classipress/classipress/
Forum: Themes and Templates
In reply to: WP functions in custom functionsI should add, I can echo “client” just fine. The function gets stuck on get_post_meta()
Forum: Themes and Templates
In reply to: FATAL ERROR AFTER I ACTIVATED A NEW THEMEDownload the theme again, and replace the old theme folder with the new theme folder via FTP.
Forum: Themes and Templates
In reply to: All my links have suddenly stopped working in wordpress…Help!Nope… that seems weird. Maybe you upgraded or changes browsers recently, in which case it was always broken but the browser finally stopped displaying broken code?
Forum: Themes and Templates
In reply to: (Newbie) Glider not showing Page in NavIt would be helpful if I could see a live page. Are you using wp_list_pages()?