Posts by Matheus Silva Itep • 231 points
18 posts
-
0
votes1
answer41
viewsQ: Load resized image in wordpress
Good night. I’m only trying to upload the "thumbnails" of the images on my custom page, but the site loads the original image and resizes it. That weighs the load on my site. My code: <?php if (…
-
1
votes0
answers1210
viewsQ: Error: invalid or exchanged testimony in PHPMYADMIN
I’ve never seen this mistake before, on the Internet has virtually no information about it Error: invalid or exchanged testimony…
phpmyadminasked Matheus Silva Itep 231 -
0
votes2
answers1050
viewsQ: Command to leave running Laravel 5.1
I have an Laravel 5.1 facility To start, I’m using: php Artisan serve --host=meudominio.com.br --port=8001 I have tried to include & (Commercial) at the end, with space, but after executing this…
laravel-5asked Matheus Silva Itep 231 -
0
votes0
answers647
viewsQ: Use java to connect to Webservice Magento API SOAP v1?
On the official website, http://www.magentocommerce.com/api/soap/introduction.html, has a quote that says that java is more compatible when using Soap v2: As of v1.3, you may also use the following…
-
1
votes0
answers396
viewsQ: REJECTED_NONFASTFORWARD error in git push Netbeans
I’m working on a remote git, and I have a remote I’m trying to push to send my new changes to the other remotes (in this case join origin/master) and even send a PULL or Pull from upstream on the…
netbeansasked Matheus Silva Itep 231 -
0
votes0
answers1078
viewsQ: API access on port 443 returning Connection timed out
I’m setting up a webAPI and after configuring everything (id, key, Signature, other data the api asks for) and authenticate by HEADER in php using json and CURL to post on the site the return is…
-
1
votes0
answers503
viewsQ: Request json object always returning NULL in php
I am trying to access a server and send data/receive return in json object with php language. <?php header('content-type: application/json; charset=utf-8; Accept:application/json;…
-
2
votes0
answers64
viewsQ: Json connection returning null and error-free in the json_errors variable
Code being used in a php in the /root folder: <?php $jsoncontent = file_get_contents('https://xx.xxx.xx.xxx/v1/API_operation'); $jsoncontent = utf8_encode($jsoncontent); $data =…
-
3
votes2
answers1736
viewsQ: How to separate array in odd/even and calculate multiple number?
I’m making a script to separate odd number and even number of an array inserted via form option, and make specific calculation on them (to separate odd number from pair array I’m using explode and…
-
0
votes1
answer80
viewsQ: File exchange . phtml on option change (Admin Magento)
I have a module that I am doing and I have a doubt, follows: My custom_module.xml is like that: <layout version="0.1.0"> <default> <reference name="root"> <block…
-
1
votes1
answer128
viewsQ: How to load a variable inside the message via custom module?
I am making a module for displaying the quantity of stock on the product page only if the quantity is less than that defined in the options. beauty, but my question is: O estoque está com menos que…
magentoasked Matheus Silva Itep 231 -
1
votes1
answer42
viewsA: Error Invalid method::addStorageType(Array ? <block> (Magento)
I decided.... the name "messages" is reserved from core.... changed in the XML call of layout folder "name"
magentoanswered Matheus Silva Itep 231 -
2
votes1
answer42
viewsQ: Error Invalid method::addStorageType(Array ? <block> (Magento)
I’m developing a module and when I make the call on the tag <block> within the config.xmlwhen accessing the page in the affected store that will receive the new custom block appears to me this…
magentoasked Matheus Silva Itep 231 -
0
votes1
answer101
viewsA: How to load value from the TEXT field of the module typed in the admin to the frontend?
The answer was simple, here it is, I was able to correct my doubt. Mage::getStoreConfig('primeiraopçaonosystemXML/segunda/terceira....') This causes you to take the result of the value of your…
magentoanswered Matheus Silva Itep 231 -
0
votes1
answer101
viewsQ: How to load value from the TEXT field of the module typed in the admin to the frontend?
I have a custom module with a field: "Enter your custom message".I want to load this field into a block on the product page where it says "In Stock" (or In Stock, in Portuguese). So far so good, I…
magentoasked Matheus Silva Itep 231 -
0
votes1
answer27
viewsA: How to automatically load options defined in system.xml when the theme is changed in the admin panel?
I already took care.... in case the problem is that the custom module works for an X theme, beauty, to work on another theme it is necessary to recreate the configs and subfolders within the other…
magentoanswered Matheus Silva Itep 231 -
1
votes1
answer403
viewsA: HTTP loading error while uploading to product fiche
This error is usually caused due to apache protection in htaccess / .htpasswd. You need to disable apache protection. htpasswd simply commenting on the lines with #. After the upload (usually image…
magentoanswered Matheus Silva Itep 231 -
0
votes1
answer27
viewsQ: How to automatically load options defined in system.xml when the theme is changed in the admin panel?
I want my module to be well positioned in 2 themes: RWD and Default. How do I define it in system.xml of the same? In the case of RWD package the options are already working and all, but when the…
magentoasked Matheus Silva Itep 231