cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
TinyMCE button error (IIS)
November 26, 2007
8:08 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

There seems to be an issue with certain IIS servers and the TinyMCE button.

This will be fixed in v6.3, for the time being, you can patch js/insertdialog.php yourself. Simply replace the PHP code block at the top with:

$filedir = dirname(__FILE__);
if ( strpos($filedir, "/wp-content/") )
$IIS = "/";
else
$IIS = "\\\\";

$blogroot = substr($filedir,0,strpos($filedir,"wp-content{$IIS}"));
require_once($blogroot."wp-blog-header.php");

//IIS hack
if (!isset($_SERVER["REQUEST_URI"])){
if(isset($_SERVER["SCRIPT_NAME"]))
$_SERVER["REQUEST_URI"] = $_SERVER["SCRIPT_NAME"];
else
$_SERVER["REQUEST_URI"] = $_SERVER["PHP_SELF"];
}

$wwwURI = $_SERVER["REQUEST_URI"];
$x = strpos($wwwURI,"/wp-content/");
$tinyURI = substr($wwwURI,0,$x) . "/wp-includes/js/tinymce";

$a = substr($filedir, strpos($filedir,"{$IIS}wp-content{$IIS}plugins{$IIS}"));
$plugindir = substr($a , 0, strpos($a,"{$IIS}js") );
$pluginURL = get_settings("siteurl") . str_replace("\\\\","/",$plugindir);
?>

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3739

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5339

Posts: 18706

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)