cloudcomputingtopics
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Install new instance on old database?Yes, but I am not going to move the domain name for now. I just want to create a copy of the current production site under a subdirectory (with the same data).
I then want to work on the new instance (change theme etc.) for a while and, when ready, direct/dorward the current domain to the subdirectory (with the new instance)
Forum: Fixing WordPress
In reply to: Install new instance on old database?So how can I install a new instance that uses the same set of tables as the main site (populates the same data)?
Forum: Fixing WordPress
In reply to: Install new instance on old database?It seems the new install (installed in the subdirectory of a main install, yourdomain.com/newinstance) created a new set of tables in the same db (as the main site).
The new tables have the new prefix set in the wp-config.php file (
$table_prefix). Therefore, I assume, there is no data in the tables – it’s a new table set.I probably want to use the same tables (populate the data) in the new instance as in the current main instance. Would that be possible by just changing
$table_prefixto the same (wp_) as in the main instance?Forum: Fixing WordPress
In reply to: Install new instance on old database?I installed wp at a new location copying the same wp-config.php as in the main (current) site, except for editing/changing
$table_prefixWP installed without asking for any db details (assuming it used the details already in the wp-config.php file (with the main db details already there).
However, going to the new site (subsite) if appears blank, no posts are visible from the old site (although using the same db). Did I miss something?
Forum: Fixing WordPress
In reply to: Moving site from Root to subfolderYes I copied (not moved) .htaccess and index.php from the subfolder and put them under root.
In index.php I edited line 17:
require('./wp-blog-header.php');
to
require('./abc/wp-blog-header.php');So it should direct to the subfolder.
I still get the following errors:
Warning: require_once(/home/content/32/5463532/html/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/32/5463532/html/wp-blog-header.php on line 12Fatal error: require_once() [function.require]: Failed opening required '/home/content/32/5463532/html/wp-load.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/32/5463532/html/wp-blog-header.php on line 12Do I need to do something on the database or elsewhere? please help.
Forum: Fixing WordPress
In reply to: Moving site from Root to subfolderPlease advise, I edited the following files, but the error is the same as above:
wp-config.php
index.phpadding the subfolder (ABC) as follows:
require('./ABC/wp-blog-header.php');Forum: Fixing WordPress
In reply to: Moving site from Root to subfolderI added the subdirectory to line 17 in index.php
require(‘./ABC/wp-blog-header.php’);
However, now I receive the following error:
Warning: require_once(/home/content/32/5463532/html/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/32/5463532/html/wp-blog-header.php on line 12
Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/32/5463532/html/wp-load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/32/5463532/html/wp-blog-header.php on line 1
2
Forum: Fixing WordPress
In reply to: Cannot login – need to change WP URL setupThanks, its fixed. I edited the wp-config.php, adding these:
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);Forum: Fixing WordPress
In reply to: Parse error in wp-configI managed to figure out the problem. i needed to download a new wp-config-sample.php (version 3.5.1) and edit it accordingly, save as wp-config.php and upload. It is now working correctly.
Forum: Plugins
In reply to: Contact Form 7: Change font sizeWhich source code should I examine? CF7 style.css – which is inactive, theme style.css or something else?
Thanks
Forum: Fixing WordPress
In reply to: No tables functionality in wysiwyg editor?Thanks, I will install this plugin. Still find it strange that the default editor cannot handle tables.
Forum: Fixing WordPress
In reply to: Remove page title from page bodyI managed to find this out by disabling the following in page.php:
<!--<h1><?php the_title(); ?></h1> -->Thanks,
OlafurForum: Fixing WordPress
In reply to: Remove page title from page bodyCould it be somewhere in this code (index.php) I need to make changes?
<div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post"> <h2 class="posttitle"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>Thanks,
OlafurForum: Fixing WordPress
In reply to: Remove page title from page bodyI am using “eximius” as my theme (http://wordpress.org/extend/themes/eximius). I have already done some modifications in the theme, but not sure where I should look for this issues.
Forum: Fixing WordPress
In reply to: Hide “Comments are closed” on static pagesolved by using
is_front_page()instead ofis_home()