因为我正在尝试从PHP 7.2.X版本加载mcrypt扩展模块.
所以我尝试使用与我当前版本的PHP兼容的PECL库,以便安装并遵循以下链接:
在安装过程中在PHP 7.2上安装mcrypt!
以下是在终端上执行某些命令后获得的结果.
root@YYY:/var/www/html/orocrm# apt install php-pear
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libllvm4.0
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
php-pear
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 285 kB of archives.
After this operation, 2,107 kB of additional disk space will be …Run Code Online (Sandbox Code Playgroud) 在Chrome DevTools的"网络"面板中,过滤器请求类型设置为"全部/ XHR",在"预览"窗格滚动条(垂直和水平条)下不会滚动
为了克服上述情况,我按照以下两种方法进行了如下操作:
由于两种方法都是相同的,因此将DevTools拆分为一个单独的窗口然后F12按下或按CTRL+ SHIFT+ I来检查DevTools内部 - 检查 - in-Inspect(即嵌套检查)
检查预览iframe,您将能够看到.html-preview-frame已将pointer-events属性设置为none.在刷新页面或切换到另一个文件之前pointer-events,auto将禁用或设置属性到滚动功能.
通过使用本地修改的CSS脚本来覆盖.在嵌套检查的Sources面板中,有一个名为"network/requestHTMLView.css"的脚本 ,它出现在Page选项卡 的" No Domain "部分下的Sources列表中,并且从Editor窗格中修改/替换包含的CSS脚本以前的代码行,下面的代码行,滚动功能恢复!直到&除非没有刷新页面或切换到另一个文件.
iframe.html-preview-frame {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
flex-grow: 1;
margin: 20px;
pointer-events: auto;
}
Run Code Online (Sandbox Code Playgroud)
但是每次遇到的问题都是,如果我们尝试刷新或切换到另一个文件,它将保持持久性.是否有任何解决方法可以通过定义我们自己的自定义CSS文件或通过定义我们自己的JavaScript函数然后将其嵌入到HTML文件中来永久地解决此问题.
最后,解决方案应该是这样的,即使刷新或切换到另一个文件后滚动功能应该工作!
已安装Google Chrome版本67.0.3396.99(官方版本)(64位).
Google Chrome: 67.0.3396.99 (Official Build) (64-bit)
Revision: a337fbf3c2ab8ebc6b64b0bfdce73a20e2e2252b-refs/branch-heads/3396@{#790}
OS: Linux
JavaScript: V8 6.7.288.46
Flash: …Run Code Online (Sandbox Code Playgroud) 我是OWB的新手并执行Match-Merge操作.
输入数据
源(数据库):22,33,000条记录
目标:1000条记录
实际产出
20,00,000条记录
预期输出
匹配 - 合并表:<= 1000条记录
我无法弄清楚为什么我在输出匹配合并表中得到如此巨大的数字是出乎意料的.
请帮助我指导将实际输出减少到大约所需的所有步骤.1000条记录.
而不是利用jQuery或JavaScript在文件类型的组件文件之外的功能ts,需要修剪/删除/限制任何粘贴到文本框后的特殊字符TypeScript只能调用组件内部的函数,粘贴后同样需要反映作为抽象函数的文本框
唯一允许的特殊字符是:
hyphens(-), parenthesis(()), dot(.), underscore(_), numbers(0-9), alphabets(a-zA-Z) and space
这是下面显示的完整代码片段
HTML
<input type="text" id="bindingId" [(ngModel)]="bindingName"
(keypress)="validateSpecialCharacters($event)" (paste)="onPaste($event)"
onCopy="return false" onDrag="return false" onDrop="return false"/>
Run Code Online (Sandbox Code Playgroud)
组件.ts
public validateSpecialCharacters(e: any): boolean {
try {
if (/^[a-zA-Z0-9\-\_\s\(\)\.]*$/.test(e.key)) {
return true;
} else {
e.preventDefault();
return false;
}
// let k;
// document.all ? k = e.keyCode : k = e.which;
// k = e.charCode; // k = event.keyCode; (Both can be used)
// return((k …Run Code Online (Sandbox Code Playgroud) 这个奇怪的错误是在发布这篇文章的前一天出现的。以前它工作正常,但现在不行了。
在重新启动系统的一个动作中,错误消失并能够访问应用程序。
再次重新启动系统后,错误开始出现而不知道根本原因。
启用的协议: net.tcp,http
我可以浏览以下链接
这是导致异常的以下代码段
objCheckUserLoginResponse = AuthenticationManagerClient.Check(objCheckUserLoginRequest, objCustomer);
Run Code Online (Sandbox Code Playgroud)
例外:
The message could not be dispatched because the service at the endpoint address 'net.tcp://localhost/TAServices/AuthenticationManager.svc' is unavailable for the protocol of the address.
System.ServiceModel.EndpointNotFoundException: The message could not be dispatched because the service at the endpoint address 'net.tcp://localhost/TAServices/AuthenticationManager.svc' is unavailable for the protocol of the address.
Server stack trace:
at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.StreamedFramingRequestChannel.SendPreamble(IConnection connection, TimeoutHelper& timeoutHelper, ClientFramingDecoder …Run Code Online (Sandbox Code Playgroud)