If you use anything like APC / Redis of other sorts of cache be sure to really empty it correctly. this is most of the times the issue on this kinds of errors. You can empty it by download the apc.php you can download it from the packages here http://pecl.php.net/package/APC
Let me know if thats solves it.
Most probably, you are using a module called "Tm_Googlemap
" that has an admin configuration area. When a module uses the admin configuration and role system, it must have a Helper-class defined for translations. I guess you can find the module in app/code/(local|community)/Tm/Googlemap/
, and it will have a system.xml
and adminhtml.xml
in its etc/
-directory.
There you will find a node like:
<tm_googlemap_options module="Tm_Googlemap">[...]
Then, go into the module's config.xml
file. Either there is already a node global/helper
, or you must create a new one:
[...]
<helpers>
<Tm_Googlemap> <!-- make sure you use the string from modules="..." -->
<class>Tm_Googlemap_Helper</class>
</Tm_Googlemap>
</helpers>
[...]
After this, check the module directory again. If there ist no folder Helper/
with a file called Data.php
, create it. Then, insert these contents:
<?php
class Tm_Googlemap_Helper_Data extends Mage_Core_Helper_Abstract {}
Flush cache, logout and login from the admin panel - it should work then! Make sure to uncomment the line you commented, changes in the /core/
-directory are no-go im Magento.
Best Answer
The line in question is this:
But if you upgraded the code correctly this error should not appear.
As you can see here the constant
TYPE_TEXT
is defined.The constant was added in 1.6 and did not exist in 1.5.
My hunch is that you did not upgrade the
lib/Varien
folder, or you have a copy of the old classVarien_Db_Ddl_Table
in yourlocal
code pool folder.