Mobilunity
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Object cache in use. No cache listing available.Try to add this:
//add_cacheaction('disable_mobile_check','wp_super_cache_maybe_disable_wptouch' );
Forum: Plugins
In reply to: WooCommerce OptimizePress integrationI am afraid you should use Optimizepress plugin instead. Then based on WordPress you can integrate both Optimizepress and Woocommerce.
Forum: Fixing WordPress
In reply to: White screen after loginYes, you may edit wp-config.php file through FTP or filemanager in your cpanel.
I hope it helps.Forum: Fixing WordPress
In reply to: "ERROR: Cookies are blocked due to unexpected output."It could be fixed by commenting the lines responsible for cookies:
// if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) ) // $user = new WP_Error('test_cookie', __("<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='https://www.google.com/cookies.html'>enable cookies</a> to use WordPress.")); // else $user = wp_signon('', $secure_cookie);
these lines could be found in your wp-login.php file.
All you need to do is to comment them (add dashes).Forum: Fixing WordPress
In reply to: wp-login.php file not foundHi! There are several steps you can do to solve the problem: make the changes with “WP-content” folder, rename the plugins folder – make sure there are no redirects appear.
Please, read this thread. Another person has already had this problem, hope the things he did will help you as well.Forum: Fixing WordPress
In reply to: White screen after loginThe white screen can appear because of different reasons.
The most simple way to that can solve the issue is to empty your cache.
Another thing is to use the WordPress debug function. Add the following code to the wp-config.php file:1 error_reporting(E_ALL); ini_set('display_errors', 1); 2 3 define( 'WP_DEBUG', true);
A third thing you can do is to re-install a fresh copy of WordPress. It is a more radical way, but sometimes it helps.
Forum: Fixing WordPress
In reply to: "ERROR: Cookies are blocked due to unexpected output."Hi! To solve the problem with blocked cookies try to do the following:
in thewp-config.php
file change encoding UTF-8 to UTF-8 BOM.
This should help.Forum: Fixing WordPress
In reply to: Translation not workingPlease start with deleting the caché and deactivating W3 Total cache for a moment.
Then follow this the steps:
1. Go under “WPML -> Theme and plugins localization”
2. Check if “Translate by WPML.” is active
3. Scroll down to “Strings in the theme” and click on “Scan the theme for strings”
4. After that done go under “WPML -> String Translation”. Are the strings translated? Do they show up in the front end?If they are translated but not showing, try deleting them, rescanning the theme and do the translation again.
Hope it went well.
Forum: Fixing WordPress
In reply to: customize not loadingHello! This may be due to errors in the subject line or plug-ins, try to disable all plug-ins and see again. If you customize the boot – include a plugin on one page and re-examine, so you can find the plugin that causes an error in the formation of a preview of the site. Good luck!
Forum: Fixing WordPress
In reply to: Run PHP Results inside WP Shortcode“You need to change echo to return in shortcode:
function endsWith($haystack, $needle) { // search forward starting from end minus needle length characters return $needle === """" || (($temp = strlen($haystack) - strlen($needle)) >= 0 && strpos($haystack, $needle, $temp) !== FALSE); } $lastDate = date('Y-m-d', strtotime('today - 30 days')); $todayDate = date('Y-m-d'); $out = ''; $results = $wpdb->get_results( ""SELECT * FROM wp_statistics_pages WHERE id=1428 AND <code>date</code> BETWEEN '$lastDate' AND '$todayDate' "", ARRAY_A ); for($i=0;$i<count($results);$i++) if (endsWith(get_site_url().''.$results[$i]['uri'], 'https://universitycompare.com/universities/the-uni-of-westminster/')) { $out .= $results[$i]['count']; $out .= ',<br />'; } ?>
Then you can use the result of the execution in a shortcode.
Forum: Fixing WordPress
In reply to: How to publish directly a file that is in the root?“Hello! To publish a file on site – you need to edit the page in text mode, and add link like:
<a> myfile </a>
Hope it helps!”Forum: Fixing WordPress
In reply to: Switching to a static home page“Yes, it’s not listed as a choice, because in draft mode only you have access to this page. You need to publish this page.
If you don’t want to other people see your site when you develop it- you can use plugin like “”WP Maintenance Mode””.”
Hope it helped
Forum: Fixing WordPress
In reply to: how to remove blog posts from googleLet me add correction here: previous answer would remove your post from google indexing, but i guess you are looking for a different solution: you need another text to be shown by google.
In this case you would need to ask google to re-index the page.
You may submit it for re-indexing through Google Webmaster Tools (you would need to use Fetch as Google Tool https://www.google.com/webmasters/tools/googlebot-fetch?pli=1 and then click on Submit to Index button).
If you don’t have a GWT account, you may simply add your URL for reindexing through https://www.google.com/webmasters/tools/submit-urlI hope it helps.
Thanks!Forum: Fixing WordPress
In reply to: wp-login white screenYou have to enter your CPanel on your hosting and there, on the left side, where your stats are listed, you will find the PhP version defined.
Forum: Fixing WordPress
In reply to: wp-login white screenWell, it’s hard to tell for sure, without seeing first hand
I would assume, that you either have some old themes installed, that were created for older versions of WP and may not work with updated yet,
or old plugins, with the same problemSO, you either should update the plugins
or
try enabling debug mode and in WP Config
in line:
define(‘WP_DEBUG’, false);
change false for true
define(‘WP_DEBUG’, true);Then go the site and see the Fatal error, what it will show.
And tell us the results, if you want, or search the net for your mistakeGood luck!