Giter Club home page Giter Club logo

vqmod's People

Contributors

qphoria avatar

vqmod's Issues

Parentesis causing error

Here is my vqmod file:

<modification>
    <id></id>
    <version>1.5.x</version>
    <vqmver>1.0.8</vqmver>
    <author></author>   
    <file name="catalog/controller/checkout/register.php">
        <operation>
            <search position="after" offset="2"><![CDATA[if ((utf8_strlen($this->request->post['firstname']) < 1) || (utf8_strlen($this->request->post['firstname']) > 32)) {]]></search>
            <add><![CDATA[              
                if (!is_int($this->request->post['cpf'])) { $json['error']['cpf'] = "Informe o CPF (Somente números)"; }
                if (!is_int($this->request->post['rg'])) { $json['error']['rg'] = "Informe o RG "; }]]>
            </add>
        </operation>
    </file> 
</modification>


The parentheses in the string "Informe o CPF (Somente números)" raises the 
"DOM UNABLE TO LOAD" error.

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 8:05

options problem

What steps will reproduce the problem?
1. trying to modify product options
2. using product options

What is the expected output? What do you see instead?
Notice: Undefined index: option_value_id in 
/mnt/webd/d0/37/53011337/htdocs/admin/model/catalog/product.php on line 
169Notice: Undefined index: option_value_id 
in/mnt/webd/d0/37/53011337/htdocs/admin/model/catalog/product.php on line 
169Warning: Cannot modify header information - headers already sent by (output 
started at /mnt/webd/d0/37/53011337/htdocs/admin/index.php:83) in 
/mnt/webd/d0/37/53011337/htdocs/vqmod/vqcache/vq2-system_engine_controller.php 
on line 28Warning: Cannot modify header information - headers already sent by 
(output started at /mnt/webd/d0/37/53011337/htdocs/admin/index.php:83) in 
/mnt/webd/d0/37/53011337/htdocs/vqmod/vqcache/vq2-system_engine_controller.php 
on line 29

What version of the product are you using? On what operating system?
newest

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Nov 2011 at 12:44

Pathing issue?

What steps will reproduce the problem?
1. Install vQmod
2. Install MIGS_Payment_Gateway
3. Create a vQmod patch for migs payment gateway
4. Try to check out

What is the expected output? What do you see instead?
Migs payment form should show up after clicking ok on step 5 but instead I get 
an error about unexpected <.

The ajax request that gets step6 is getting the following error back off the 
server
<b>Notice</b>: Error: Could not load language 
payment/vq2-catalog_controller_payment_migs_gateway! in 
<b>docs/cart/vqmod/vqcache/vq2-system_library_language.php</b> on line <b>27</b>

What version of the product are you using? On what operating system?
vqmod-2.1.2-opencart
opencart-1.5.1.3
migs_gateway-150.1

Please provide any additional information below.
I've attached the xml file for the patch I'm trying to apply

I suspect it's because of the path "payment", the actual migs file is:
catalog/controller/payment/migs_gateway.php

The actual vqcache file is:
vqmod/vqcache/vq2-catalog_controller_payment_migs_gateway.php

It looks like it's attempting to include
vqmod/vqcache/payment/vq2-catalog_controller_payment_migs_gateway.php

Original issue reported on code.google.com by [email protected] on 11 Oct 2011 at 4:35

Attachments:

vQmod does not work with includes in template files

What steps will reproduce the problem?
1. edit a template file to have includes in it:
i.e. in a.tpl:
<? if (...)
require 'a_1.tpl';
else
require 'a_2.tpl';
?>
2. run simple vQmod replace for a_1.tpl or a_2.tpl

What is the expected output? What do you see instead?
File in cache folder for a_1.ptl or a_2.tpl should be generated, however it 
does not happen.

What version of the product are you using? On what operating system?
vQmod 2.1.2
Linux joker 2.6.32.8-grsec-2.1.14-modsign-xeon-64 
PHP Version 5.2.17 

Please provide any additional information below.
Pls let me know if you anyneed further information.

I believe this could be a good enhancement for the mod.
Tks
Gustavo


Original issue reported on code.google.com by [email protected] on 19 Oct 2011 at 1:14

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.