Questions tagged [zend-loader]

32 questions
6
votes
2 answers

What is the difference between Zend_Application_Module_Autoloader and Zend_Loader_Autoloader_Resource?

I've noticed that the sames happens with: $moduleLoader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH)); $moduleLoader->addResourceType('acl','acls/','Acl'); and $resourceLoader…
Keyne Viana
  • 6,194
  • 2
  • 24
  • 55
3
votes
3 answers

AWS Elastic Beanstalk Installing IonCube or Zend Loader

I have been trying to get one of these two loaders installed all evening without success. I have narrowed it down to creating a config file. I have put a .config file in a .ebextensions folder located in my root directory of my project, I'm not sure…
Tombo890
  • 371
  • 1
  • 3
  • 11
3
votes
3 answers

new Zend_Loader_Autoloader not finding files

I just upgraded from ZF 1.7 to ZF 1.9, and almost everything works fine... except for Autoloader. Old: require_once('Zend/Loader.php'); Zend_Loader::registerAutoload(); New: require_once 'Zend/Loader/Autoloader.php'; $loader =…
lo_fye
  • 6,790
  • 4
  • 33
  • 49
3
votes
1 answer

Does Composer provide any performance over Zend Loader in ZF2

ZF2 is using Composer for package management and distribution. My question is that does it provide any performance boost over Zend Loader?
M Hill
  • 225
  • 2
  • 6
2
votes
0 answers

PHP encoded with Zend Guard and composer

My composer.json file contains { ... "autoload":{ "classmap":["src/"] } ... } src/ contains encoded PHP files. But when I try to run php composer.phar update --no-dev it generates the vendor/composer/autoload_classmap.php file without any mapping.…
user2057484
  • 971
  • 1
  • 8
  • 5
2
votes
2 answers

How to load Zend classes when running php script by command lines

I have a php script needing Zend classes. It can be run in a browser, but errors occur when run the script by command lines in command prompt. require_once 'Zend/Loader.php'; // It can work in a browser but failed by command lines I also…
asdk77
  • 143
  • 1
  • 2
  • 12
2
votes
1 answer

How to enable zend loader on xampp 1.7.4 with php.ini file

I'm trying to install zend guard loader run time on windows 7 OS, with XAMP-win32-1.7.4-VC9-installer, (with: php 5.3 and apache 2.0). we also downloaded ZendGuardLoader-php-5.3-Windows and followed installation instruction by adding this line on…
user1453881
  • 21
  • 1
  • 5
1
vote
1 answer

Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream

We have a gym display screen working on our server, and now the client is asking me to add another screen to it. I'm new to php and Zend, so any help is appreciated. I'm trying to set up a sub domain (eg. gymtest.group.com) so I can work on it, it…
grumpypanda
  • 571
  • 1
  • 10
  • 37
1
vote
1 answer

How to get the ZF classmap_generator.php via Composer without to install the whole Zend Framework?

Due to some issues with the dependencies (zend-test was prohibiting installation of PHPUnit 6), I removed the zendframework/zendframework dependency from the composer.json and installed only the Zend packages I really need. But now, the file…
automatix
  • 14,018
  • 26
  • 105
  • 230
1
vote
1 answer

How to add Zend Guard Loader support in docker php official image instance?

I want to add Zend Guard Loader support on my php instance. http://www.zend.com/en/products/loader/downloads#Linux Normally, I will download the package, and then add the following settings into php.ini [Zend Guard…
Alfred Huang
  • 17,654
  • 32
  • 118
  • 189
1
vote
4 answers

Flex/Zend channel connect failed error

I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application. The pop-up error message is send…
FlyingCat
  • 14,036
  • 36
  • 119
  • 198
1
vote
3 answers

Cant get the zend loader to load classes only under wamp

I'm trying out the zend framework classes for the first time. I am interested in using some of the individual classes for now. Reading the documentation and some other q's here and in blogs I've tried three ways to load the classes //attempt 1 -…
thiswayup
  • 2,069
  • 8
  • 32
  • 52
1
vote
2 answers

How to pass params from controller to Zend_Form?

I know this question is already answered here. But this doesnt work for me. The Form is generated by using the PluginLoader: $formClass = Zend_Registry::get('formloader')->load('Payment'); $form = new $formClass(array('someval' =>…
0
votes
1 answer

Class not found when autoloading custom resource types during PHPUnit testing

In my Zend Framework project, I am using some custom resource types that I add to the resource loader in my application's Bootstrap.php file.
Luke Eller
  • 627
  • 1
  • 7
  • 23
0
votes
3 answers

Error Loading Zend Gdata framework into Wordpress

I am trying to use the Zend Gdata framework with wordpress but I am having some issues. Now everything works perfectly fine when I test on localhost with XAMPP. However on my web server my code breaks down. Here is my code to include the…
Bill
  • 1
  • 1
1
2 3