i resolved this by doing the vendor() call in the same function which was using the vendor class. is that the right way to use it?
On 7 Feb, 12:49, "lukemack" <[EMAIL PROTECTED]> wrote: > hi, > > i am trying to use an image verification class as a vendor. i have > uploaded the files here: > > http://groups.google.co.uk/group/cake-php/web/vendor_problem.zip > > When i try and view the register or imageTest action, I get: > > Fatal error: Class 'verification_image' not found in /home/httpd/ > vhosts/lukem.co.uk/subdomains/cake/httpdocs/app/controllers/ > users_controller.php on line 84 > > I thought it might be a filenaming problem so i tried renaming > verification_image.class.php to verification_image.php but this didn't > help. > > i have wrapped the vendor in imageVer.php using: > > <?php ini_set('include_path',ini_get('include_path').PATH_SEPARATOR . > dirname(__FILE__)); > require_once('verification_image.class.php'); ?> > > can anyone shed any light ono what i'm doing wrong? > > thanks, > > lukemack. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---