Questions tagged [zend-framework]

Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License. Zend Framework applications can run on any PHP stack that fulfills the technical requirements.

6
votes
2answers
2k views

How to override a Zend class?

I want to override a Zend class (Zend_Date). In Magento 1, I used to put Date.php in app/code/community/Zend and Magento itself used to do the rest. But now, there is no such directory. How can I ...
42
votes
9answers
42k views

Magento 1.9, php 5.6 - Use of iconv.internal_encoding is deprecated

Have the same with Magento CE 1.8 and 1.9 After update php from 5.5.16 to 5.6.0 on my VPS I got this 2 errors in [magento]/var/log/system.log: ERR (3): Deprecated functionality: iconv_set_encoding():...
20
votes
4answers
16k views

Why aren't Magento developers using Zend Framework 2 for Magento 2?

Magento will continue to mostly use the original Zend Framework (version 1) for Magento 2 (source: Magento 2 and Zend Framework 2 ) Seeing as how Magento 2 will not be backwards compatible with ...
15
votes
2answers
2k views

Connecting MongoDB ODM to Magento

I am trying to connect Mongo Doctrine ODM to Magento. I have successfully connected zend with mongodb. and I dont know how to Connect the both. I have placed Mongodb odm in "lib" folder of magento ...
2
votes
2answers
2k views

Uploading multiple files in custom module does not work in Magento 2

I am new to magento 2. I have been overriding a module in which I am trying to post images through a form. Here is my template file code: <form action="somecontroller.." enctype="multipart/...
18
votes
1answer
4k views

Zend Framework Versions

What are the mapping of CE/PE/EE versions to corresponding Zend versions? If possible I need a list going back before Magento 1.1.
9
votes
1answer
4k views

override a zend library

i'm trying to override a zend library (Zend_Pdf_Page) and it doesn't seem to be working. i'm putting it in app/code/local/Zend/Zend_Pdf_Page.php, but the parent class is being used instead. are there ...
14
votes
2answers
2k views

How is magento 2 better than magento 1?

I am just curious to know about magento 2 performance and how it is better than magento 1.x versions. Recently I started learning magento 2 and found that it is a whole new set of theory based on pure ...
8
votes
2answers
2k views

what are the zend components using by magento2?

Magento2 now using zend framewok 1 ,zend framework 2 ,symfony etc. I want to know what are the components taken from zend framewok 1 and components taken from zend framewok 2. For example: Zend_Db (...
0
votes
2answers
5k views

Can't generate PDF invoices or packing slips in Magento

I have a Magento issue. I have moved everything to a different server, and all seems to work fine - but I can not get the "print PDF invoice" or "Packingslip" option in the order section to work. It ...
4
votes
3answers
672 views

Is Magento planning on implementing Zend Framework 2?

Is Magento considering updating to ZF2? I understand ZF2 has been around for a few years. Why isn't it already using it? Re: Zend Framework Versions
3
votes
1answer
9k views

SOAP API fails with “couldn't load from…”, “failed to load external entity…” [duplicate]

When calling upon the Magento SOAP API I get the well known SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://{domain}/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "http://...
5
votes
3answers
4k views

Magento 2 and Zend Framework 2

Since Magento is planning on using Zend Framework 2, does that mean that all the current extensions that utilize ZF1 are going to break? From what I know about ZF2 and ZF1 is that they are very ...
3
votes
3answers
1k views

Provide properties to views in Magento

In Zend Framework we provide properties to layouts which are then consumed in the view. An example of this would be: $this->layout = new Zend_Layout(); $this->layout->username = 'John'; $...
2
votes
2answers
691 views

Magento 1.9 Custom Module Form $mail = new Zend_Mail(); include more $params

I created a simple custom module and have a problem with $parmas which I can't figure out for hours now. Here is the IndexController.php responsible for it: public function sendemailAction() ...
1
vote
2answers
2k views

simple zend pdf file not generate in magento

I tried below simple code in my TestController.php code but not generate pdf file. When I call testAction method of TestController.php it displays blank on page and no error on page and as well as not ...
1
vote
1answer
1k views

Magento 2: How to override Zend library files function only?

I would like to override below file magento\vendor\magento\zendframework1\library\Zend\Captcha\Image.php Can we do with magento\app\code\zendframework1\library\Zend\Captcha\Image.php ? What will ...
0
votes
1answer
203 views

Multiple Items but want one SKU for all Item which fall under same category

I am newbie to Magento. I have multiple items (say it1,it2,it3 ... ) from same item category (say itcat1 ) in my store. How can I set same stock for all items or some item from same category? One ...