• 2015年创业中遇到的技术问题:101-110


     101.计算机中丢失 msvcr110.dll。
    下载一个VS的补丁,http://www.microsoft.com/zh-CN/download/details.aspx?id=30679。
    参考资料:http://jingyan.baidu.com/article/4f7d57129fa86e1a201927de.html

    102.ecshop安装后出现Strict Standards: Only variables should be passed。
    查看对应部分的代码为
    $tag_sel = array_shift(explode(‘ ‘, $tag));
    将这一句代码拆为两句即可(貌似在php5.4中array_shift只能为变量,不能是函数返回值)
    $tag_arr = explode(‘ ‘, $tag);
    $tag_sel = array_shift($tag_arr);

    参考资料:http://www.ecshoptemplate.com/article-1745.html

    103.ECSHOP报错误Deprecated: preg_replace(): The /e modifier is deprecated 怎么办。
    最近的很多PHP问题,都和版本有很大关系。
    一些函数在php5.3还被支持,5.5中直接报错了,也就是说不向下兼容。
    参考资料:http://www.ecshop120.com/ecshop-ercikaifa/article-269.html

    104.安装piwik,总是提示“时区错误”。
    在本地安装没有遇到这个问题,然后把安装成功之后的,有效配置,比如配置文件,覆盖线上的,就可以正常访问了。
    难道是阿里服务器的市区有问题?

    105.原来知道Nginx,启动之前可以检查语法是否正确。
    /nginx -t
    刚刚试了下,apache也是这么用的。
    /etc/init.d/httpd -t

    启动过程中,报语法错误还是挺烦人的,所以还是先检查下,安心一些。

    106.用CSS实现首行缩进。
    text-indent:2em;解释:text的意思是文本、indent在计算机英语中意思是缩进、至于后面的2em意思就是2个相对单位;
    <div style="text-indent: 2em;">九天鸟科技...</div>

    107.真机测试,发现连不上PC的web程序。
    http://p2p.com 映射到本地,不行;访问远程,可以。
    localhost,127.0.0.1不行。
    192.168.0.100,路由器局域网是好的。

    真机测试时,手机和PC必须在一个局域网中。

    108.网上安装WordPress主题,程序就直接挂了。
    后来在本地试了下,发现提示“Zend Guard Run-time support missing!”。
    PHP源代码加密了,没有解密就报错。

    109.Bootstrap的流式布局。
    .container-fluid
    没有.row-fluid,总是误认为container和row都是对应的。

    110.用了Bootstrap,有些样式想覆盖默认的。
    tr td{
    text-align:center;
    vertical-align:middle !important;
    }
    !important这个比较好使。

      武汉九天鸟-p2p网贷系统开发-互联网应用软件开发
      公司官网:http://jiutianniao.com
      社交问答:http://ask.jiutianniao.comhttp://ask.jiutianniao.com 
  • 相关阅读:
    IntegrityError duplicate key value violates unique constraint
    LeetCode 212: Word Search II
    LeetCode: Lowest Common Ancestor of a Binary Search Tree 解题报告
    LeetCode: Unique Paths II 解题报告
    LeetCode: Unique Paths 解题报告
    LeetCode: Remove Nth Node From End of List 解题报告
    LeetCode: Convert Sorted List to Binary Search Tree 解题报告
    LeetCode: Path Sum II 解题报告
    lintcode: k Sum 解题报告
    LeetCode: Unique Binary Search Trees II 解题报告
  • 原文地址:https://www.cnblogs.com/qitian1/p/6462770.html
Copyright © 2020-2023  润新知