vQMod for opencart的问题

时间:2016-06-22 13:22:42

标签: xml opencart opencart2.x vqmod

在实践中,我试图改变其他文件中的某些内容,但即便是这个简单的例子也行不通。我一直在OpenCart 2.6.1上使用vQmod版2.2.0

public static $_vqversion = '2.6.1';

其他信息:

  1. Linux version 3.19.0-61-generic (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) )
  2. PHP Version 5.5.9-1ubuntu4.17
  3. 我已经创建了另一个xml文件来执行我想要它做的事情(我已经修改了一些tpl文件,所以我知道可以用它做的事情)

    这是我的问题。

    <?xml version="1.0" encoding="UTF-8"?>
    <modification>
        <id>do something</id>
        <version>1.0.0</version>
        <vqmver>2.3.0</vqmver>
        <author>Me (my@gmail.com)</author>
        <file name="index.php">
            <operation error="skip">
                <search position="before"><![CDATA[
    if (is_file('config.php')) {
    ]]></search>
                <add><![CDATA[
    echo "This doesn't work.";
    ]]></add>
            </operation>
        </file>
    </modification>
    

    我已经尝试过的事情:

    1. 我的OpenCart安装文件
    2. 上安装了vqmod manager
    3. 权限以递归方式设置为777(sudo chmod 777 -R foldername
    4. 删除vqmod缓存文件(没有生成vq2_index.php)
    5. 将vqmver从2.3.0更改为2.6.0(或2.6.1)
    6. 将版本从1.0.0更改为1.0.1
    7. 添加<?xml version="1.0" encoding="UTF-8"?>
    8. &#34;已经安装了vqmod&#34;检查
    9. 请记住,我已经尝试更改系统/供应商/中的其他一些php文件...我没有在vQmod管理器中获取任何错误日志,但它仍然无法正常工作或创建缓存文件。 vQmod管理员没有检测到任何错误。

      任何帮助将不胜感激

      安装源:https://github.com/vqmod/vqmod/releases/tag/v2.6.1-opencart 我已经从vqmod-2.6.1-opencart.zip

      安装了它

      日志文件(我已经应用了错误=&#34; log&#34;到vqmod / xml文件夹中的所有xmls):

      ---------- Date: 2016-06-23 06:44:42 ~ IP : 127.0.0.1 ----------
      REQUEST URI : /
      MOD DETAILS:
         modFile   : /path/to/devsite/vqmod/xml/vqmod_opencart.xml
         id        : VQMOD CORE FOR OPENCART - DO NOT REMOVE
         version   : 1.4.x and above
         vqmver    : 2.6.0
         author    : vqmod.com
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/engine/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/engine/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      File Name    : system/library/*.php(1)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()modification\(([^)]+)~
      
      File Name    : system/library/template/*.php(0)
      VQModObject::applyMod - SEARCH NOT FOUND (SKIPPED): ~(require|include)(_once)?\((?!VQMod::modCheck\()(?!modification\()([^)]+)~
      
      ----------------------------------------------------------------------
      

0 个答案:

没有答案