Hi,
after install Quick Tabs module, at point "/admin/structure/quicktabs/add", my browser show this error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /sites/all/modules/quicktabs/quicktabs.classes.inc on line 133

Any help is appreciated!

Comments

somewhere2go’s picture

The same here!

katbailey’s picture

Ugh, how come it didn't throw an error for me? :-(
Anyway, see as testing this on my own local is obviously not good enough, can you guys let me know if changing line 133 to

$default_options = self::getDefaultOptions();

solves the problem?

somewhere2go’s picture

Sorry, but the system return:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ../sites/all/modules/quicktabs/quicktabs.classes.inc on line 182

katbailey’s picture

OK, try changing that line to

$type = $tab->getType();

And there's a similar one on line 77 of QuickQuicktabs.inc which will need changing the same way, i.e.

$ajax_path = $quickset->getAjaxPath($i, $tab->getType());

I still don't understand why I'm not getting these errors and you are. I'm on PHP 5.3.5, what about you?

Once I get these nailed down I'll immediately release alpha2

Thanks for your help!

EndEd’s picture

All is going well at the moment after applied this fixes. (PHP 5.2.17)

katbailey’s picture

Status: Active » Fixed

Great, thanks EndEd.

And I've found an explanation... (via http://stackoverflow.com/questions/3679717/unexpected-t-paamayim-nekudot...) from the PHP 5.3.0 changelog:
Added support for dynamic access of static members using $foo::myFunc(). (Etienne Kneuss)

I have committed the fixes and will probably tag an alpha2 release in the next few hours if I don't hear of any more problems.
http://drupalcode.org/project/quicktabs.git/commit/b5b851c6193190eb5a9ec...

somewhere2go’s picture

Problem solve (PHP 5.2.17).
Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.