Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 34929

This tag is used for questions that involve PHP code in any way. So as soon there is a PHP Exception returned or error report generated, this question qualifies to be tagged with PHP.

3 votes
2 answers
7k views

How to generate Password Reset Token in Magento 2

I want to generate password reset token in Magento 2. In magento 1, I was generating token by using below code - $oldtoken = $cust->getRpToken(); $newResetPasswordLinkToken = Mage::helper('customer …
Rahul's user avatar
  • 199
0 votes
1 answer
457 views

Magento Product Images upload not working in my code

php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); set_time_limit(0); require_once 'app/Mage.php'; Mage::app(); //Mage::app()-> …
Rahul's user avatar
  • 199
0 votes
0 answers
312 views

How to push Magento 2 module from Composer to Github

I am working on payment gateway module Cybersource. Our code on Github and we are using Amazon Web Services. We have installed module using composer and it's working correctly but we need to add th …
Rahul's user avatar
  • 199
1 vote
1 answer
206 views

How to create Magento Order programatically in Amazon M2epro [closed]

\Model\Amazon\Order'); $order = $amazonobj->load($id); print_r($order->getData()); $order->createMagentoOrder(); // Not Working Anyone please explain how to call controller function from external php
Rahul's user avatar
  • 199
1 vote
1 answer
8k views

Redirect in Magento 2 from PHTML file

I want to redirect the user to specific page in Magento 2 from PHTML file. In Magento 1 we use following method to redirect Mage::app()->getFrontController()->getResponse()->setRedirect(Mage::getBa …
Rahul's user avatar
  • 199