Questions tagged [Zend Framework] (320)

3
answers

How else can you expose a method call?

$res = $this->$method['name']($parser_name); Question 1 Faced here with such code, whether it is normal from the point of view of the PLO? @Fatima85 fully answered this question. I knew the code for the lookup method, but thought why do that, it turns out you do not need$method = 'getName'; $obj->$method(); // $obj-&g...
cassie.Harber asked March 29th 20 at 23:18
1
answer

In the form of a display module?

The 2.4 version of Zend Framework php5.4 Perhaps the question is simple, but for me it is difficult, the issue is: we have in one module, call it conditionally ModuleOneand form the data output in this form you need to add html from another module, conventionally ModuleTwo. I'll tell you more about the modules themselves, ...
Jazmin.Polli asked March 29th 20 at 21:35
0
answer

How to fix the error "Error: Class Blog\Entity\Post has no association named img_id"?

We assume that one image can have multiple articles. It turns out Class Blog\Entity\Post class Post{ /**@ORM\Column(name="img_id") * @ManyToOne(targetEntity="\Blog\Entity\Images") * @JoinColumn(name="img_id", referencedColumnName="id") */ protected $img; } Class Blog\Entity\Imagesclass Images { /** * @ORM\Id * @ORM\Co...
winfield.Hodkiewic asked March 25th 20 at 13:13
1
answer

ZF1 + 8 Angular, really?

Is it possible somehow to make friends? Need the front and admin area to make Angular. Maybe there's some alternative? Rewrite back - don't want to. Thank you.
Elna_Roberts11 asked March 25th 20 at 11:12
2
answers

Two applications on one site, it is really that between them were the answers server, such as 200 -the answer??

Can two apps fit on one website, and send each other messages, both apps would get the status of successful/unsuccessful sending from the server, such as 200 in case of success? Tell me, please, what tools for this purpose?
peter.Weissnat asked March 24th 20 at 14:46
1
answer

Data migration in zendframework?

how are the migration data ( insert/update values in the table)? And is it desirable to do them?public function up(Schema $schema) : void { // this up() migration is auto-generated, please modify it to your needs $table = $schema->createTable('albums'); $table->addColumn('id', 'integer', ['autoincrement'=>true]...
sebastian.Ter asked March 24th 20 at 14:18
0
answer

Why this Error in Zend?

Fatal error: Uncaught Zend\ServiceManager\Exception\ServiceNotFoundException: A plugin by the name "Zend\Mvc\Router\Http\Literal" was not found in the plugin manager of Zend\Router\RoutePluginManager in /var/www/html/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php on line 142 ( ! ) Zend\ServiceManager...
Lilla.Webe asked March 24th 20 at 11:05
0
answer

Links to third level do not work.

Good afternoon. the website is written in zend https://www.ukr-metiz.com Problem - after restoring the backup the hosting company got the bug - not working links to the third level, namely for example. https://www.ukr-metiz.com/store/catalog/bolty just 404 . But it's there in the admin panel and it is filled correctly and...
Rene.Dicki asked March 23rd 20 at 20:04
0
answer

How to write a script in PHP rel canonical?

Good day how do I write the rel canonical script in PHP or with the help of zend functions for pagination here is the website https://www.ukr-metiz.com
Herman_Kovacek35 asked March 23rd 20 at 19:53
1
answer

How to move your website to https?

Good day website www.ukr-metiz.com hooked on hosting a ssl site is working, but the styles and scripts loaded via http Protocol added a redirect in the httaccess didn't help. The website is written in zend. found file const.php there is costant define("BASE_URL", "http://" . $_SERVER['HTTP_HOST'] . "/"); installeddefine("B...
Edd85 asked March 23rd 20 at 18:32