[SOLVED] FEU 1.24.1 User Import function broken?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
quethiock
Forum Members
Forum Members
Posts: 42
Joined: Mon Jun 16, 2008 5:18 am

[SOLVED] FEU 1.24.1 User Import function broken?

Post by quethiock »

Hi

Been banging my head against a brick wall, trying to import some users into FEU, thinking I weas getting the format of the contents of the CSV file wrong when I checked my cPanel Error log:
[Sat Nov 15 17:16:26 2014] [error] [client 80.2.60.215] PHP Fatal error: Call to undefined function is_emal() in modules/FrontEndUsers/action.admin_doimport.php on line 258, referer: /admin/moduleinterface.php
and loads more identical errors like it!

This was a fresh install only a few days ago, :

CMS Version 1.11.11
FrontEndUsers 1.24.1

I had to use FEU 1.24.1 becasue the latest version (FEU 1.24.2) requires PHP5.4.3+ and my ISP is still at PHP 5.3.29 :(

Anyway, I looked at the code in modules/FrontEndUsers/action.admin_doimport.php and in particular line 258
257 case $this::FIELDTYPE_EMAIL:
258 if( !is_emal($val) ) {
259 throw new Exception($this->Lang('error_importfieldvalue',$reln['name']));
260 }
261 break;
My question is should that call currently to is_emal($val) be a typo for is_email($val) ?

I tried editing action.admin_doimport.php to manually amend is_emal to is_email to see if that was the problem but it looks like my ISP has the permissions pretty tightly tied up as I can't save that file after editing (I had to use their automated installer to install CMSMS, couldn't install it myself directly).

Can anybody confirm if they have had problems importing FEU users or that the module call to is_emal($val) is a typo?

Many thanks

Mike Lyne
UK
Last edited by quethiock on Sat Nov 15, 2014 9:38 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FEU 1.24.1 User Import function broken?

Post by calguy1000 »

My question is should that call currently to is_emal($val) be a typo for is_email($val) ?
Yeah it's a simple typo. I will fix it in the next version.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
quethiock
Forum Members
Forum Members
Posts: 42
Joined: Mon Jun 16, 2008 5:18 am

Re:[SOLVED] FEU 1.24.1 User Import function broken?

Post by quethiock »

Many thanks calguy1000 ;D - I am delighted that you have confirmed that I had spotted a typo as the wall I was banging my head against was starting to crumble and my in depth knowledge of PHP/Smarty etc is limited.

Regards and thanks again.

Mike Lyne
UK
Post Reply

Return to “Modules/Add-Ons”