Still Here

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

Re: Still Here

Post by ragni » 2021-02-03 17:41

Thank you for posting the files Fred.

One last thing, when opening files after starting dreamweaver the Server Behaviours will seem to be broken, you just have to go to the Databases tab and double click the database name, this will open the connection properties, click on the Test button and the success message will popup, after this you can work normally until you close DW and start it again. You have to do this only once when opening your projects.

dotuven
Posts: 3
Joined: 2020-11-06 12:23

Re: Still Here

Post by dotuven » 2021-02-10 12:16

Hi,
Many thanks for your update and help! :)
I've been following the instructions given thoroughly, but in the end I struggle with a message from DW that says "The files from the _mmServerScripts folder are for the server model PHP-ADODB. You try to connect to a database using a different server model." etc. when I test the adodb connection after (and before as well) updating the adodb and includes folder.
I have removed _mmServerScriptsfolder both from server and local but the problem remains. The files in this folder contains ADODB.php and MMHTTPDB.php.
I cannot figure out why I get this error message, or what I'm doing wrong.
Any suggestions?

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

Re: Still Here

Post by ragni » 2021-03-02 12:53

Sorry for the late reply. Plase click on the "Site" menu then "Manage sites", select your site and press "Edit", click on the "Advanced" tab and then click on "Testing Server", go to the "URL prefix" field and make sure that the url's protocol matches the one from your site, make sure you are using the correct one (http://xxxxxxx.xxx or https://xxxxxxxx.xxx) also check to see if your server makes any redirects to the homapage url, for example in my server I can set my domain to always include the "www." so if I type https://mydomain.com the URL automatically changes to https://www.mydomain.com/ and that's what I have to type in on the "URL Prefix" entry. Please make sure that this is correct.

Also check that you have an open document that's been already saved including this line: <?php //PHP ADODB document - made with PHAkt 3.7.1?> when testing the connection.

sfonseca45
Posts: 5
Joined: 2019-06-27 20:38

Re: Still Here

Post by sfonseca45 » 2021-05-10 20:09

I followed all the steps ... I installed Dreamweaver 8 ... I upgraded to 8.02 ... I installed the extensions: MX_Kollection3_Pro_3.7.1 and PHAkt_3.7.1 ... I created the site and in Serve Technology I put PHP ADODB ... I created a test.php file and it came as you described: "<? php // PHP ADODB document - made with PHAkt 3.7.1?>" ... I create the connection ... Dreamweaver creates the folders ... I do the replacing files ... when I try to connect to the database it gives me the following error: "An unidentifed error has occurred" .... What I did: uninstalled the extensions, uninstalled Dreamweaver and redid everything. .. but it did not solve the error continues ... would you have any idea how to solve it?

ianraba
Posts: 34
Joined: 2010-06-24 17:44

Re: Still Here

Post by ianraba » 2021-05-13 23:43

Hi
I have tested ok with the replaced includes and adodb folder updates
and a simple output of a recordset works great with php7.4, i tried 8, did not work

but i get the following errors in my root error.log with php 7.4

[13-May-2021 22:38:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/xxxx/public_html/adodb/adodb.inc.php on line 265
[13-May-2021 22:38:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/xxxx/public_html/adodb/adodb.inc.php on line 2914
[13-May-2021 22:38:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/xxxx/public_html/adodb/adodb.inc.php on line 3950
[13-May-2021 22:38:58 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KT_ADORecordSet_mysqli has a deprecated constructor in /home/xxxx/public_html/adodb/Iakt/drivers/KT_adodb-mysqli.inc.php on line 91
[13-May-2021 22:38:58 UTC] PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/xxxx/public_html/Connections/xxxx.php on line 60

Ok, i turned off deprecated warnings
and added a master detail page set
now get these
[13-May-2021 23:15:26 UTC] PHP Warning: Declaration of tNG_multiple::getFieldError($fName, $cnt) should be compatible with tNG_fields::getFieldError($fName) in /home/xxxx/public_html/includes/tng/tNG_multiple.class.php on line 147
[13-May-2021 23:15:26 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:15:26 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:15:26 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:15:26 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: Declaration of tNG_multiple::getFieldError($fName, $cnt) should be compatible with tNG_fields::getFieldError($fName) in /home/xxxx/public_html/includes/tng/tNG_multiple.class.php on line 147
[13-May-2021 23:16:58 UTC] PHP Warning: Declaration of tNG_multiple::getFieldError($fName, $cnt) should be compatible with tNG_fields::getFieldError($fName) in /home/xxxx/public_html/includes/tng/tNG_multiple.class.php on line 147
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: Parameter 1 to Trigger_Default_Starter() expected to be a reference, value given in /home/xxxx/public_html/includes/tng/tNG.class.php on line 217
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: Parameter 1 to Trigger_Default_Starter() expected to be a reference, value given in /home/xxxx/public_html/includes/tng/tNG.class.php on line 217
[13-May-2021 23:16:58 UTC] PHP Warning: Parameter 1 to Trigger_Default_Starter() expected to be a reference, value given in /home/xxxx/public_html/includes/tng/tNG.class.php on line 217
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:58 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: Declaration of tNG_multiple::getFieldError($fName, $cnt) should be compatible with tNG_fields::getFieldError($fName) in /home/xxxx/public_html/includes/tng/tNG_multiple.class.php on line 147
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371
[13-May-2021 23:16:59 UTC] PHP Warning: Parameter 1 to Trigger_Default_Starter() expected to be a reference, value given in /home/xxxx/public_html/includes/tng/tNG.class.php on line 217
[13-May-2021 23:16:59 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 5 in /home/xxxx/public_html/includes/common/KT_functions.inc.php on line 1371

The master list and detail edit work as expected just my error log will spiral out of control size wise with these notifications....
lots of duplications
Any ideas ?
Last edited by ianraba on 2021-05-14 00:20, edited 2 times in total.

ianraba
Posts: 34
Joined: 2010-06-24 17:44

Re: Still Here

Post by ianraba » 2021-05-13 23:47

Also should my database connection be permanent connection or just connection?

ianraba
Posts: 34
Joined: 2010-06-24 17:44

Re: Still Here

Post by ianraba » 2021-05-14 09:50

Ok, after triple checking what i had uploaded and then re-uploading again the patched files
clearly my user error that they all hadn't uploaded first time!!

All works perfectly so far, no errors!
custom recordsets and repeat regions all working exactly as they should plus Master Detail lists/forms all without errors

should my database connection be permanent connection or just connection?

to say i am thrilled at being able to use 7.4 is beyond words... thanks Ragni, much appreciated

So now to get it to work with php8?
Is this likely to be impossible with so many deprecated functions like __autoload etc?

ianraba
Posts: 34
Joined: 2010-06-24 17:44

Re: Still Here

Post by ianraba » 2021-05-14 22:08

Ok, still working on this and adding more functions
getting an error for includes/common/KT_functions.inc.php
line 1371 needs the hyphen escaped
if (!preg_match('/^([\d-\/\[\]\(\)\s\*\|\+\.:=,]|a|p|am|pm)+$/i', $date)) {
better it goes to the front like this:
if (!preg_match('/^([-\d\/\[\]\(\)\s\*\|\+\.:=,]|a|p|am|pm)+$/i', $date)) {

then there is the following errors for includes/tng/tNG.class.php on line 217 for 10 variations
PHP Warning: Parameter 1 to Trigger_Default_Starter() expected to be a reference, value given in
$ret = call_user_func_array($callBackFunction,$tempParam);

Any ideas?

sfonseca45
Posts: 5
Joined: 2019-06-27 20:38

Re: Still Here

Post by sfonseca45 » 2021-05-18 15:27

Good morning ... I don't know where to look anymore ... I continue with the error "an unidentifed error has occurred" ... I redid all the steps again and the error continues ... I'm using Windows 10 + Wampserver 3.2.0 ( PHP 7.4 - MYSql 8.0.18 - Apache 2.4.41) ... can someone shed some light? Thanks

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

Re: Still Here

Post by ragni » 2021-05-21 16:54

sfonseca, please double check your connection settings, specifically the ones on the third tab of the site definition section, the one labeled "Testing server" and specially the "URL prefix", if your site has an ssl certificate installed make sure the address begins with: https:// and not http:// this is a common mistake I've made a few times and it generally throws the error of using another server model.

Post Reply