Fatal error while exporting a CSV file from webpage - magento

I'm trying to export an cvs file but I'm having this error.
Fatal error: Call to undefined method
Mage_Adminhtml_Model_System_Config_Source_Yesno::setAttribute() in
/home/acdistri/public_html/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php
on line 389

thanks for your quick interest in this question... I found the solution... when I install a extension it create an Attribute, then I uninstall the extension because a JavaScript conflict but the attribute stay there and when I was trying to do the export of the products data base it give me that error. I just delete the attribute and now is working all fine.

Related

Cannot find named PHP session module magento 1.7 version

I found below error in system.log
Warning: session_module_name(): Cannot find named PHP session module (file) in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 67
Can anyone know solution.
To resolve such type of warning error one should have to use below code in
layout file.
Its worked for me.
![CDATA[files]] in session_save node

Laravel new command error

I did the following commands:
composer global require "laravel/installer=~1.1"
and
set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
But when I try to do:
laravel new blog
I get the following error:
Notice: Undefined variable: output in C:\Users\****\AooDara\Roaming\Composer\vendor\laravel\installer\src\NewCommand.php on line 55
Fatal error: Call to a member function writeln() on null in C:\Users\****\AooDara\Roaming\Composer\vendor\laravel\installer\src\NewCommand.php on line 55
Any idea of what went wrong?
Seems like you already have a directory called 'blog' in your application directory. Try creating a laravel app with different name or delete / rename existing 'blog' directory and try again.
for example laravel new helloapp.
However, I think the error showing at the console is a bug of laravel new command. I could see the error at the console when I tried to create a app with same name again from same directory.
The error not exists now. Try creating other application.

Creating PDF in Codeigniter with Dompdf

I am Using DomPDF for developing pdf in Codegniter GIving Error
require_once(): Failed opening required 'C:/xampp/htdocs/manisha/application/helpers/dompdf/lib/php-font-lib/classes/Font.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\manisha\application\helpers\dompdf\dompdf_config.inc.php on line 332
It seems your include fails. Please check the file permissions and if the "Font.php" file is actually at:
C:/xampp/htdocs/manisha/application/helpers/dompdf/lib/php-font-lib/classes/Font.php
Also, check if it works when you change "require_once()" into "require()", if so, you probably trying to include that file multiple times.

set_flashdata() triggers a fatal error in PyroCMS

I moved a Pyrocms site to another server.
Go to index: blank page.
Turn on errors: get this
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Pages::$session
Filename: core/Model.php
Line Number: 50
Fatal error: Call to a member function set_flashdata() on a non-object in /var/www/vhosts/brokentalkers.com/httpdocs/system/pyrocms/modules/modules/models/module_m.php on line 193
If it sheds any light, I made a tar.gz of the contents of the old httpdocs folder, and extracted it in the new httpdocs folder.
I made a duplicate of the database with an identical user, so config/database.php shouldn't need changing.
Any ideas? Thanks in advance.
It seems like $session class is not initializing correctly.
Check for default_ci_sessions table, if you are using sessions for database.
Check if the constructor is loading sessions library.
Check if session is in autoload.php config

i install Magik_Featuredproducts component in magento after install i can't access my front view?

i install Magik_Featuredproducts component via magento connect after install component i can access backend but cant access frontend and following error comes:-
Fatal error: Call to a member function toHtml() on a non-object in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Layout.php on line 529.
how to solve this error?...hope someone help me.
It sounds like one of the php files under the module Block folder is missing. toHtml() is called on a Block. Check that you've set the permissions on the module to be 755 and that all files are present.

Resources