Questions tagged [error]

Questions about PHP error messages and error logs

Filter by
Sorted by
Tagged with
1
vote
1answer
754 views

Sorting custom model with getModel

I've managed to get custom models to load before with the following code: $model = Mage::getModel("banner/banner") ->getCollection() ->load(); But I need to now sort by an order value ...
1
vote
1answer
2k views

Parsing error line 39 cron.php while running from command line

I have set a cron job using cpanel but I have found one issue. My another cron is running as expected and it is firing a testing mail every 5 minutes. I have latest version of magento 1.7.0.2 and I ...
0
votes
1answer
971 views

Target element not found for content update

When I select an image to a CMS page it gives get the following error: Target element not found for content update I have tried several options, contacted the host, updated max_input_vars = 4000 ...
2
votes
2answers
15k views

I cannot access my Magento website and even the admin section

I was trying to install, in Magento connect, a extension called Multisite Integration for WordPress from FISHPIG. Then I click refresh. Then it send me this message: Module "...
6
votes
7answers
13k views

error : cache_dir must be a directory?

I am working with Magento 1.7 and suddenly I have this error when I go to cache management: cache_dir must be a directory I tried this solution to change this file lib/Zend/Cache/Backend/File.php ...
4
votes
4answers
17k views

Fatal error: Call to a member function toOptionArray() on a non-object

I have added a menu option in the system | configuration panel but when I click on the link I get the below error Fatal error: Call to a member function toOptionArray() on a non-object in /Users/...
0
votes
3answers
2k views

All categories are disappeared in my menu?

Now I have a very big problem. All categories disappeared from my menu. All categories are active. I tried to refresh the cache and reindex all index but it didn't work. Any idea for my problem ?
4
votes
3answers
7k views

Error in Prototype.js

I'm using the HelloResponsive EE theme on a Magento 1.13 EE deployment. In setting up an extention for the eWAY gateway, I was told there was an error in the Prototype.js file that was interfering ...
1
vote
2answers
2k views

Exception Error in my Magento home page: client denied by server configuration

I am getting an error message when I am hitting my Magento home page URL. The error message is: There has been an error processing your request Exception printing is disabled by default for ...
6
votes
2answers
7k views

Restrict system.log logging to particular error level?

By default Magento logs notices, warnings and errors into the system.log file. Is it possible to restrict the log level so that Magento doesn't log PHP notices? Magento's Mage::log() method offers ...
6
votes
5answers
10k views

Notice: Trying to get property of non-object

Huge error as soon as I try to view any page on my magento site now displays: Notice: Trying to get property of non-object in /httpdocs/app/code/core/Mage/Core/Model/Config.php on line 1227 app/...
0
votes
3answers
14k views

Can't install Magento

I'm a beginner in Magento. Have tried to install it. At first, make a Database "magentotest" with username-> "root" and no password. The problem I got is when I press continue button it starts ...
2
votes
1answer
637 views

Missing argument and undefined variable 'text'

Unsure on how to debug this issue. Recently started getting hundreds of these in system.log. 2013-08-30T11:20:46+00:00 ERR (3): Warning: Missing argument 1 for Mage_Core_Block_Text::setText() in /...
0
votes
1answer
2k views

How to do a SYSTEM rollback manually

this morning I did a system backup (backend -> system -> tools -> backup) of my store because I wanted to try some extensions and now my site is ruined. I've stored the backup on local, so how can I ...
0
votes
2answers
689 views

Using Solr search with Magento EE 1.13

I'm using Solr with Enterprise Edition 1.13. When running a re-index on catalogsearch_fulltext from the command line about 15 minutes into the process the search on the site will start returning an ...
3
votes
3answers
7k views

Compiling Error: Enabled Compilation before Running a Compile

I went to System > Tools > Compilation and "enabled" before anything was actually compiled and my site returned this error: Fatal error: Class 'Mana_Filters_Resource_Setup' not found in /home/...
7
votes
5answers
18k views

Attempted Magento Backup - now throws 500 Internal server error page

I tried taking a backup of Magento by Admin->System->Tools and when I clicked on System Backup, the website showed me - Internal Server Error The server encountered an internal error or ...
4
votes
4answers
6k views

Uncaught Exception with no file or line number

we get an error message like this at the very bottom of our home page Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Mage_Core_Model_Config_Element' is not allowed' in [...
45
votes
2answers
21k views

What's the preferred way of throwing exceptions in Magento?

All of the following methods are used in Magento core so which one is the preferred (or the latest "best practice") way? Mage::throwException('Some Message') - 732 Usages throw new Exception('Some ...
7
votes
3answers
10k views

Notification, sudden error: Warning: include(): Filename cannot be empty

Since this evening we are seeing this error. First we see this in error log 2013-08-11T18:46:59+00:00 ERR (3): Warning: include(): Filename cannot be empty in app/code/core/Mage/Core/Block/...
1
vote
2answers
2k views

getting error “Table doesn't exist” in magento innodb database when browsing in phpmyadmin or sqlYog

I have moved magento database (copy and paste xampp/mysql directory) from another system to my laptop(windows7,xampp), and configure mysql service path(xampp control panel showing run mysql fine). But ...
3
votes
3answers
5k views

Set Error Message Once Per Page Request

I'm trying to create a minimum total checkout module that will prevent someone from checking out with a total less than a configurable amount. I'm using the event sales_quote_save_before to display ...
2
votes
1answer
1k views

How to customize the Error Report Page so it uses blocks

We have a custom error report page set up, the specs for the page was that it had to look like the site normally showing the top navigation and category list in the left sidebar, this was done in ...
2
votes
2answers
5k views

Error installing Magento: Error parsing body - doesn't seem to be a chunked message

I am trying to install Magento and I am getting this error: The URL "https://something.com/" is not accessible. Error parsing body - doesn't seem to be a chunked message Weird because I am on that ...
1
vote
1answer
457 views

Magento Cron Error

I am working on a custom Magento module and set up two Cron job for it. Every thing is working fine. I want to execute one process every hour for this i have used <cron_expr>0 * * * *</...
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
849 views

Problem with Magento 1.4.1.1 Mage.php

I am attempting to get the quantity of an item by inputting the sku. The following code works great on my WAMP local installation: require_once('app\Mage.php'); umask(0); Mage::app(); $sku='TEST1'; $...
2
votes
2answers
2k views

Empty needle warning in system.log

Been searching all over, does anyone have any tips on debugging this warning found in system.log? They appear to come in pairs ... 2013-07-18T06:40:01+00:00 ERR (3): Warning: strpos() [<a href='...
11
votes
1answer
11k views

Magento system.log 'Warning: SimpleXMLElement' - (adminNotification/Model/Feed.php)

Magento has me stumped again! Within /var/log/system.log I'm seeing the following warnings and I have been unable to track down the cause. Going by the timestamp, it appears as though they're all ...
6
votes
1answer
7k views

Call to a member function getBackend() on a non-object

Client is trying to setup promotions via the admin but when saving and applying the promotion the server logs the following error (admin return blank screen): PHP Fatal error: Call to a member ...
0
votes
2answers
63 views

Error in magento script file

I have used this file for an extension of mine to add a new table but it doesn't run and gives error. Here is the code for my script. $installer = $this; $installer->startSetup(); $installer-&...
0
votes
1answer
4k views

“Database connection error” when installing 1.7.0.2 on Ubuntu

I'm installing Magento version 1.7.0.2 on an Ubuntu VM, hosted in Azure - I'm getting "Database connection error" in the Magento Installation Wizard. I've installed PHP & MySQL as instructed here....
2
votes
1answer
3k views

Magento site shows error SQLSTATE[HY000]: General error: 5 Out of memory

One of our store show following error and stop working at all. SQLSTATE[HY000]: General error: 5 Out of memory and Mysql / Innodb Error InnoDB: ERROR: the age of the last checkpoint is 943460 [...
0
votes
1answer
5k views

Warning: include(Mage.php): failed to open stream

we're having a problem that an error message shows after enabling and disabled the Compiler in Magento (at least we think that's the reason). The error message reads as follows: Warning: include(...
2
votes
2answers
608 views

“There has been an error processing your request” - Errors displayed on frontend even though display_errors = 0

Magento is displaying the MySQL query and a stack trace on catalog pages. I can't figure out where it's coming from. DB queries should not be displaying on the frontend, for security reasons. Do you ...
1
vote
3answers
11k views

Why am I getting an “Invalid shipping method.” error?

When going through checkout, when I submit the shipping method step with either Free Shipping or Flat Rate Shipping selected I get an error message pop up stating "Invalid shipping method." This ...
0
votes
1answer
268 views

Magento GET Array Empty At Model

Where to begin? An AJAX call is made to the Index controller action like so: xmlhttp.open("GET",encodeURI(ctrlPath)+'?pId='+encodeURIComponent(pId)+'&pName='+encodeURIComponent(pName)+'&pUrl='...
19
votes
3answers
31k views

How to diagnose “Invalid block type ..” error?

Not sure how to figure out this error, I've been googling for a week and I can't seem to find a solution. Any ideas? 2013-06-10T04:04:28+00:00 ERR (3): exception 'Mage_Core_Exception' with message '...
3
votes
1answer
2k views

Magento Module Depends Throws Exception

I'm building an extension, following the official Magento developer's guide, here: http://info.magento.com/rs/magentocommerce/images/Magento-Extension-Developers-Guide-v1.0.pdf In the app/etc/modules/...
3
votes
2answers
5k views

Magento system.log is filling up with errors

I do not see any obvious signs on the front end of my store however when I enable the system.log and exception.log I'm seeing A LOT of entries. First, from the system log, I'm seeing the following ...
1
vote
1answer
2k views

Error page when placing order, otherwise order is normal

We have a magento 1.7 site that's been up for ~3 weeks now. It handles ~100 or so purchases a day using Authorize.net and PayPal Express. About 1 in 50 customers get an error page saying the order ...
2
votes
2answers
6k views

Uncaught Reference Form Is Not Defined

I have a form in my .phtml file with the following form tag: <form id="coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post"> and the javascript:...
2
votes
2answers
218 views

Invalid product ID throws PHP error in CMS

When specifying an incorrect product_id="" value (non existent product etc.) in a CMS page, it renders a PHP error on the page rather than any much less ugly alternatives. Is there a built in method ...
0
votes
1answer
972 views

I can't cancel orders. Integrity Constraint Violation [closed]

Whenever i try to delete an order, by entering the order and then clicking cancel, i get a "The order has not been cancelled" Message. I tried deleting the order from the list, and issuing an action ...
0
votes
3answers
223 views

Module is not disabling

I am working on a client project and set up a development copy of the live site, front is working fine but admin is broken because of the fishpig wordpress integration actually i dont to set wordpress ...
0
votes
1answer
3k views

Related Product gets not added to cart

I have a strange problem on my test system. I'm quite new to magento and think this problem might exist, because it is a test system. I have some products with related products. If I try to add a ...
2
votes
2answers
4k views

Error 500 & dbModel read resource does not implement Zend_Db_Adapter_Abstract

I am trying to move my website(-s) to a new server. On my old server, Magento and Database were on the same box. This Magento installation Serves two Stores. I bought two new servers one for the DB ...
1
vote
3answers
4k views

USPS - “Sorry, no quotes are available for this order at this time.”

I have been all over looking for a solution for this. Unfortunately, nothing I tried so far seems to work. I started receiving this error a while ago. When a customer tries to get a shipping quote in ...
10
votes
2answers
7k views

magento 1.7 : Cannot reindex product_flat_data

I get the following error while trying to reindex my magento database.. Product Flat Data index process unknown error: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint ...
2
votes
2answers
1k views

Copied to Local WAMP server, Exception: SQLSTATE[HY000] [1045] Access denied for user

So I had a website up at http://www.avantalarm.com/ and after many issues trying to add modules, I decided I'd export it to a local WAMP server to work on my development so I didn't break the site ...