Magento Fatal error: Class 'Mage_Catalog_Model_Resource_Setup' - magento

I have a problem.:
Fatal error: Class ‘Mage_Catalog_Model_Resource_Setup’ not found in /home/growth14/public_html/magento/app/code/core/Mage/XmlConnect/Model/Resource/Setup.php on line 35
I’ve checked the SVN & have uploaded both versions of the “Setup.php” in question:
http://svn.magentocommerce.com/source/branches/1.7/app/code/core/Mage/XmlConnect/Model/Resource/Setup.php
http://svn.magentocommerce.com/source/branches/1.7-trunk/app/code/core/Mage/XmlConnect/Model/Resource/Setup.php
However, there’s been no change. Please help.

It says that your class in app/code/core/Mage/Catalog/Model/Resource/Setup.php is missing, or has the wrong class name in it.
Please check if the following file is available, or if any overrides have been made:
http://svn.magentocommerce.com/source/branches/1.7/app/code/core/Mage/Catalog/Model/Resource/Setup.php
The files you have checked are the files from which the missing class have been called.

Related

Error: package or namespace load failed for ‘xgboost’

I keep getting this error even though I've already installed the xgboost package. I tried the following code and it keep saying the same when I run library(xgboost). Anyone has any idea?
I've already tried this code and it keep saying the same thing:
remove.packages("xgboost")
install.packages('xgboost', dependencies = TRUE)
Thanks in advance!

Why does Phalcon 2 raise "undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0" warning?

When I installed Phalcon 2.0.13 according to the https://docs.phalconphp.com/en/latest/reference/install.html description and I wanted to launch my test script then I got the following error (literally it is just a warning but it causes Phalcon not to be loaded which causes errors):
{
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/phalcon.so' - /usr/lib/php/20131226/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
}
What is this symptom cased by and how could I get rid of it?
After struggling a lot, I managed to solve the problem. The {extension=phalcon.so} line should be put NOT in php.ini. Much rather, you should create a /etc/php/5.6/cli/conf.d/30-phalcon.ini file containing {extension=phalcon.so}.
The reason is that this way you can guarantee that the processing order of the ini files is appropriate.
If you want to use Phantom not just in cli but in apache module as well then copy the ini file in the corresponding directory too.
(The directory names can be different in your system.)

Magento2 - Setup Compile Error - Class Not_Existing_Class does not exist

I installed magento 2 Community version successfully. Now when i try to upgrade the setup i get the error Please re-run Magento compile command.
So i ran the compile command
magento setup:di:compile
but i am getting this error
Area configuration aggregation... 5/7 [====================>-------] 71% 35 min
s 736.2 MiB
[ReflectionException]
Class Not_Existing_Class does not exist
[ReflectionException]
Class Not_Existing_Class does not exist
Any ideas as to how this can be resolved ?!
Thanks in advance.
As a temporary fix, i was able to resolve this problem by commenting following line:
\Not_Existing_Class $notExistingClass
in << Magento2 Root Folder >>\vendor\magento\framework\Code\Test\Unit\Generator\TestAsset\TestGenerationClass.php
I have also reported the issue on GitHub here and awaiting the community's response: https://github.com/magento/magento2/issues/2404

Magento 1.11 Fatal Error: Class 'Namespace_Module_Helper_Data' not found in Mage.php

I have created a module, it is throwing fatal error on admin
Fatal Error: Class 'Namespace_Module_Helper_Data' not found in Mage.php
However, this helper class exists in module. This module works fine with Magento 1.10.
I am not able to figure out the problem. Any guesses??
Please check if compilation is enabled from admin > system > Tools > compilation. If you have added extension without disabling the compilation it may cause this problem.
Clear cache & rerun the compilation process again. Hope this may solve your problem.

Magento error after moving website to another server

I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)

Resources