We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

v16: error - Two Factor Authentification | Forum

Simik
Simik Mar 12 '15
Trying access to settings (admin): 

Parse error: syntax error, unexpected '[' in /web/ow_plugins/twofactauth/controllers/admin.php on line 20


Trying access to security menu (user): 

Parse error: syntax error, unexpected '[' in /web/ow_plugins/twofactauth/bol/service.php on line 61

Mike
Mike Mar 12 '15
Hello,

I am sorry but i cant reproduce the error.
Could you try to reinstall the plugin?
(Dont forget to backup the database)

I will also test some fixes.


Mike
Simik
Simik Mar 12 '15
Still the same
Mike
Mike Mar 12 '15
Hmm okay,

can you post the code from line 18 to 22?
Simik
Simik Mar 13 '15
} $users = OW::getDbo()->queryForRow("SELECT COUNT(*) as xcount FROM `".OW_DB_PREFIX."base_user`")['xcount']; $using = (int) OW::getDbo()->queryForRow("SELECT COUNT(*) as xcount FROM `".OW_DB_PREFIX."twofactauth`")['xcount']; $prozent = round((100 * $using) / $users, 2);
Simik
Simik Mar 23 '15
I'd like more support not only because this is a paid plugin... I paid it twice... by error... 

2x paid and not working.... 
Mike
Mike Mar 23 '15
Hello, i am sorry.

I dont have much time jet.
I can't see a syntax error.
Can you attache the whole file?

I am also sorry that you had to buy my plugin twice. But you also had the chance to send me a pm so we maybe found a solution for that.

Mike
Simik
Simik Mar 23 '15
I joined the two files... 


PM for what... My error that I paid it twice...

Attachments:
  admin.php (4Kb)
  service.php (1Kb)
Mike
Mike Mar 23 '15
You had the chance to send a conflict to PayPal so you get your money back out I could send you the money manually back (without PayPal processing fee).
But if you don't contact me I can't help you.
Mike
Mike Mar 23 '15
404 error at your attachments.
Mike
Mike Mar 24 '15
Hello Simik,

when i insert the php code into a code validator (http://www.icosaedro.it/phplint/phplint-on-line.html) i dont get an error.

i know that this issues happens sometimes also on an other oxwall page but i dont know why and how i can solve it....
Mike
Mike Mar 28 '15
Hey,

i uploaded an update which hopefully will fix it.
Simik
Simik Mar 29 '15
Admin side is fixed, but user side says 


Parse error: syntax error, unexpected '[' in /web/ow_plugins/twofactauth/controllers/setup.php on line 56

Mike
Mike Mar 29 '15
Okay thanks for the reply.

We working on that.
Mike
Mike Mar 31 '15
Hey Simik,

did i solve the error with the last update?
Simik
Simik Mar 31 '15
Seems OK now... I will translate new languages strings and test...


Mike
Mike Mar 31 '15
Okay. Let me know if you found a bug.
You do not have permission to reply this topic