Questions tagged [debug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
672 views

No error logs created in var/report

I recently bought a magento site from someone. I am now trying to move it to my own host, but the only thing I get is an error message. Trying to debug it, I googled around and I've seen the error ...
1
vote
1answer
303 views

Magento consuming a lot of memory on specific store view

I have a Magento store, with two store views, one for spanish language, and another one for english, so, I have this code: //setting spanish store view Mage::app()->getStore()->setId(8); $...
1
vote
1answer
503 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
0answers
20 views

Profiling of popup. Is it possible?

I'm going to run profiler for one page in admin area. It opened in popup. I enabled profiler in system / configuration, uncommented Varien_Profiler::enable(); in index.php Profiler started working, ...
5
votes
3answers
4k views

How to use zend_debug:dump in Magento2

Do we need to include the class in the constructor? In Magento 1, we simply use zend_debug::dump()->debug to debug object, how about for Magento 2?
1
vote
2answers
997 views

Store Debug Information error

I have been getting this Error via e-mail with the subject "Store Debug Information", And I can't figure out whats causing it. I know it has something to do with Captcha! How do you read this error?...
1
vote
1answer
399 views

Tracking down DEBUG logged entries

We've recently inherited a mess of a Magento store with a new client that has come to us and there are thousands of DEBUG entries being written to log every minute. They don't give a lot to go on ...
11
votes
2answers
9k views

How to debug Magento 2 code when using command lines?

Running a script in command line is something we frequently do in Magento 2. For example, when creating new module, we must run setup:upgrade command. We cannot see all the information we need to know....
2
votes
1answer
78 views

How to enable log in Magento 2.0.2

I can't find any settings in developer tab from backend about log in version 2.0.2 Someone can told me where to find it
2
votes
2answers
372 views

Profiling magento (category manager) using xdebug profiler

I am looking at reported speed issue in admin category manager, where some categories can take up to 2 minutes of load time after the tree view was clicked. There are now errors anywhere, simply just (...
1
vote
1answer
90 views

module still works and making troubles after disabling it

I have disabled the module Inchoo_Notes in the app/etc/modules: <?xml version="1.0"?> <config> <modules> <Inchoo_Notes> <active>false</active&...
0
votes
1answer
1k views

XML Error debug [duplicate]

I need to debug the following error but I don't know how. They seems XML related. Is there a way to know where to search? > 2015-11-19T21:58:55+00:00 ERR (3): Warning: simplexml_load_string(): >...
3
votes
1answer
687 views

How to var_dump data in the file controller and Model

How do I var_dump data in the file controller and Model? I tried: var_dump and die and view source ... but it's not displayed
1
vote
1answer
232 views

system.log shows two lines DEBUG (7): 4 and DEBUG (7): 6 when home page is loaded

I cant for the life of me figure this out. these two lines get added to var/log/system.log 2015-09-23T07:32:09+00:00 DEBUG (7): 4 2015-09-23T07:32:09+00:00 DEBUG (7): 6 every time home page is ...
2
votes
1answer
507 views

Cannot redeclare class Mage_Core_Model_Factory in includes/src/__cms.php

I am facing error Fatal error: Cannot redeclare class Mage_Core_Model_Factory in includes/src/__cms.php when I am enabling the compilation. Also Compiled Scope Count is showing 10 on live, whereas ...
3
votes
2answers
1k views

Magento module Invalid block type

I created a module where I try to create a new Magento Category Layer Filter. I'm working in the "code/local" area because I overrided some core files. Everything was ok until I tryed to add a new ...
2
votes
1answer
480 views

Magento doesn't show my category listing on the new server

After moving magento to a other host everything seems to work except on homepage. Only the top is being loaded untill the call for some category listing. See the code below. Something doesn't work on ...
2
votes
1answer
43 views

Enabling debug toolbar and toggle status caused HTTP error

I had enabled a Debug Toolbar. Got a menu on the right side, where you could toggle the status of modules installed. Now I just wanted to see what it would show, and clicked the first one, I think it ...
2
votes
1answer
2k views

Quote with no items - add to cart error

I'm facing this strange issue on add to cart action: sometime after I checkout (with a registered customer) correctly my order, if I try to purchase another item I got the following error: Call to a ...
1
vote
1answer
870 views

debugging: renderCategoriesMenuHtml returning empty

We have a strange error. When an extension is installed (adds href-lang to head) then menu header is empty (no menu aruments). Extension on: renderCategoriesMenuHtml returns "" Extension off: ...
2
votes
2answers
2k views

DEBUG (7): cpid: in system.log

My system.log generates 6 Million lines in 2 weeks with only the date and this error: DEBUG (7): cpid: Why?How can I solve this problem? Thanks
3
votes
3answers
647 views

Is It Possible to Print the Current Collection's ORDER BY information?

I've created a custom sort module that I'm attempting to debug. I'm curious if it is possible to display this information somewhere in my catalog pages (e.g. app/code/design/package/theme/template/...
1
vote
2answers
360 views

How do I log calling function or class? Warning: include(): Filename cannot be empty

we see Warning: include(): Filename cannot be empty in our logs and there is hardly a trace (other then "app/code/core/Mage/Core/Block/Template.php on line 24") ... ERR (3): Warning: include(...
5
votes
3answers
4k views

How can I debug “empty template”: Filename cannot be empty in Template.php

we are suddenly seeing an empty template issue in our logs. And I am finding it difficult to debug which module/function is causing this. Question: with what debug statement could I capture the ...
2
votes
3answers
260 views

Is there an extension to log messages in db and then browse them in backend?

I'm dealing with a development task that needs the client to be able to read log messages. The client has no access to filesystem, so common log files are not usable. I was thinking about logging ...
2
votes
1answer
1k views

System.log multiple xml debug code

I was looking for errors inside system.log file and I have seen thhis list of error that obviously is pretty useless since I don't understand where I have to look for inside the thousands files I have ...
0
votes
1answer
2k views

Magento PayPal Post Back Bug

Maybe anyone can help solve this issue. Everything worked fine ages, and yesterday, PayPal post back failed. It stopped updating any statuses. Log is showing [postback_to] => https://www.paypal....
3
votes
1answer
2k views

Setting up USPS API - Not showing up

Running Magento ver. 1.7.0.2 I've got USPS API setup as i'd like, however it does not show up. When I say to show up no matter what, it gives me this front end error: This shipping method is ...
0
votes
1answer
77 views

Parts of the shop not working anymore after going live

I wanted to put my shop live on wednesday last week. Due to problems from my hoster, this was not possible, so it went live on thursday instead. When it was live, I encountered a problem with the ...
0
votes
2answers
174 views

error report message explained

When getting an error page, there is always a line at the beginning of the file, that states where the error happened, for example: a:5:{i:0;s:172:"Cannot send headers; headers already sent in path/...
1
vote
1answer
57 views

Getting lots of Error Debug Information emails

I'm getting a lot of emails from Magento with content that looks like this: URL: http://www.mydomain.com/my-product-slug/reviews/+Result:+chosen+nickname+%22egegsduy01%22;+success+%28from+first+page%...
3
votes
6answers
11k views

what is the difference between use of var_dump() and mage::log() to debug?

I mean when i can use var_dump() and mage::log(). I have some idea about log. if we enable log settings and for example if we use mage::log($obj).it will print $obj information in system.log file. ...
0
votes
1answer
125 views

debugging magento line by line for understanding magento

I am new to magento. How could i debug line by line like other programming languages dot net. I have tried with setting developer mode to true. but its shows only error. I want to see line by line ...
0
votes
1answer
148 views

Magento system log filling up with CSS and JS debug messages

My Magento log is filling up with inlcusions of JS and CSS files (400 mb in couple of days) - what can this be? I don't recall putting in any debug statements ... Quite annoying Where to start ...
8
votes
2answers
4k views

How to debug an email template?

I am working on modifying email templates. {themeName}/template/email/order/items/order/default.phtml The above template triggers when the user (guest or customer) has placed the order. In the above ...
2
votes
1answer
230 views

Debug only specific query in magento

I want to log all the query that affect only specific table. For example catalog_product_flat_1. So if query makes update, delete or insert operation to this table it should be logged. It cаused by ...
0
votes
0answers
41 views

how to find what's the error [duplicate]

I m new to magento and php. while I m learning, try to write some code but unable to find where the error is. for example I m trying to build the grid in admin panel. I have followed the instructions ...
5
votes
3answers
3k views

How to debug: “HEADER ALREADY SENT” and GD2?

I have an annoying HEADER ALREADY SENT error in system.log. It is not easy to debug it, what I could do was to improve the logging to isolate the source of the issue (has described here): Cannot ...
1
vote
1answer
1k views

DEBUG notices in system.log

Unsure what triggers these in the system.log but it's writing hundreds of these to the log constantly. DEBUG (7): <?xml version="1.0"?><widgets></widgets> DEBUG (7): <?xml ...
0
votes
1answer
963 views

Debugging Authorize.net Errors

I've got two or so orders that were authorized in authorize.net, but didn't register as orders in Magento. Any one have any ideas about debugging this particular kind of issue? Payment bridge is ...
1
vote
2answers
898 views

CMS Image preview not working an internal demo site

I have a local demo website which is protected by a .htaccess to showcase to the customer. Anyways, in this installation the image preview in the CMS WYSIWYG editor is not working. In the system.log ...
2
votes
2answers
529 views

How to enable database logging without modifying the core?

I am afraid that this might be a rhetorical question, but: Is there any other and cleaner way to enable DB logging then modifying the file Varien/Db/Adapter/Pdo/Mysql.php and set $_debug and $...
81
votes
4answers
27k views

Fundamentals for debugging a Magento store

How can I debug my Magento store This is a question that isn't all too relevant to us now, but had a Magento SE site existed 5 years ago, it probably would have been our first question. For those ...
2
votes
2answers
565 views

Seemingly Random Wrong Store View in Email

In a client's website, the sales emails is seemingly randomly (so far we've notice it for the order_new and the shipment_new) sent in another language that the language set for the store view the ...
18
votes
7answers
467 views

Using debug extensions / developer mode enough protection

There are some nice extensions for Magento developers that you usually do not want to have on a live system. How can you keep them in the project repository but avoid them to be exposed on a live ...

1
2