1. Switch off:
1.1 Zend Optimizer
1.2 Zend Data Cache
2. Stop apache
zendctl.sh stop-apache
3. Download or compile xdebug and put it into
/usr/local/zend/lib/php_extensions
4. Add config into php.ini
/usr/local/zend/etc/php.ini
zend_extension=”/usr/local/zend/lib/php_extensions/xdebug.so”
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_local_vars=On
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
5. Start apache
zendctl.sh start-apache
Compiled xdebug
Source: http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/
In case you get such a warning:
PHP Warning: Module ‘Zend Data Cache’ already loaded in Unknown on line 0
PHP Warning: Zend Extension Manager: Cannot load [...]
Posted on July 1, 2011, 7:24 am, by Aram, under
Development.
As I presume selenium that comes with NetBeans Selenium plugin not best one.
To Fix:
Download last selenium RC
In Netbeans services tab stop Selenium server
Find out selenium-server-2.0.jar in netbeans settings folder (Mac OS X - .netbeans/7.0/modules/ext/selenium/selenium-server-2.0.jar)
Replace it with downloaded one
Start Selenium server in NetBeans
Happy testing
Posted on February 21, 2011, 5:31 am, by Aram, under
Development.
Since WSO2 WSF PHP is the only library that supports file attachements and WSDL generation we decided to stick on this.
That was really hard to compile and have it working, may be because of we tried to do that on Mac OS.
Download and extract WSO2 WSF PHP in right place initially since it use initial [...]
Posted on October 14, 2010, 10:11 pm, by Aram, under
Development.
Zend Debugger
Zend Core comes complete with the option to enable remote PHP debugging and profiling of Web applications.
Source: http://files.zend.com/help/Zend-Core/studio_server.htm
Zend Server
sudo vim /etc/apt/sources.list
add “deb http://repos.zend.com/zend-server/deb server non-free”
wget http://repos.zend.com/zend.key -O- |apt-key add -
aptitude update
aptitude install zend-server-php-5.3
Source: http://files.zend.com/help/Zend-Server/zend-server.htm#deb_installation.htm
Posted on July 28, 2010, 11:15 am, by Aram, under
Development.
How to build form using ini files.
Example includes Zend_Form elements, Zend_Validate and File uploads using Zend_File_Transfer.
Protected method to retrieve form config and fill data into selectbox.
protected function prepareProductForm()
{
$form = new Application_Form( ‘admin/product’ );
$categories = array( ‘Select Category’ );
foreach( Application_Category::getCategories() as $category )
{
$categories[$category->categoryId] = $category->name;
}
$form->getElement( ‘categoryId’ )->setMultiOptions( $categories );
return $form;
}
This method will render form from and [...]
After upgrade from 1.3.2.4 to 1.4.0.1 using MagentoConnect we got exception in Admin/System page.
After checks we have figured out that the file was missing in upgrade package for Magento Core Modules.
File was used by system.xml located in Mage/Core/etc/.
In order to fix this you have to download Magento package 1.4.0.1 from website and add missing file [...]
After upgrade Magento to 1.4.0.1 I’ve got such an error.
The problem is that Varien did not managed to add removal deprecated code/files which overrides Zend’s code.
In order to fix this problem you have to remove folder:
app/code/core/Zend/Cache
Posted on May 6, 2010, 2:21 am, by Aram, under
Development.
Tortoise SVN and other IDE integrated subversion clients was changing format of .svn/* files so that was not possible to use command line subversion client which is more secure.
Finally got upgraded subversion client for Ubuntu Hardy (8.04).
1. Copy source list from: https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6
2. Add lists to /etc/apt/sources.list at bottom of file - Save file
3. apt-get install subversion
(Here [...]
Posted on March 4, 2010, 2:04 am, by Aram, under
Development.
1. Settings svn:ignore property
svn propset svn:ignore “*” folder1/
svn propset svn:ignore “*” folder2
2. Commit to apply changes.
svn ci -m “Data in these folders will be ignored by svn”
Source: http://www.devcha.com/2008/02/how-to-make-svn-ignore-some-folders.html
We are going to use in our huge auction project Magento Commerce Community edition.
http://www.magentocommerce.com/
Also decided to use ExtJs as user interface rendering engine.
http://www.extjs.com/
To work on server side objects without touching javascript code we decided to use PHP-Ext adapter.
http://php-ext.quimera-solutions.com/
Soon will drop about details. May be will publish Magento module as well.