Has anyone managed to get phpwiki to work with php7? My provider is deprecating php 5.x and I need to move asap.
Currently I'm using a phpwiki 1.5.5 on mysql and I understand it is not going to be usable in php7. I tried to setup a new phpwiki with db=file but couldn't make it run at all (blank page), so no migration possible, either.
Any suggestion?
As an alternative, has anyone successfully migrated their phpwiki content to another, more current wiki?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone managed to get phpwiki to work with php7? My provider is
deprecating php 5.x and I need to move asap.
Currently I'm using a phpwiki 1.5.5 on mysql and I understand it is not
going to be usable in php7. I tried to setup a new phpwiki with db=file
but couldn't make it run at all (blank page), so no migration possible,
either.
Any suggestion?
As an alternative, has anyone successfully migrated their phpwiki content
to another, more current wiki?
I look forward to responses! I've been running phpwiki a LONG time at http://bh.hallikainen.org/ . It still runs, but am worried about it
stopping. One thing on exports and imports to another wiki is that, I
THINK, exports include only the wiki pages, not the uploads. My wiki is
generally all uploads with links to them.
Has anyone managed to get phpwiki to work with php7? My provider is
deprecating php 5.x and I need to move asap.
Currently I'm using a phpwiki 1.5.5 on mysql and I understand it is not
going to be usable in php7. I tried to setup a new phpwiki with db=file
but couldn't make it run at all (blank page), so no migration possible,
either.
Any suggestion?
As an alternative, has anyone successfully migrated their phpwiki content
to another, more current wiki?
I look forward to responses! I've been running phpwiki a LONG time at http://bh.hallikainen.org/ . It still runs, but am worried about it
stopping. One thing on exports and imports to another wiki is that, I
THINK, exports include only the wiki pages, not the uploads. My wiki is
generally all uploads with links to them.
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
Also I get a warning on a freshly created Homepage
PHP Warning
Warning: "The each() function is deprecated. This message will be suppressed on further calls"
Notice: "Undefined index: relation"
Also, at the bottom, Special Actions:
Notice: "Undefined index: relation"
I just tried to import my pages, generally it worked but got those warnings at the end
Warning: "The each() function is deprecated. This message will be suppressed on further calls"
Warning: "Declaration of WikiPlugin_WikiAdminSetAclSimple::setaclForm(&$header, $pagehash) should be compatible with WikiPlugin_WikiAdminSetAcl::setaclForm(&$header, $post_args, $pagehash)"
Some of the pages imported fine, some have this a couple of times in the middle of the page
ErrorManager: error while handling error:
Warning: "A non-numeric value encountered"
Last edit: nagelfar 2019-07-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
I am happy to know that you managed to get the "file" version, I never tried that.
Yes, as I said in a previous message, mysql mostly works with PHP 7. Issues are on login and account creation.
Best regards
From: nagelfar nagelfar666@users.sourceforge.netnagelfar666@users.sourceforge.net
Sent: Monday, July 08, 2019 9:51 PM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Run phpwiki on php7 or migrate to an alternative?
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=25#f548
I managed to get it running on php 7.1. I did a fresh install of /trunk and copied the config.ini file from the "old" wiki to the new one. Had to change the DB connect string from mysql to mysqli to get it working.
Can confirm that login doesn't work (gives me a blank screen).
Also, there is an issue if you run on anything higher than php 7.1
lib/DbSession/SQL.php:45 Error: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name()
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone managed to get phpwiki to work with php7? My provider is deprecating php 5.x and I need to move asap.
Currently I'm using a phpwiki 1.5.5 on mysql and I understand it is not going to be usable in php7. I tried to setup a new phpwiki with db=file but couldn't make it run at all (blank page), so no migration possible, either.
Any suggestion?
As an alternative, has anyone successfully migrated their phpwiki content to another, more current wiki?
I look forward to responses! I've been running phpwiki a LONG time at
http://bh.hallikainen.org/ . It still runs, but am worried about it
stopping. One thing on exports and imports to another wiki is that, I
THINK, exports include only the wiki pages, not the uploads. My wiki is
generally all uploads with links to them.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com
Not sent from an iPhone.
Hi,
You can try using the code on the Subversion trunk.
It mostly works with PHP 7, but there are still some issues, mostly on login and account creation, that I why I did not publish the 1.6.0 release yet.
Please report the precise issues you can find, and patches if you are able.
Thank you for your continued interest in Phpwiki.
Best regards,
Marc-Etienne Vargenau
From: Harold Hallikainen hhallikainen@users.sourceforge.net
Sent: Sunday, July 07, 2019 8:00 PM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Re: Run phpwiki on php7 or migrate to an alternative?
Has anyone managed to get phpwiki to work with php7? My provider is
deprecating php 5.x and I need to move asap.
Currently I'm using a phpwiki 1.5.5 on mysql and I understand it is not
going to be usable in php7. I tried to setup a new phpwiki with db=file
but couldn't make it run at all (blank page), so no migration possible,
either.
Any suggestion?
As an alternative, has anyone successfully migrated their phpwiki content
to another, more current wiki?
I look forward to responses! I've been running phpwiki a LONG time at
http://bh.hallikainen.org/ . It still runs, but am worried about it
stopping. One thing on exports and imports to another wiki is that, I
THINK, exports include only the wiki pages, not the uploads. My wiki is
generally all uploads with links to them.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com
Not sent from an iPhone.
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=25#3d43/d353
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/discussion/18928/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
Also I get a warning on a freshly created Homepage
PHP Warning
Warning: "The each() function is deprecated. This message will be suppressed on further calls"
Notice: "Undefined index: relation"
Also, at the bottom, Special Actions:
Notice: "Undefined index: relation"
I just tried to import my pages, generally it worked but got those warnings at the end
Warning: "The each() function is deprecated. This message will be suppressed on further calls"
Warning: "Declaration of WikiPlugin_WikiAdminSetAclSimple::setaclForm(&$header, $pagehash) should be compatible with WikiPlugin_WikiAdminSetAcl::setaclForm(&$header, $post_args, $pagehash)"
Some of the pages imported fine, some have this a couple of times in the middle of the page
ErrorManager: error while handling error:
Warning: "A non-numeric value encountered"
Last edit: nagelfar 2019-07-08
Hi nagelfar,
I am happy to know that you managed to get the "file" version, I never tried that.
Yes, as I said in a previous message, mysql mostly works with PHP 7. Issues are on login and account creation.
Best regards
From: nagelfar nagelfar666@users.sourceforge.net
Sent: Monday, July 08, 2019 9:51 PM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Run phpwiki on php7 or migrate to an alternative?
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=25#f548
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/discussion/18928/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi nagelfar,
I commited a fix in Subversion trunk. Login should now work in PHP 7.
Can you give it a try?
Best regards
From: Marc-Etienne Vargenau vargenau@users.sourceforge.net
Sent: Tuesday, July 09, 2019 6:18 PM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Re: Run phpwiki on php7 or migrate to an alternative?
Hi nagelfar,
I am happy to know that you managed to get the "file" version, I never tried that.
Yes, as I said in a previous message, mysql mostly works with PHP 7. Issues are on login and account creation.
Best regards
From: nagelfar nagelfar666@users.sourceforge.netnagelfar666@users.sourceforge.net
Sent: Monday, July 08, 2019 9:51 PM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Run phpwiki on php7 or migrate to an alternative?
I managed to setup a "file" version using the trunk source on php 7.3. It generally works aka I can open the site but it is really, really slow. Should mysql also work using the trunk version?
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=25#f548
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/discussion/18928/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=100#f548/a784
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/discussion/18928/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Very nice, can confirm, that login works on php7, thanks a lot!
Hi nagelfar,
Fix is not 100% done, saving UserPreferences does not work with this fix.
I am checking why.
From: nagelfar nagelfar666@users.sourceforge.net
Sent: Thursday, August 01, 2019 1:04 AM
To: [phpwiki:discussion] 18928@discussion.phpwiki.p.re.sourceforge.net
Subject: [phpwiki:discussion] Re: Run phpwiki on php7 or migrate to an alternative?
Very nice, can confirm, that login works on php7, thanks a lot!
Run phpwiki on php7 or migrate to an alternative?https://sourceforge.net/p/phpwiki/discussion/18928/thread/5a4e5b6a73/?limit=25#f548/a784/5da2/a7dd
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/phpwiki/discussion/18928/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I've never used UserPreferences but if you have another version you want me to test let me know.
I managed to get it running on php 7.1. I did a fresh install of /trunk and copied the config.ini file from the "old" wiki to the new one. Had to change the DB connect string from mysql to mysqli to get it working.
Can confirm that login doesn't work (gives me a blank screen).
Also, there is an issue if you run on anything higher than php 7.1
lib/DbSession/SQL.php:45 Error: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name()