glarson@bendbroadbandcom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Lost media linksI’m way short of knowing how to work with a “serialized array.” Is it something normal search/replace tools would not find?
Forum: Fixing WordPress
In reply to: Lost media linksThe broken URLs seem to be hidden. They are undetected by any search tools I have tried. Plus, they do not appear in the image edit window; even the usual URL frame is not there when “Image URL” is selected.
Forum: Fixing WordPress
In reply to: Lost media linksI installed the plugin, but see no search & replace option(?). Also some missing php functions prevent backing up DB using plugin, but I am doing that another way. I have already searched all tables for the improper links using browser “find,” and PhpMyAdmin “Search/Replace,” and found none.
Forum: Fixing WordPress
In reply to: Lost media linksMy entire wp installation is now in subfolder /Blog, thus:
https://olelarsonsfolks.net/Blog/wp-content/uploads/2010/02/1766-Philip.jpg
Same pattern with all the problem links.
Forum: Installing WordPress
In reply to: Uploads fail after WP moveDisregard – I made the needed update to the database.
Forum: Fixing WordPress
In reply to: Header background disappearedIt looked like that or similar. I was able to restore it to exactly that appearance (gradient) by selecting in the admin area: Appearance->Custom Header->Advanced->Select Default Colors. Now it looks fine. I am thinking about changing themes, per your suggestion. Thanks a lot and will close this thread.
Forum: Fixing WordPress
In reply to: Header background disappearedI think so, but not sure. Here is the “…images/header-img.php” file, it names the jpg you refer to (which does exist) but I can’t tell if it actually uses it:
<?php /** * @package WordPress * @subpackage Default_Theme */ /** @ignore */ $img = 'kubrickheader.jpg'; // If we don't have image processing support, redirect. if ( ! function_exists('imagecreatefromjpeg') ) die(header("Location: kubrickheader.jpg")); // Assign and validate the color values $default = false; $vars = array('upper'=>array('r1', 'g1', 'b1'), 'lower'=>array('r2', 'g2', 'b2')); foreach ( $vars as $var => $subvars ) { if ( isset($_GET[$var]) ) { foreach ( $subvars as $index => $subvar ) { $length = strlen($_GET[$var]) / 3; $v = substr($_GET[$var], $index * $length, $length); if ( $length == 1 ) $v = '' . $v . $v; $$subvar = hexdec( $v ); if ( $$subvar < 0 || $$subvar > 255 ) $default = true; } } else { $default = true; } }
Forum: Fixing WordPress
In reply to: Header background disappearedHere is the code again with backticks
<style type='text/css'> <!--#header { background: url('https://olelarsonsfolks.net/Blog/wp-content/themes/default/images/header-img.php?upper=000099&lower=4180b6') no-repeat bottom center; } --></style>
The #header line seems to be commented out. Could that be causing my lack of header background? There is a “…/images/header-img.php” file, and also image files called by the php code therein.
Forum: Fixing WordPress
In reply to: Header background disappearedI meant html code – I guess the php code generates it?
Forum: Fixing WordPress
In reply to: Header background disappearedI’m still stumped on this. Viewing source in my browser, it looks like the line that calls for the header-img.php file is commented out:
<style type=’text/css’>
<!–#header { background: url(‘https://olelarsonsfolks.net/Blog/wp-content/themes/default/images/header-img.php?upper=000099&lower=4180b6’) no-repeat bottom center; }
–></style>I’m over my head here; don’t understand how the http code is generated nor how to edit/change it.
The site again: https://olelarsonsfolks.net/Blog/
Forum: Fixing WordPress
In reply to: Header background disappearedDeactivated all plugins (several of which show updates available). Also cleared browser history and cache to be sure page loaded freshly. Issue persists. BTW, thanks for your keen attention.
Forum: Fixing WordPress
In reply to: Header background disappearedI have never moved sites, nor changed themes, since I started the blog 5 years ago. Last updated WP to 3.6 several weeks ago. The issue began between 8 AM and 11 AM PDT today. I did not edit any theme files, or change anything else, in the interim. Not up to speed on php. There is a file https://olelarsonsfolks.net/Blog/wp-content/themes/default/images/header-img.php (without the “?upper …”) but I can’t make heads nor tails of the code in it.
Forum: Fixing WordPress
In reply to: Header background disappearedhttps://www.olelarsonsfolks.net/Blog. Sorry, I included a link but it didn’t show up.
Forum: Fixing WordPress
In reply to: Not getting comments by emailWell, it seems to have healed itself. I am getting the emails again.
Forum: Fixing WordPress
In reply to: List posts in reverse orderFound it, thanks!