phpbb_confirm_handler.php

Support for the .
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Crispy
New member
New member
Posts: 43
Joined: 10 Aug 2008, 12:57
Real name: Clive
Contact:

phpbb_confirm_handler.php

Postby Crispy » 19 Aug 2008, 14:55

I under stand this file can be used as a captcha for a form.
I have saved it in my phpbb3root/includes folder
I'm guessing i have to include this file in my page somewhere, could you give me some pointers of getting it working. :)
Last edited by Crispy on 19 Aug 2008, 15:10, edited 1 time in total.

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: phpbb_confirm_handler.php

Postby igorw » 19 Aug 2008, 15:09


- we're poor!

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: phpbb_confirm_handler.php

Postby igorw » 19 Aug 2008, 15:11


- we're poor!

Jyujinkai
New member
New member
Posts: 3
Joined: 24 Jan 2009, 08:45
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: phpbb_confirm_handler.php

Postby Jyujinkai » 25 Jan 2009, 13:54


Netboost
New member
New member
Posts: 2
Joined: 26 May 2009, 10:13
Real name: Matthieu Vandevyver
Location: Lauwe
Contact:

Re: phpbb_confirm_handler.php

Postby Netboost » 26 May 2009, 10:15

Hi, where can i found this class?

found somewhere the class, but it gives errors...:
errors on this one: [url]http://svn2.assembla.com/svn/phpbbmodders_lib/phpbb_confirm_handler.php[/url]


Error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\************\includes\lib\phpbb_confirm_handler.php on line 24
Boost your business - - webdesign, freelance, seo, e-commerce, hosting, it, ...

User avatar
Lord Le Brand
Website Team
Website Team
Posts: 223
Joined: 08 Sep 2006, 15:44
Real name: Leroy
Location: Parkstad, Limburg, the Netherlands (GMT+1)
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: phpbb_confirm_handler.php

Postby Lord Le Brand » 26 May 2009, 10:34

probably, you are using PHP 4, which doesn't understnad what to do with "protected" or "public" etc. You need PHP 5 for this to work.

Netboost
New member
New member
Posts: 2
Joined: 26 May 2009, 10:13
Real name: Matthieu Vandevyver
Location: Lauwe
Contact:

Re: phpbb_confirm_handler.php

Postby Netboost » 26 May 2009, 11:43

Fixed it myself.
(solution: delete 'public', ... before var-declarations and functions)

edit: Idd :) Sorry, was reply'ing this topic before i saw your answer. Thanks anyway!! 8-)
Idd my old host (where my phpbb forum still is at the moment) uses php 4.
Boost your business - - webdesign, freelance, seo, e-commerce, hosting, it, ...

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: phpbb_confirm_handler.php

Postby igorw » 26 May 2009, 19:22

There is no real excuse for using PHP4. It's not even supported by the PHP group / zend anymore...

- we're poor!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Library”

Who is online

Users browsing this forum: No registered users and 3 guests