Wedge&PHP 7
[Suggestion] HTML & PHP Blocks  »

Jurien

  • All i want is a couple days off
  • Posts: 132
[XML] Re: Wedge&PHP 7
« Reply #15, on January 22nd, 2017, 03:49 PM »
Had a weird issue with SimpleXML,got a error message when I went to installed plugins,and could not approach plugins anymore.

Be able to solve this issue,by installing php7.0-xml
Code: [Select]
sudo apt-get install php7.0-xml
followed by a restart service apache
Code: [Select]
sudo service apache2 restart
and after that a reload
Code: [Select]
sudo systemctl daemon-reload

Nao

  • Dadman with a boy
  • Posts: 16,078
Re: Wedge&PHP 7
« Reply #16, on January 26th, 2017, 05:14 PM »
Good to know, I suppose!
Personally never got any problems. I don't even remember that Wedge uses SimpleXML... (??)
Not there any many plugins anyway, so I don't exactly spend my time in that section..!
Re: Wedge&PHP 7
« Reply #17, on January 27th, 2017, 12:06 AM »
Quote from Nao on January 20th, 2017, 04:26 PM
wesql::get('SELECT @@sql_mode') ==> returns NOTHING in Wedge... returns an actual string in phpMyAdmin. WUT?!
wesql::query('SET session sql_mode = "TRADITIONAL"', array('security_override' => true)); ==> does nothing. Strict mode still at work.

Anyone inspired by this..? Maybe it's a server problem.
I forgot about that. Just wanted to reply, 'nope'.
It only works if calling mysqli_query directly. Obviously when you JUST got the database connection, it's unlikely that query() actually has everything it needs to do a proper request. ;)

Kian

  • Posts: 49
Re: Wedge&PHP 7
« Reply #18, on November 15th, 2018, 05:58 PM »Last edited on November 16th, 2018, 03:48 PM
I have to migrate so I'm trying PHP 7.2 now...

I have an issue.

When I post a message, it works but then I get a white page... don't know why.
Re: Wedge&PHP 7
« Reply #19, on November 16th, 2018, 06:32 PM »
Not sure it is a PHP 7.2 issue though.
Re: Wedge&PHP 7
« Reply #20, on November 19th, 2018, 12:08 PM »
Is there an exhaustive list of the (for example) Debian packages required for Wedge ?
Can't find any, I guess I might be missing smething for my install.
Re: Wedge&PHP 7
« Reply #21, on November 23rd, 2018, 05:29 PM »
OK.

With a fresh install I have no issue.

I'll try a more proper migration :whistle:
Re: Wedge&PHP 7
« Reply #22, on November 26th, 2018, 01:56 PM »
Quote from Kian on November 23rd, 2018, 05:29 PM
OK.

With a fresh install I have no issue.

I'll try a more proper migration :whistle:
But then, when I setup the new installation with my produciton database, same issue.

I guess it's located in my DB...
Re: Wedge&PHP 7
« Reply #23, on November 27th, 2018, 05:51 PM »
Guess I'll have to migrate table after table...
Re: Wedge&PHP 7
« Reply #24, on November 28th, 2018, 05:00 PM »
Well, well.

Just downgraded to PHP 5.6, it works...

Nao

  • Dadman with a boy
  • Posts: 16,078
Re: Wedge&PHP 7
« Reply #25, on January 29th, 2019, 12:12 PM »
Désolé Kianouch, je ne sais pas à quoi correspond ton problème... Je pourrais débugguer sur ton serveur mais je ne passe pas tous les jours ici... Genre tu pourrais m'écrire, aussi. :P

forumovod

  • Posts: 10
Re: Wedge&PHP 7
« Reply #26,  »Last edited
Wedge&PHP 7 it works successfully on my test forum.
Forum for forum owners https://forumovod.ru

mark435

  • Posts: 2
Re: Wedge&PHP 7
« Reply #27,  »
Works for me too on PHP 7.4

Nao

  • Dadman with a boy
  • Posts: 16,078
Re: Wedge&PHP 7
« Reply #28,  »
Well, upwards PHP compatibility is something I'm keeping an eye on. ;)
Although I'm "stuck" on the version of PHP set up on my server, feel free to contact me if a new version of PHP breaks something, I'll fix it.

Kian

  • Posts: 49
Re: Wedge&PHP 7
« Reply #29,  »
Quote from Nao on January 29th, 2019, 12:12 PM
Désolé Kianouch, je ne sais pas à quoi correspond ton problème... Je pourrais débugguer sur ton serveur mais je ne passe pas tous les jours ici... Genre tu pourrais m'écrire, aussi. :P
Ben pas de soucis, c'est gentil :)

3 ans après, je me suis repenché sur la question car je souhaite vraiment me débarrasser de cette bécane chez OVH.

J'ai fait cette fois un import table par table et ai pu isoler celle qui pose problème : la table wedge_settings

J'ai beaucoup "joué" avec sans trouver le paramètre qui fait ça, du coup j'ai testé tout simplement en important un dump de tout sauf cette table et tout va bien, je vais donc pouvoir migrer :cool:

Bon me reste un dernier soucis moins gênant mais non lié à PHP 7 : j'ai la plupart des plugins qui ne s'activent pas, quand je clique sur le bouton il ne se passe rien, et ce sur mon vieux serveur PHP 5 comme le nouveau. J'ai du faire une connerie un jour  :^^;:


[Suggestion] HTML & PHP Blocks  »