Keyword

K2 +PHP7

  • Anthony Walker
  • Anthony Walker's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 weeks ago #152877 by Anthony Walker
K2 +PHP7 was created by Anthony Walker
K2 component does not like PHP7. Sends lots of error messages about deprecated functions etc

If you are upgrading PHP please be aware. I went to PHP 5.6 meantime

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 weeks ago #152883 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Anthony Walker
  • Anthony Walker's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 weeks ago - 9 years 3 weeks ago #152890 by Anthony Walker
Replied by Anthony Walker on topic K2 +PHP7
Sorry I won't ask or put anything in here again. One look at that code is enough to scare anyone off. Joomla is meant to be a language where very little code is needed. I haven't got the slightest idea what you just tried to tell me. All I see is hundreds of lines of code. If these are errors that need fixed then forget it.
Last edit: 9 years 3 weeks ago by Anthony Walker. Reason: addition

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 weeks ago #152904 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7

Joomla is meant to be a language where very little code is needed.


Have you looked at Joomla!'s repo?
You can grab the DEV version where these fixes have been applied.
github.com/getk2/k2/archive/master.zip

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 3 weeks ago #152929 by Alex
Replied by Alex on topic K2 +PHP7
But i also get some errors. Got K2 2.7 running.
Do i have to update something?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 weeks ago - 9 years 3 weeks ago #152960 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7
Hello,

Did you apply the patches or are you using the 2.7.1 DEV version - github.com/getk2/k2/archive/master.zip ?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 9 years 3 weeks ago by Krikor Boghossian.

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

More
9 years 2 weeks ago - 9 years 2 weeks ago #153001 by Alex
Replied by Alex on topic K2 +PHP7
I used the Joomla Update Manager, in Joomla 3.5, to update from K2 2.6.9 to 2.7.0.
I did nothing manually.
Last edit: 9 years 2 weeks ago by Alex.

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

More
9 years 2 weeks ago - 9 years 2 weeks ago #153006 by Alex
Replied by Alex on topic K2 +PHP7
Can i hide these warnings somehow? In joomla i have deactivated error reporting.
Last edit: 9 years 2 weeks ago by Alex.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 weeks ago #153064 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7
Can you install the DEV version and see if that solves the issue?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 1 week ago - 9 years 1 week ago #153242 by piet
Replied by piet on topic K2 +PHP7
Hello,

for me I think it was better. I just installed the dev version.

No more problem in the backend, but still have problem in frontend :
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_sigpro has a deprecated constructor in /www/plugins/content/jw_sigpro/jw_sigpro.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJw_allvideos has a deprecated constructor in /www/plugins/content/jw_allvideos/jw_allvideos.php on line 18

If you have a idea...?

Thank you.

update: no, sorry but same problem in the backend too...
Last edit: 9 years 1 week ago by piet.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 week ago #153258 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7
Hello,

This is related to Simple Image Gallery Pro and AllVideos.
Which version of SigPro are you using?

The dev version of AllVideos resolves this issue -> github.com/joomlaworks/allvideos

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 1 week ago #153312 by piet
Replied by piet on topic K2 +PHP7
Hi,

yes sorry.

So with the dev version of K2
and the official version of simple image gallery pro (3.1.0) and allvideo (4.7.0), PHP7 rock's !!

Thank you very much.

Have a nice day.

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

More
9 years 1 week ago #153327 by Alex
Replied by Alex on topic K2 +PHP7
Hi,
was the update on the dev version the solution for you?
or the updates of the plugins?

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

More
9 years 1 week ago - 9 years 1 week ago #153328 by piet
Replied by piet on topic K2 +PHP7
Hi,

for me it was both.

So first try with the dev version for K2

and after try with official last version for Simple Gallery Pro Gallery and Alllvideo (2 extensions from Joomla Works), but maybe you don't use them.

With of course Joomla 3.5.1 :-)


Regard.
Last edit: 9 years 1 week ago by piet.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 week ago #153338 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 +PHP7
@piet Thanks :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum