Facing Fatal Error in magento - php

I am very new to magento, I am trying to install "Invoice PDF generator" extension. I installed it through the magento connect, after pressing install button I got message like "Clear cache successfully".
After this message I pressed refresh button and then return to admin link. But after clicking on that link I am facing fatal error like
Class 'EaDesign_PdfGenerator_Helper_Data not found in E:\wamp\www\leeveNew\app\Mage.php on line 547.
Can anybody please tell me if I done anything wrong and suggest any solution for it.
Note : My magento version is 1.9.0.1.

you need to disable extension from app/etc/modules/ then you need to remove var/cache folder then try in admin panel will work.

Related

Magento 2.4.4 sample data installation error

I have downloaded Magento version 2.4.4 with sample data from https://magento.com/tech-resources/download I was trying to install it on the Wamp server. But when I run the installation I get the error
Unable to apply data patch Magento\GroupedProductSampleData\Setup\Patch\Data\InstallGroupedProductSampleData for module Magento_GroupedProductSampleData. Original exce
ption message: Rolled back transaction has not been completed correctly.
I tried with versions 2.4.3 and 2.4.3-p2 all are showing the same error. But I was able to install the 2.4.3 version without sample data. I searched and found it is related to some error in the csv file. But none of the answers provided a solution. Please help.
Hi #Akhilesh in our case use magento 2.4.4 and this error was by a third module and when disable this, all magento run fine.
Your can edit vendor/magento/framework/DB/Adapter/Pdo/Mysql.php file, search rollback() method and in the "else" section add this line:
echo (new \Exception())->getTraceAsString();
This can help you to look where is the error, if is from a module or another.
Regards

Install Magento 1.9x with downloader.php

I wanted to install Magento 1.9x on my localhost (I am using XAMPP), but I get an alert with an undefined error. Here is what I did so far:
I went to https://magento.com/tech-resources/download and downloaded the archive with 1.9x which contains a file named downloader.php.
I copy it on the root of my local site aka magestore.com and then went to http://local.magestore.com/downloader.php.
The first steps were pretty smooth and everything was fine except the download step.
when I click continue I get an alert with an undefined error, like this:
If I choose the FTP method at Magento Connect Channel Protocol I get another alert saying Could not connect to connect20.magentocommerce.com. Try again (refresh page)
Help, please!

Getting Fatal Error after updating Foogallery plugin to version 1.4.31 - running on WordPress 4.9.8

I haven’t been updating my plugins for this site for a while: www.12thcaulfield.asn.au. I saw that the WP version had recently been auto updated to 4.9.8, and that it shows as having the most recent version.
So I decided to update all my plugins also. One of which is the foogallery plugin.
After the updates, I could no longer access the dashboard or any of the backend pages under wp-admin area. I was logged in at the time of the updates, but once I logged out, I can no longer log back in.
This is the error I got when I clicked on dashboard link while logged on (after updates).. and also now that I am logged out (not able to log back in):
Fatal error: Call to undefined function wp_generate_password() in /websites/12/12thcaulfield.asn.au/wp-content/plugins/foogallery/includes/extensions/class-extensions-api.php on line 74.
Here is the function inside of class-extensions-api.php that appears to be causing the error:
/**
* Get back the extension endpoint based on a setting
*/
public function get_extensions_endpoint() {
if ( 'on' === foogallery_get_setting( 'use_future_endpoint' ) ) {
$extension_url = FOOGALLERY_EXTENSIONS_FUTURE_ENDPOINT;
} else {
$extension_url = FOOGALLERY_EXTENSIONS_ENDPOINT;
}
//make sure we always get the latest version!
$extension_url .= '?v=' . wp_generate_password();
return apply_filters('foogallery_extension_api_endpoint', $extension_url );
}
Line 74 is where the fatal error is occuring.. which is this line in the above listed function:
$extension_url .= '?v=' . wp_generate_password();
I have gone into my files on the server, and just renamed the foogallery plugin as an experiment to see if I could allow myself to login. It worked, so now I can at least login to wp-admin, and access dashboard, etc. (Of course, none of my galleries are being displayed.. but I am hopeful they will once I solve the conflict problem).
I am hoping that once the coding error in the plugin is fixed, that I will just be able to rename the plugin, and all my previous albums and photo galleries will still be intact.
I am assuming that the newest version of the foogallery plugin isn’t compatible with the latest WP version?
Has anyone run into this same problem? Can someone give me some guidance on how to fix the plugin?
The net results I need is to have the foogallery plugin functional (allowing me to login to wp-admin), and for all the albums and galleries I previously created to still be there.
Thanks for any help.
Cheers,
SunnyOz
I had a look at the WP 4.9.8 codebase and wp_generate_password function definately exists.
I have also been running FooGallery on the latest WP version since it was released without any issues.
What other plugins do you have installed? Have you tried disabling all other plugins except FooGallery to see if the plugin starts working? Install the Health Check plugin to disable all plugins and use the default theme (but only for your user)

White Page error in magento not able to login

I am freshly installed the magento.. when i am trying to login to the admin it is showing the blank page.. my site url is:http://magento.dotmappers.in i am usin ver 1.8.0
It probably has something to do with cookies.
Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php and find following lines and comment out last three lines and try again:
$this->getCookie()->getLifetime(), 
$this->getCookie()->getPath() 
// $this->getCookie()->getDomain(), 
// $this->getCookie()->isSecure(), 
// $this->getCookie()->getHttponly()
I think you have not installed sample data, so pls install sample data from below link
[http://www.magentocommerce.com/knowledge-base/entry/installing-sample-data-archive-for-magento-ce][1]
your site is taking too long to load, there is some issue with the code.
The site can't call the file
`magento.dotmappers.in/js/prototype/prototype.js`
This file is not accessible in browser also, please check if it exits.
Have you installed magento sample data ?

Magento 1.3.3 error at showing checkout shoppin cart

As soon as I try to add a product to the shopping cart in Magento, it spits this PHP error:
Fatal error: Call to undefined method Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection::addTierPriceData()
I don't know what is it about; I've tried the Magento forum and I haven't yet found out a solution to this.
I installed magento through SimpleScripts.com, in a hostmonster.com account. My store is still waiting to launch due to this strange error(www.caninarua.com/shop). I really don't know what to do now...please help.
Thanks.
There's nothing in the default v1.3.2.4 Magento codebase that calls addTierPriceData() on that class. It does, however, exist in v1.4.2 and is called by Mage_Bundle_Model_Product_Price::getFinalPrice()
So, either you have a commercial theme that is calling that function (unlikely), or an extension that has been installed that is not compatible with v1.3.3
If you turn on logging in System>Config>Admin>Developer, you should get a full stack trace in var\log\exception.log which you can paste into your question and we can verify which piece of code is calling that method.

Categories