Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [phpstorm]

JetBrains PhpStorm is a commercial IDE for PHP built on JetBrains' IntelliJ IDEA. PhpStorm provides an intelligent editor for PHP, HTML, CSS and JavaScript with refactoring and on-the-fly code analysis.

3
votes
2answers
183 views

Fatal error: Class 'Codeception\Platform\Extension' not found. Issue occurred after magento 2.3.0 upgrade to 2.3.1

Preconditions (*) 1.Magento 2.3.1 upgraded from Magento 2.3.0 Php 7.2.15 OS : Ubuntu 18.04 Bionic Phpstorm 2019.1.1 Evnironemnt : Magento development Steps to reproduce (*) Issue appears after ...
2
votes
1answer
83 views

How to setup permissions for Bitnami Virtual Machine and PhpStorm?

I downloaded Bitnami's Magento VM (OVA, using it in vmware on windows). It is a Debian 9 (Debian GNU/Linux 9.8 (stretch)) with Apache/2.4.39 (Unix), PHP 7.1.27. By default, it is configured to serve ...
2
votes
1answer
33 views

Magento2 Development - System Requirements

Hi Magento2 Developers, In your experience, what are the system requirements (cpu, ram, etc...) for a fully featured development machine and what softwares are you using? "fully featured" meaning: ...
1
vote
0answers
34 views

PHPDoc hints for magic methods

I have grown accustomed to the better PHPDoc coverage of Magento 2, so now it bothers me when the magic getters and setters are highlighted in red in my PhpStorm project files. In classes that I ...
0
votes
0answers
10 views

Magento 2 + PhpStorm 2017.2.3 InstallData.php file icon is displaying as a notepad icon instead of the blue icon

You can see the image below. Only when I create InstallData.php file, it becomes like that. Please anyone knows why this happens? Thanks in advance. This Only occurs on InstallData.php files: This ...
2
votes
0answers
36 views

How do i debug full project in phpstorm via xdebug - magento 2

I have setup magento localhost phpstorm project with xdebug how to i debug full project procedure
2
votes
1answer
47 views

Is there a good way to ignore comment-only changes in Magento version upgrades?

Since Magento changes the year in the comments of ever single file, does anyone have a recommended or battle-tested way to properly audit the actual changes for each version? Ideally a solution using ...
3
votes
1answer
145 views

Xdebug PhpStorm: Explain about the step into and step out

I want to understand about what is step into and step out in xdebug phpstorm, and what is the difference between them, and what should i use most in debugging with xdebug phpstorm.
3
votes
1answer
185 views

default.xml showing error “Cannot resolve symbol 'string'” in PHP Storm IDE

default.xml showing error "Cannot resolve symbol 'string'" in PHP Storm IDE, but it's not effecting anything. Is this ok? Or is there something wrong?
2
votes
2answers
320 views

Magento 2 UI component- Element argument is not allowed here

After upgrade to Magento 2, in IDE PhpStorm, the UI component file show a lot of errors , like Element argument is not allowed here, Element xxx is not allowed here etc. But, the UI component file is ...
1
vote
0answers
54 views

Store Landing Page [closed]

I have 3 stores under a website. I want to create a website Landing page that allow to choose the store website. When any user land on the website by default it should display on the Store View ...
9
votes
3answers
4k views

What are the top useful Phpstorm plugins for Magento 2 development?

What are the list of useful magento2 development tools? What are the top phpstorm useful plugins for magento2 development?
1
vote
0answers
521 views

Can not debug magento 2 use phpstorm with xdebug

When I try to debug magento2 by phpstorm and xdebug I got this error: /opt/lampp/bin/php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 ...
2
votes
2answers
923 views

Which Magento 2 directories can I exclude in PhpStorm?

I'm looking to try and speed up the indexing process in PhpStorm, so I'm looking to find out what directories can I safely ignore without compromising the code completion and hinting. The only source ...
0
votes
1answer
2k views

Magento 1.9 REST API Callback

so I just set up my M1.9 store, and want to set up a REST API. I wanted to test it out by retrieving a list of products. I only don't know what to put in the callbackurl field, online they say the ...
1
vote
1answer
437 views

If it is possible to debug PHP of the admin side in Magento2?

General question Just interesting, if it is possible to debug the admin side in Manento2. If it is, wold be glad to saw some hints. Debug process now For now I'm using PhpStorm with XDebug. If I ...
0
votes
1answer
126 views

Magicento 2.9 in PHPStorm 2016.1.2 causes an error (Ubuntu 14.04)

Magicento causes a lot of erorrs like below. Errors went one by one with the same text. java.lang.ClassNotFoundException: com.magicento.models.xml.config.AdminRoutersIdArgsModulesXmlTag ...
1
vote
1answer
111 views

How to program with the Object manager through PHPStorm Magento 2 [closed]

I'm fairly new to the programming part of Magento 2, I've been using rest calls with PHP, but I want to change method as I'm opening up a second shop. Now I would like to know if it is possible to ...
6
votes
1answer
3k views

Magento 2 - How to configure Grunt in PhpStorm

I'm trying to configure Grunt in PhpStorm. I have set for Grunt: Node interpreter: /usr/bin/node (exists) Package grunt-cli: [path to Magento 2 dir] I get the error bellow when I 'Reload tasks' in ...
1
vote
1answer
627 views

Can't trace code in PHPStorm

I'm going to start by apologizing because I'm a little fuzzy on the terminology here. I'm evaluating PHPStorm for use at work. Normally I use Eclipse because it's free and it works well most of the ...
4
votes
2answers
269 views

Magento2 + PhpStorm + LESS Variables

I'm just started playing with magento2 frontend dev tools so I'm wondering if there is some configuration we can make in order to help PhpStorm to resolve the less variables like colours, sizes etc. ...
4
votes
1answer
592 views

Magento 2: Is it possible autoload Factories into PhpStorm?

I have loaded Magento 2 files and XML validation into PHPStorm which is very convenient. Is it also possible to do this (automatically) with factory classes and maybee other generated files? Since ...
3
votes
2answers
1k views

What are the Magento2 code formating settings for PHPStorm?

When editing Magento2 .phtml files, it would be nice to use the code formating function of PhpStorm, but without changing the original layout (just format added stuff). So did anybody already set up ...
4
votes
2answers
202 views

Workflow for development using IDE and SVN

Before I ask this I realize the answer is going to be different for everyone, but I think that the majority of magento pro's will have some amount of common ground on this. What is the ideal workflow ...
2
votes
2answers
2k views

Magicento not working fine in PHPStorm IDE

I recently installed PHPStorm and Magicento plugin to develop new magento extension but it doesn't works fine for me when i press ( alt + M ) it say that Magicento is disabled, when i check it in the ...
2
votes
1answer
1k views

How to debug php code in remote server with phpstorm [closed]

I come from the .net world, where F5 on visual studio just triggers debug and hits the breakpoints easily. I dont have a local dev server, but I do have a remote dev server and I already setup the ...
5
votes
2answers
3k views

Making PHPStorm recognize magic getter

I got accustomed to using PHPStorm's validation feature, the yellow flags on right of editor showing whenever a method could not be found. I found that it doesn't recognize magic getter methods, for ...
0
votes
1answer
416 views

image is not displaying in mail

I have created the custom module, in this I have send an email with product information with product image. working fine but Image is not displaying, only url is displaying in mail. my code is: ...
1
vote
1answer
3k views

admin customer Edit form is not getting record id in magento

I am new to magento, I have created custom module front and backend(admin) module, working fine except edit. in grid bind the data correctly with id http://localhost/magento/index.php/test/...
0
votes
1answer
2k views

Default form action isn't working in magento

I am new to magento, I created the button in magento\app\design\frontend\base\default\template\catalog\product\list.phtml for sending emails for quote information. It's showing the button and When ...
-1
votes
1answer
5k views

Fatal error: Call to undefined method Mage_Checkout_QuoteController::_getSession() in Magento

I'm new to magento, and My intention is create Request for Quote like this link.So for this I have created the custom module for Request the Quote. In this I have add the Add quote buttons in \app\...
2
votes
1answer
4k views

send an email based on smtp.gmail.com from magento

I don't have any mail servers. So how to configure the mail settings(settings->configuration->advanced->system->Mail sending settings) in magento admin panel using smtp.gmail.com and ...
1
vote
1answer
1k views

how to Send an EMail with attachement in custom module

I'm new to magento I created custom module for customer quote request, In that after filling quote request we need to send an email. So that I wrote fallowing code. I add the Add Quote button in ...
1
vote
1answer
3k views

Call to a member function getProductId() on a non-object?

I have created custom module, In that I have just override the Mage_Catalog_Block_Product class to get the getPrice(). But it's returning an error Call to a member function getProductId() on a non-...
0
votes
1answer
1k views

Invalid api path?

I have created v1 & v2 API successfully and invoking the all methods to fallow the Marius & Sylvain instructions. v1 & v2 all methods are successfully running except v1: update method. ...
1
vote
0answers
744 views

my custom api returning inserted record_id but data is inserting null? [closed]

I have created the custom magento SOAP/XML-RPC API successfully to fallow the Marius and Sylvain instructions. And my php file invoking the those two methods which is create and info. my v1 code is: ...
0
votes
2answers
4k views

I can't access my custom magento API?

I am new to magento. I have created the custom Magento Api to follow the Marius instructions. my code is: app/code/local/Course/Mca/etc/api.xml - the api declaration file. <?xml version="1.0"?&...
3
votes
1answer
2k views

Set debugging phpStorm for magento application?

I'm new to Magento. I'm used to working in dot net, where you can place the debugger where you need, so that you can identify bugs and other issues. So, now I am learning Magento with phpStorm. ...