OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Fatal error: Call to undefined method Request::

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Fatal error: Call to undefined method Request::

Postby ozp » Sat Jun 09, 2007 8:14 am

http://eventos.redepsi.com.br/index.php ... tAllEmails

Fatal error: Call to undefined method Request::isconferencemanager() in /home/eventos/public_html/pages/manager/EmailHandler.inc.php on line 141

Code: Select all
/**
    * resets all email templates associated with the conference.
    */
   function resetAllEmails() {
      list($conference, $schedConf) = EmailHandler::validate();
      
      $conference = &Request::getConference();
      $emailTemplateDao = &DAORegistry::getDAO('EmailTemplateDAO');
      
      if(Request::isConferenceManager()) {
         $emailTemplateDao->deleteEmailTemplatesByConference($conference->getConferenceId());
      } else {
         $emailTemplateDao->deleteEmailTemplatesBySchedConf($schedConf->getSchedConfId());
      }
      
      Request::redirect(null, null, null, 'emails');
   }


I can reset one email template. But It does not show the proper text message (translated)
ozp
 
Posts: 51
Joined: Sat Apr 28, 2007 9:01 pm

Postby ozp » Sat Jun 09, 2007 8:24 am

I dont know why, but even having a /dbscripts/xml/data/locale/pt_BR/email_templates_data.xml all the templates are gone (when using pt_BR) locale

http://eventos.redepsi.com.br/dbscripts ... s_data.xml


should stuff like
Code: Select all
<field name="email_key">SUBMISSION_ACK</field>


Left as is?
ozp
 
Posts: 51
Joined: Sat Apr 28, 2007 9:01 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest