Hey cakers,

I have a strage issue with virtual properties on our server.
We have a Photo Entity with the following virtual property:

/**
 * Get url for all image sizes
 *
 * @return array
 */
protected function _getPath()
{
[...]

return $path; // array with path for different photo sizes
}

On our development server (Ubuntu, Apache, PHP 5.5.9-1ubuntu4.6) everything 
works perfectly.
On our production server (Linux, Apache, PHP 5.5.23) the site is working 
great, except that the virtual properties are missing in the data objects.

The photo entity is read from db via *contain *and echoed like this:

$entry->photos[0]['path']['wide'];

The normaly properties of the Photo entity can be read on both servers with:

$entry->photos[0]['filename'];

Any idea why the virtual property on the production environment is missing?

Thanks a lot!

Simon

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to