Problems with 2.6 Beta...

OrangeHRM
2010-04-06
2013-06-05
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-06

    Hi everyone… I just installed the 2.6 beta on my test server but when i try to access to the Performance Panel i get this error….

        500 | Internal Server Error | PerformanceServiceException
        Couldn't locate driver named mysql

        stack trace
        at ()
        in SF_ROOT_DIR/apps/orangehrm/lib/model/performance/service/PerformanceReviewService.php line 442 …
        }

        } catch (Exception $e) {

        throw new PerformanceServiceException($e->getMessage());

        }

        }
        at PerformanceReviewService->isReviewer(null)
        in SF_ROOT_DIR/apps/orangehrm/modules/performance/actions/actions.class.php line 366 …
        at performanceActions->isLoggedReviewer(null)
        in SF_ROOT_DIR/apps/orangehrm/modules/performance/actions/actions.class.php line 42 …
        at performanceActions->preExecute()
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 89 …
        at sfExecutionFilter->executeAction(object('performanceActions'))
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 76 …
        at sfExecutionFilter->handleAction(object('sfFilterChain'), object('performanceActions'))
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 53 …
        at sfExecutionFilter->execute(object('sfFilterChain'))
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 …
        at sfFilterChain->execute()
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfCommonFilter.class.php line 29 …
        at sfCommonFilter->execute(object('sfFilterChain'))
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 …
        at sfFilterChain->execute()
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 …
        at sfRenderingFilter->execute(object('sfFilterChain'))
        in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 …
        at sfFilterChain->execute()
        in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfController.class.php line 245 …
        at sfController->forward('performance', 'viewReview')
        in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 …
        at sfFrontWebController->dispatch()
        in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 159 …
        at sfContext->dispatch()
        in SF_ROOT_DIR/web/index.php line 13 …
        symfony settings …
        request …
        response …
        user …
        global vars …
        symfony v.1.2.8 - php 5.1.2
        for help resolving this issue, please visit http://www.symfony-project.org/.

    Can anybody help me figuring out what's wrong?? :)

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-08

    Hi..
    issue with your php setting . you have to enable pdo_mysql extension

    Regards,
    Samantha Jayasinghe

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-08

    Thank's Samantha, i did what u suggested but the error continue to appear…. Any other suggestion??

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-22

    Hi ..
    try " php -m" command on your terminal . It should have both mysql , PDO , pdo_mysql modules enabled

    Regards ,
    Samantha Jayasinghe

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-22

    Ok! We did it…. :)

    Previously we had just installed the PDO package, we added the pdo_mysql, but after that another error came up reporting something was wrong in mysql.php ….. We fixed it by modifying srv/www/htdocs/orangebeta/symfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mysql.php

        public function connect()
        {
        $connected = parent::connect();
        /*CHANGETHIS $this->setAttribute(PDO::ATTR_EMULATE_PREPARES, true); */

        return $connected;
        }

    Hope this will help ppl with the same error ;)

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-22

    Ok…… Now a new Error came up….

    While adding a new Performance Review, i fill the form and then when i try to save the whole thing all i get is this

        Fatal error: Call to undefined method SimpleXMLElement::addChild() in /srv/www/htdocs/orangebeta/symfony/apps/orangehrm/lib/model/performance/service/PerformanceKpiService.php on line 59

    I installed SimpleXML but nothing changed……. Any other suggestion ??

    ps. Our machine have PHP 5.1.2

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-22

    Thanks we'll try that asap ;)

     
  • Mafaz Mazeen

    Mafaz Mazeen - 2010-04-22

    Right, we have updated the PHP package and now everything is working smooth as silk ;)

     

Log in to post a comment.