Skip to Content Skip to Menu

[#5955] CB Connect

  • fungkur
  • fungkur
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 9
8 years 5 months ago - 8 years 5 months ago #282249 by fungkur
Replied by fungkur on topic CB Connect
Apache 2.2.31
PHP 5.3.29

CB Connect 7.0.0 (plug_cbconnect_7.0.0+2016.03.07.18.04.49.5a34d4f55.zip)
Error on homepage

Parse error: syntax error, unexpected '[' in /home/xxx/public_html/components/com_comprofiler/plugin/libraries/CB/Plugin/Connect/Connect.php on line 180


CB Connect (nightly release) (plug_cbconnect_7.0.0+build.2016.05.07.00.53.51.000070231.zip)
Homepage successfully loaded, but error once [Sign in with Facebook] button is clicked

Parse error: syntax error, unexpected '[' in /home/xxx/public_html/components/com_comprofiler/plugin/user/plug_cbconnect/component.cbconnect.php on line 515

spit it out!
Last edit: 8 years 5 months ago by fungkur.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
8 years 5 months ago #282253 by krileon
Replied by krileon on topic CB Connect
You need PHP 5.4. CB Connect requires a minimum of PHP 5.4. I highly suggest everyone stop using PHP 5.3. It's significantly out of date and PHP EOL. If your host refuses to move you to at least PHP 5.4 then I highly suggest you change hosts. I'll fix the above return array usage for next nightly, but PHP 5.3 is causing bad coding usages and redundant variable definitions due to it being so dated. We will likely, very soon, be dropping PHP 5.3 support entirely.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum