wordpress theme installion error - wordpress

I installed the Wordpress 4.2 on my local server and copy my theme to wp-contat\themes. When I run the Wordpress admin panel and select the theme it gives me this error:
Warning: require_once(http://localhost/isee/wp-content/themes/isee/includes/db.php): failed to open stream: HTTP request failed! HTTP request failed! HTTP/1.0 404 Not Found in D:\wamp\www\isee\wp-content\themes\isee\modules\careers.php on line 6
Fatal error: require_once(): Failed opening required 'http://localhost/isee/wp-content/themes/isee/includes/db.php' (incpude_path='.;C:\php\pear') in D:\wamp\www\isee\wp-content\themes\isee\modules\careers.php on line 6

It is not as simple as copy and paste files. You need to set up a new theme. Check if you copied in a totally different directory as your original wordpress. In that case, what you did is to set up a complete different wordpress instance. What you need to do in that case, is to create an empty database in phpMyAdmin with the same name as your new wordpress site. Just be careful not to duplicate the name of the previous instance.
In case you only copied the theme folders in a new folder, you need to update the style.css file to be a child from the original folder you copied from. You can go to developer.wordpress.org to see under ThemeHandbook->Theme Basics->Theme Files AND GO TO THE BOTTOM. There you fill find the code you need to copy and paste in a style.css fyle in your root theme directory.

Related

My WordPress website has suffered fatal error: Uncaught Error: Call to undefined method WP_Site_Health::get_instance()

My WordPress website has suffered a fatal error details below:
Fatal error: Uncaught Error: Call to undefined method WP_Site_Health::get_instance() in /home/alfmanso/public_html/wp-settings.php:524 Stack trace: #0 /home/alfmanso/public_html/wp-config.php(89): require_once() #1 /home/alfmanso/public_html/wp-load.php(37): require_once('/home/alfmanso/...') #2 /home/alfmanso/public_html/wp-blog-header.php(13): require_once('/home/alfmanso/...') #3 /home/alfmanso/public_html/index.php(17): require('/home/alfmanso/...') #4 {main} thrown in /home/alfmanso/public_html/wp-settings.php on line 524
You must manually update WordPress.
Backup your database.
Backup all your WordPress files in your WordPress directory. Don’t forget your .htaccess file.
Verify the backups you created are there and usable. This is essential.
Deactivate all your Plugins.
Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.
Download and extract the WordPress package from the official WordPress site.
Delete the old WordPress files on your site, but do not delete:
wp-config.php file;
wp-content folder; Special Exception: the wp-content/cache and the wp-content/plugins/widgets folders should be deleted.
wp-images folder;
.htaccess file–if you have added custom rules to your .htaccess, do not delete it;
– robots.txt file–if your blog lives in the root of your site (ie. the blog is the site) and you have created such a file, do not delete it.
Upload the new files from your computer to the appropriate WordPress folder on your site.
Run the WordPress upgrade program and follow the instructions on the screen. Then do this:
Update Permalinks and .htaccess.
Install updated Plugins and Themes.
Reactivate Plugins
Review what has changed in WordPress.
For more information, consult this page on WordPress’ official support site here.

Wordpress: ERROR: "Table Prefix" must not be empty

So I'm trying to build a Wordpress website using AWS using RDS Aurora. I've installed the source code provided by wordpress.org and it uploaded successfully but after putting in all the information regarding the database it loads for a minute or two then says the page isn't working, when it reloads it gives me the error ERROR: "Table Prefix" must not be empty. I've tried many solutions but none of them are working
Check the URL of the installation page. It must have a .php suffix. If it doesn't, it's likely your .htaccess page is rewriting the URL and causing your POST requests to misdirect.
Edit .htaccess so it reads RewriteEngine Off.
This bug is often the result of inheriting .htaccess rules from higher directories.
In a fresh installation rename your wp-config-sample.php file with wp-config.php.
Then define you own table_prefix. Make it meaningfull related to your project. This table_prefix will be added as a the prefix of you tables in your database.
Example: $table_prefix = abcd_

Wordpress New Post Edit Toolbar is Missing

Symptom:
When I start a new post on my Wordpress (example: http://website.com/wp-admin/post-new.php), I have the following problems:
The tinyMCE editing toolbar is missing, and
Text does not appear when typed in the body of the new post
Attempts:
Following Wordpress' guidelines, I tried the following without success:
Deactivate all plugins -- still no edit toolbar.
Use other browsers -- same error in Chrome, Firefox, and IE on multiple machines.
Enable SCRIPT_DEBUG in wp-config.php -- same error.
Viewing browser errors in Chrome -- see below.
I opened Developer Tools ("F12") in Chrome on the new post page and found the following 3 errors:
Failed to load resource: the server responded with a status of 404 (Not Found) -- [wordpress-website]/wp-includes/js/tinymce/tiny_mce.js?ver=349-20805
Uncaught ReferenceError: tinyMCE is not defined -- wp-langs-en.js:1
Uncaught ReferenceError: tinyMCE is not defined -- post-new.php:760
Question:
What must I do to get the edit toolbar back?
404 errors are an indication files may be missing. Have you verified the files haven't accidentally been moved or deleted?
You can replace the contents of the wp-includes/ directory where TinyMCE is located. You can either do this via the admin area updater, or you can do it manually.
Automatic way
Log into your WordPress admin area
Navigate to Home > Updates
Click the Re-install Now button
Manual way
Download a copy of the version of WordPress you are currently
running (if you are not running the current version you can find a copy in the release archive)
FTP into your site
Make a backup of your wp-content/ directory
Delete the wp-includes/ directory from the server
Upload the entire wp-includes/ directory from the new copy of WordPress you downloaded
You should now have a completely replaced wp-content/ directory and all of the TinyMCE files will be on your server.

Timthumb can't show image after it's uploaded

I'm using Wordpress plugin called User Avatar, that uses Timthumb for image display. When I open page to show the image, it gives error 500 in the console, and when I use that image link in new tab, I get following error:
A TimThumb error has occured
The following error(s) occured:
Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory.
Could not create cache clean timestamp file.
Query String : src=http://my.domain.com/wp-content/uploads/avatars/1/1358504649-bpfull.jpg&w=150&id=1&random=1358504649
TimThumb version : 2.8.10
I persume it's a server error or misconfiguration, everything is being uploaded into folder uploads, then into avatars subfolder, which has 0777 permission, folder 1 also has 0777.
Insinde, there are both cache and temp folders, both with 0777 permissions.
GD Image Lib is enabled on the server.
Look in your timthumb-config.php, to check if the FILE_CACHE_DIRECTORY is set to the directory you think it is.
You could also delete the existing index.html file that's in the tim thumb cache directory, as tim thumb will automatically create it (back it up somewhere first just in case)
You may also need to check the config file to see if the MEMORY_LIMIT is set high enough for your particular images.
You should also check that the cache folder is owned by the webserver and not by you.
Other troubleshooting help here: http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/
Just like #jopacic said. What also worked for me was the following:
Changing the "cache" directory permission to 777
Deleting index.html file in the "cache" directory
Try that, it should work

wp recaptcha wordpress plugin install error

I am trying to install wp-recaptcha in my wordpress site. But it showed me the following error.
Warning: require_once(/home2/sample/public_html/test.com/wp-content/plugins/wp-recaptcha/recaptchalib.php) [function.require-once]: failed to open stream: No such file or directory in /home2/sample/public_html/test.com/wp-content/plugins/wp-recaptcha/recaptcha.php on line 158
How to fix this?
It seems the recaptchalib.php file is missing in the plugin directory, or that the Web server can not access it. Check you have uploaded all plugin files (since recaptchalib.php is present in the plugin package) and that the file permissions are set correctly.

Resources