Jump to content

after moving to new server: errors with InputfieldSubmit.module


vanderbreye
 Share

Recommended Posts

**** UPDATE ***
nevermind. seems to be an issue with my server/php. by testing it on another server, everything runs as expected.

thanks!

********************

Hey ryan!

i ran in a very special problem today: i moved a page to another server. (Im using V2.3)

everything is good, except: i cant login as admin - because there is a problem rendering the submitbutton...

in ProcessLogin.module i get a strange error:

"Fatal error: Call to a member function attr() on a non-object in /Applications/MAMP/htdocs/[...]/wire/modules/Process/ProcessLogin/ProcessLogin.module on line 123"
 

this is caused by trying to add the submitbutton rendered by InputfieldSubmit.module....

BUT: if i uncomment 

123: $this->submitField->attr('name', 'login_submit'); 124: $this->submitField->attr('value', $this->_('Login')); // Login form: submit login button 
 

and 

134: $this->form->add($this->submitField); 
 

everything of the loginscreen gets sucessful rendered (but without a login button, which is... well.. unusable ;)

the module itself (version 100) is fine, and taken fresh from git..

(i'm running in the same problem using the password-forget module)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...