PHP 7 Working (mostly)

ragni
Posts: 5
Joined: 2018-03-21 01:29

PHP 7 Working (mostly)

Postby ragni » 2019-06-03 02:02

Sorry to start a new thread regarding MX Kollection and PHP7 but I didn't want this info to get burried.

I'm currently using MX Kollection with PHP 7.1 and have only come across a couple of issues which I managed to solve.

After many tries and solutions offered in other threads my findings are here:

In one post the suggestions is to use a mysql to myslqi wrapper available on an external site: mysql2i.class which I did

try to use it but the issue here is that a DW connection cannot be made since DW does this internally. I tried messing

around on the connection scripts found at _mmServerScripts and trying to load the wrapper in the first line but it didn't

work for me so this solution was discarded.

Then I remembered that some time ago I used the Phakt 3.71 extension for a project with MS SQL Server so I had to go back

to DW8 from DWCS4 and install DW8 the 8.02 update, the Phakt 3.71 extension and MXKollection. This is the combo that's

working but it wasn't all automatic.

Once you install the extensions create a PHP4 document type and try to create a connection. DW will ask you to upload the

adodb folder but you must not upload the one created automatically, instead install the one that's a vailable on the

Friends of Interakt website, it's a patch that will correctly work with mysqli instructions.

Once you upload the updated adodb folder finish filling your connection and select MySQli as the database type, fill in all fields as per your database and include the database name, this is important because if you try to select it from the connection dialog you'll get a 500 error.

Once you're done hit the Test button and you'll get a successful connection message (hopefuly).

I've tested lists and forms and they work fine except for file uploads, these files related to uploads had to be corrected by replacing the "split" function with "explode", just change the word split with explode KT_FileUpload.class.php and KT_Folder.class.php. I haven't tried multiple file uploads or login transactions yet but the lists and forms that really save a lot of work and the reason why I still love these extensions still work.

Hope this helps someone. As for me I now know I can still stretch working with interakt products for at least 5 more years.

I use windows 7 and will probably have to upgrade my OS to say windows 10 sooner or later, I just hope I can still install DW8 in newer OS's, if not I'll resort to a virtual machine with windows 7 or something along those lines.

Please let me know if I can assist you trying to acomplish what I've described here.
energylevels
Posts: 6
Joined: 2012-07-22 15:40

Re: PHP 7 Working (mostly)

Postby energylevels » 2019-06-09 07:15

I'm using Kollection with PHP 7.2 and the PHAKT (extension) server model (ADODB PHP) with MySQLi
ragni
Posts: 5
Joined: 2018-03-21 01:29

Re: PHP 7 Working (mostly)

Postby ragni » 2019-06-09 08:43

Great to know about MXKollection working on PHP 7.2! I just upgraded my PHP version too to 7.2 and it works like a charm with the PHP 5.5 patch found on this website that fixed the upload and resize image that wasn't working but it seems that the update broke the filters on my lists, filters show but on submit nothing gets filtered. Do you have that issue?

I've done some fiddling with the css to make MXKollection look a little less outdated:

https://seven.igmex.com/mx.jpg

Return to “General Chit Chat”

Who is online

Users browsing this forum: No registered users and 0 guests