Problems with thumbnail showing - php

Thumbnails not showing on my (freshblog theme) home and archive page, here http://goo.gl/EY5ljA
It seems error is here:
Warning: finfo_open() [function.finfo-open]: Failed to load magic database at '/usr/share/misc/magic'. in /home/eedcorgge/domains/eedc.org.ge/public_html/wp-content/themes/freshblog/includes/timthumb.php on line 373
http://eedc.org.ge/wp-content/themes/freshblog/includes/timthumb.php?src=http://eedc.org.ge/wp-content/uploads/2014/06/10434345_315215635301355_8010689018037474726_n.jpg&h=100&w=100&zc=1
I tried to use new version of timthumb.php, tried to change cache and other folders permission, but no results.
I found similar problem here Failed to load magic database at '' Laravel 4
But Don,t know what to do.
Can anyone help me with fresh idea?

Related

My Joomla site shows PHP error: failed to open stream

I am working on a Joomla site, and just recently updated PHP to 7.2, but my site started throwing errors. I have also updated Joomla to the latest version, but errors still appear. I'm not good in PHP and don't know how to fix it.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /public_html/templates/jf_social/features/color.php on line 11
Warning: require_once(/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /public_html/templates/jf_social/error.php on line 52
Fatal error: require_once(): Failed opening required '/public_html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/php:/opt/cpanel/ea-php73/root/usr/share/pear') in /public_html/templates/jf_social/error.php on line 52
I think error comes from my Joomla template, I am using this one https://www.joomforest.com/joomla/templates/jf-social
I can't receive support from that template developers, because my subscription is expired, and changing the template will take a lot of time for me,
can you please anyone advise how to fix it?
Thank you very much!
Try to delete the line 52
require_once(/public_html/libraries/joomla/document/html/renderer/head.php)
from the File
/public_html/templates/jf_social/error.php
The renderer/head.php doesnt be supported any more in your joomla version. If there are no more errors, everything is fine, if not your template is not supported any more.
Then go to the file
/public_html/templates/jf_social/features/color.php
and edit the line
function Color($hex){
to
function __construct($hex){

Website went DOWN! Changed theme on word press

I was changing the theme on word press and this popped up. I am ready to fix it but I don't know code... at all. ![says require one and failed opening. gave the line 173 and said include path ='.:/user/ and so on
167. // Return
168. return false;
169.
170. }
171.
172. /**
173. * Get the nav ID.
174. *
175. * #since 1.4.7
176. */
177. public static function get_nav_id() {
Warning: require_once(/home/content/85/3750385/html/bigbarberbrand.co/wp-content/themes/oceanwp/inc/third/class-elementor.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/85/3750385/html/bigbarberbrand.co/wp-content/themes/oceanwp/functions.php on line 173
Fatal error: require_once() [function.require]: Failed opening required '/home/content/85/3750385/html/bigbarberbrand.co/wp-content/themes/oceanwp/inc/third/class-elementor.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/85/3750385/html/bigbarberbrand.co/wp-content/themes/oceanwp/functions.php on line 173
Your database is likely still intact. Backup your plugins folder and your wp-config.php file which contains the sql DB info and keep them somewhere safe.
Reupload the wordpress installation, insert your wp-config.php file that you backed up.
Log in, install your theme again now that your wordpress installation is back. You will not lose data.
Revive your plugins folder that you backed up and replace the new one that has almost nothing in it, now you have your plugins again in your healthy environment.
This should get you where you want to be (based on the information you provided) and your new theme should be working without conflict if it is indeed stable for your version of Wordpress.
All in all, something is missing that the PHP is trying to reference but without knowing more, I can't troubleshoot specifically (and I'm not positive anyone else could).
My suggestion nonetheless isn't a last resort. Sometimes things happen in WP and this is simply what needs to be done.

Wordpress Fatal error: require(): Failed opening required on line 97

I have a friend who has a problem on his website under wordpress.
Wordpress did an update 10 hours ago and since, we cannot enter the website.
We aren't developpers and we don't know anything about it, and we don't know how to fix this easily. Can someone help us please ?
(Sorry for the bad english as I'm french)
When I try to get on the website, it show this :
Fatal error: require(): Failed opening required
'/home/u438775107/public_html/wp-includes/class-wp-list-util.php'
(include_path='.:/opt/php-5.5/pear') in
/home/u438775107/public_html/wp-settings.php on line 97
Try to following steps
1)Remove the Error plugin Directory
like:- c://wamp/www/wordpress/wp-content/plugins/revslider
2)Upload this backup plugin and active plugin
3)Then after solve this type of errors.
You are getting this error because the WordPress was not updated Successfully.
Try the following to fix it:
1!) Re-install WordPress Manually.
Take a backup of wp-content (from the file manager) and your database (from phpmyadmin or console if you don't have a GUI), just reinstall the core files.
2) Check homeurl and siteurl form phpmyadmin (should be in the wp_options table)
3) rename .htaccess file form root so that it is disabled untill we get the issues fixed.
5) Always user private browser to remove cache and check if the issue was solved.
It should work fine now.

MediaWiki 1.27 warning requiring SpecialUserLogin.php

I've updated my mediawiki from 1.26.2 to 1.27, the installation process finished ok, but when I try to access I received this error:
Warning:
require(/var/app/current/includes/specials/SpecialUserLogin.php):
failed to open stream: No such file or directory in
/var/app/current/includes/AutoLoader.php on line 81 Fatal error:
require(): Failed opening required
'/var/app/current/includes/specials/SpecialUserLogin.php'
(include_path='/var/app/current/vendor/pear/pear_exception:/var/app/current/vendor/pear/console_getopt:/var/app/current/vendor/pear/pear-core-minimal/src:/var/app/current/vendor/pear/mail_mime:/var/app/current/vendor/pear/mail_mime-decode:/var/app/current/vendor/pear/net_socket:/var/app/current/vendor/pear/net_smtp:/var/app/current/vendor/pear/mail:.:/usr/share/pear:/usr/share/php')
in /var/app/current/includes/AutoLoader.php on line 81
I have no idea why is this happening. If I check the files in my server they're there. I'm also having template issues if I choose vector I only get a messed up template, without styling.
I'm using PHP 5.6.
I hope someone can help me.
I just stumbled across this same exact error after upgrading to MW 1.27.
In my case, the SpecialUserlogin.php existed and all of the permissions were right BUT the word login was written in lowercase so the system thought this file didn't exist. So I just renamed the SpecialUserlogin.php to SpecialUserLogin.php and b00m, it worked!
As for your templating issues, check the common.css file. Copy paste everything out of there, so it's empty, if you don't use it. And check that you're calling your style files correctly in your template.

Warning message display when try to log in to my website

I have not take care of my site for couple months. Recently, I want to update my Wordpress and Themes. However, when I try to login www.beatyourbuy.com/wp-admin. It give me below message. First of all, I am not a IT expert, have limited knowledge of IT. Would really appreciate someone can help me about this.
The error message show as below (forgive my poor English):
Warning: include(/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/classes/main.php): failed to open stream: No such file or directory in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 15
Warning: include(): Failed opening '/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/templates/functions/required/shipping_required.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 27
Warning: include(/home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/includes/templates/functions/woocm_editing_wrapper.php): failed to open stream: No such file or directory in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 28
There are more when you go to main page on www.beatyourbuy.com:
Fatal error: Call to undefined function wccs_positioning() in /home/fredyu/public_html/wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php on line 75
It appears that the WordPress update has caused a problem with the Woocommerce Checkout Manager plugin.
To correct this, you must disable the offending plugin woocommerce-checkout-manager.
This will require you to have FTP access to your site. Once login via FTP , browse to the plugin directory wp-content/plugins/ and rename the folder woocommerce-checkout-manager to woocommerce-checkout-manager-disable.
You should now be able to log into the WordPress admin page and the Woocommerce Checkout Manager plugin will be deactivated.
Going only with what you have written, as a general rule it is advisable to update all plugins prior to a WordPress core update.

Categories