Mage_Checkout_Model_Mysql4_Setup' not found on magento - php

Fatal error: Class 'Mage_Checkout_Model_Mysql4_Setup' not found in /home/xxxxx/public_html/xxxxxx/includes/src/Mage_Core_Model_Resource_Setup.php on line 132
This is my magento site error when i am open front end and also backend. how did i am slove this error plz tel me any one
thanksenter code here

It looks like you are running Magento in 'compiled modus', but something went wrong. Have a look at /home/xxxxx/public_html/xxxxxx/includes/config.php. There are two define() statements in there. Comment them out and try again.

Related

PHP call-time pass-by-reference

It seems that the error I' posting about is quite common indeed, but as I know very little of php, I need to ask you shed further light on the following problem.
On my website, after a Wordpress update, the following error is displayed:
Fatal error: Call-time pass-by-reference has been removed in [...website...] on line 4.
Actually, the file the error refers t has the following code:
if (!empty($catid)) {
$Anno=0;
$Mese=0;
Pasw13_MeseAnnoCorrenti(&$Anno,&$Mese);
$ArchiviMesiAnno=Pasw13_ElencoAnniMesi("mesi",$catid,$Anno);
$ArchiviAnni=Pasw13_ElencoAnniMesi("anni",$catid,$Anno);
if (!empty($ArchiviMesiAnno) Or !empty($ArchiviAnni)){
As I've said, the error is on line 4, but I can't solve it out.
Thanks in advance for your help
Regards
kowalski215
This error happens because of &$in function call which is deprecated, remove & and your code should work.
Meaning that you should change:
Pasw13_MeseAnnoCorrenti(&$Anno,&$Mese);
to
Pasw13_MeseAnnoCorrenti($Anno,$Mese);
More information about error happening with wordpress can be found here - link

blank page in wp-admin

I am getting the following error when I want to access the wp-admin sites of my wordpress installation:
Fatal error: Cannot redeclare send_confirmation_on_profile_email() (previously declared in /wp-includes/user.php:2624) in /wp-admin/includes/ms.php on line 423
I looked around but couldn't find any help yet. Maybe someone of you knows how to fix this error.
Thanks.
It seems send_confirmation_on_profile_email() function is used more than once. So what you need, is to find that function and rename it to its relevant name but make sure it does not match with the send_confirmation_on_profile_email

Fatal error: Call to undefined method Exception::getClass() in /home/tree21/public_html/system/engine/front.php on line 65

Fatal error: Call to undefined method Exception::getClass()
Simply! You are calling a function which is not available
I assume it's OpenCart error. It might be seen after new extension is added or after OC version update as they recently changed some file paths.
The URL probably looks like:
http://example.com/index.php?route=exampleA/exampleB/exampleC
You need to correct the route. Start adding extension in front. It works in some cases.
The updated URL would be:
http://example.com/index.php?route=extension/exampleA/exampleB/exampleC
If that works fine, you need to correct path in your extension source. If not keep searching in documentation.
If you work with cart.php it was moved from system/library/cart.php to system/library/cart/cart.php together with some other files. Good luck and try to give us more details in the future.

Magento - screen goes blank after saving products

When I am saving simple products from the magento backend, the screen goes blank.
The error I am getting is
Fatal error: Call to a member function getStores() on a non-object in /home/public_html/app/code/core/Mage/Catalog/Model/Url.php on line 155
Any help would be much appreciated.
Thanks
Your Mage::getResourceModel('catalog/url') returns a non-object - check whether it is missing or rewritten by any 3-rd party module.
Latter can be done by searching the *.php files in the directory for this string: "extends Mage_Catalog_Model_Resource_Url"

Moodle 2.4.2 Coding Error detected when using Course Bulk upload

I tried course bulk upload plugin for creating courses using CSV in moodle 2.4.2.
But the course created shows error in debugging mode. Is there any solution for this issue.
Coding error detected, it must be fixed by a programmer:
Invalid string compontent. Please check your string definition More information
about this error
Debug info:
Error code:
codingerror Stack trace:
•line 11176 of \lib\moodlelib.php: coding_exception thrown
•line 812 of \lib\outputrequirementslib.php: call to lang_string->__construct()
•line 848 of \lib\outputrequirementslib.php: call to page_requirements_manager->string_for_js()
•line 4575 of \course\lib.php: call to page_requirements_manager->strings_for_js()
•line 282 of \course\view.php: call to include_course_ajax()
Thanks in Advance
Vinoth
The Error may be due to the theme section i used. I tried to use the different form of CSV only with Category, shortname, desscription, format etc. And now the courses are created successfully with no error.
It solved my problem.
Thanks
Vinoth

Categories