KTML for Dreamweaver Forum :: Illegal Request - Remote File Explorer - KTML 4 PHP
This thread was displayed: 0 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
metho freelance
08-08-2007 21:32:48 GMT +2
|
KTML 4 Dreamweaver PHP 4.4.7 on Linux Server
I searched the forum for Illegal Request errors from the Remote File Explorer and exausted the obvious fixes; so I put KTML into debug mode so that developer errors show.
includes/ktm/core/ktml.js > search for "ktmlDevelopment=false" > change to "ktmlDevelopment=true".
Refreshed or reloaded the page and open File Explorer again to receive the debug error:
Warning preg_match() function preg-match unknown modifier "|"
includes/ktm/plugins/modules/folder/service/ktml_mspl_folder.class.php
line: 336
PHP returned the warning when the "/" character appears within the pattern to be matched, ie the RejectedFolders array: [0] => .thumbnails which is a KTML default value
Open your file with the KTML4 editer inserted and delete "/" from ".thumbnails/" the line:
$ktml_content->setModuleProperty("filebrowser", "RejectedFolders", ".thumbnails/", false);
Now this page worked fine on IIS5, IIS6 and a linux server running php v5.2. Either configurations in php.ini or php v4.4.7 made the regex function die. Here's the config entries that contain regex commands:
'--enable-force-cgi-redirect' '--disable-debug' '--enable-cli' '--enable-cgi' '--enable-memory-limit' '--enable-zend-multibyte' '--with-regex=php' '--enable-mbstring=all' '--enable-mbregex' '--enable-dio' '--enable-versioning' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-sockets' '--enable-exif' '--with-pcre-regex=/usr/local' '--with-ic '--with-gdbm=/usr/local' '--with-db3=/usr/local'
|
|
|