alternatives4living
Forum Replies Created
-
Forum: Reviews
In reply to: [MailPoet Newsletters (Previous)] Wow!Haha, yes. $99/year is costly for me, too. At least until my site starts generating an income, if ever, lol!
Forum: Fixing WordPress
In reply to: Issues moving WordPressSUCCESS!!!!!!
It really WAS easy, it’s just that none of the “errors” pointed me in this direction!!
After moving the files, the wp-config.php had a line in there that still said:
define( ‘WPCACHEHOME’, ‘/home3/wleute/public_html/wpress/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
After I removed the “wpress/” out of the line, I was able to get to my dashboard.
Hope all my struggles all day long help someone else out!!!
Forum: Fixing WordPress
In reply to: Issues moving WordPressOh… realized why that happened, I accidentally added the “wpress” subdirectory after mysitename.com
mysitename.com/wpress/wp-login.php
If I change that to mysitename.com/wp-login.php I don’t get the incomplete site, but the error is now different. And it says cookies are blocked due to unexpected output…
*throws hands up in the air*
Forum: Fixing WordPress
In reply to: Issues moving WordPressI really AM trying to figure this out, hopefully someone more knowlegeable will be able to help soon… Or my struggles will help someone else, LOL!
Anyway, I have been trying the code at https://codex.www.ads-software.com/Login_Trouble under Site URL Redirecting. I have added both these codes into wp-login.php, both separately and together. The instructions do not state WHERE to place the code within the file, but I have placed them right under the “Bootstrap” instruction.
// If someone has moved WordPress let’s try to detect it
// if ( dirname(‘https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘PHP_SELF’]) != get_settings(‘siteurl’) )
// update_option(‘siteurl’, dirname(‘https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘PHP_SELF’]) );//FIXME: do comment/remove these hack lines. (once the database is updated)
update_option(‘siteurl’, ‘https://alternatives4living.com’ );
update_option(‘home’, ‘https://alternatives4living.com’ );And I now can see an incomplete and corrupted version of the site (which IS “progress”!!) And I now only have FOUR errors:
Warning: include(/home3/wleute/public_html/wpress/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home3/wleute/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include(): Failed opening ‘/home3/MYNAME/public_html/wpress/wp-content/plugins/wp-super-cache/wp-cache-base.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include_once(/home3/MYNAME/public_html/wpress/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: include_once(): Failed opening ‘/home3/MYNAME/public_html/wpress/wp-content/plugins/wp-super-cache/ossdl-cdn.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
BTW, Line 82 of wp-cache.php looks like this:
include_once( WPCACHEHOME . ‘ossdl-cdn.php’ );
AND…. not sure what “:/opt/php54/lib/php” is – but it is in my original “.htaccess” file which I had renamed “.htaccess1” to avoid it being overwritten….
Forum: Fixing WordPress
In reply to: Issues moving WordPressOk, I tried that and it was not the answer. So I’ve tried using the original password to login. I still can’t get in, but get fewer errors…
Warning: include(/home3/wleute/public_html/wpress/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home3/wleute/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include(): Failed opening ‘/home3/wleute/public_html/wpress/wp-content/plugins/wp-super-cache/wp-cache-base.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/wleute/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 65
Warning: include_once(/home3/wleute/public_html/wpress/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home3/wleute/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: include_once(): Failed opening ‘/home3/MYNAME/public_html/wpress/wp-content/plugins/wp-super-cache/ossdl-cdn.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Warning: Cannot modify header information – headers already sent by (output started at /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php:65) in /home3/MYNAME/public_html/wp-login.php on line 418
Warning: Cannot modify header information – headers already sent by (output started at /home3/MYNAME/public_html/wp-content/plugins/wp-super-cache/wp-cache.php:65) in /home3/MYNAME/public_html/wp-login.php on line 431
It seems to be about 3 fewer errors than using the “newer” password.
Forum: Fixing WordPress
In reply to: Issues moving WordPressI’ve looked at the “wp-config.php” file, and it is saying that the database password was the original password issued at installation, as opposed to the one I changed it to.
I’ve tried logging in using the original password, but it still doesn’t log me in. Should I try changing the password withing the “wp-config.php” file to the one I thought I CHANGED it to??
Any ideas? Sorry if I am seeming to be impatient, I worked on this site until 3 am, and just moving the files should not have changed them this much!
Forum: Fixing WordPress
In reply to: Issues moving WordPressContents of “wp-cache-base.php” which seems to be the file that is causing the issue?
<?php
$known_headers = array(“Last-Modified”, “Expires”, “Content-Type”, “Content-type”, “X-Pingback”, “ETag”, “Cache-Control”, “Pragma”);if (!class_exists(‘CacheMeta’)) {
class CacheMeta {
var $dynamic = false;
var $headers = array();
var $uri = ”;
var $post = 0;
}
}$WPSC_HTTP_HOST = htmlentities( $_SERVER[ ‘HTTP_HOST’ ] );
// We want to be able to identify each blog in a WordPress MU install
$blogcacheid = ”;
if ( defined( ‘VHOST’ ) || ( defined( ‘WP_ALLOW_MULTISITE’ ) && constant( ‘WP_ALLOW_MULTISITE’ ) == true ) ) {
$blogcacheid = ‘blog’; // main blog
if( defined( ‘SUBDOMAIN_INSTALL’ ) && constant( ‘SUBDOMAIN_INSTALL’ ) == true ) {
$blogcacheid = $WPSC_HTTP_HOST;
} else {
if ( isset( $base ) == false )
$base = ”;
$request_uri = preg_replace(‘/[ <>\’\”\r\n\t\(\)]/’, ”, str_replace( ‘..’, ”, $_SERVER[‘REQUEST_URI’] ) );
if( strpos( $request_uri, ‘/’, 1 ) ) {
if( $base == ‘/’ ) {
$blogcacheid = substr( $request_uri, 1, strpos( $request_uri, ‘/’, 1 ) – 1 );
} else {
$blogcacheid = str_replace( $base, ”, $request_uri );
if ( $blogcacheid != ” )
$blogcacheid = substr( $blogcacheid, 0, strpos( $blogcacheid, ‘/’, 1 ) );
}
if ( ‘/’ == substr($blogcacheid, -1))
$blogcacheid = substr($blogcacheid, 0, -1);
}
$blogcacheid = str_replace( ‘/’, ”, $blogcacheid );
}
}?>
Forum: Fixing WordPress
In reply to: Issues moving WordPressChecked MySQL, and the URL is correct there.
Forum: Fixing WordPress
In reply to: Issues moving WordPressThe only thing I can think that I had any questions about, was when I changed the URL from “mysite.com/wpress” to “mysite.com”, I did NOT include a “/” after my URL: ie. “mysite.com/”. If that was a necessary step, it was not included in the instructions. If it was, is there any way to edit the current files to include it?