CMS MADE SIMPLE FORGE

plFileHandler

 

[#6706] Does not support https protocol

avatar
Created By: Prue Rowland (psy)
Date Submitted: Thu Jul 28 01:03:20 -0400 2011

Assigned To:
Version: plFileHandler 0.4.1
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
Does not support https protocol
Detailed Description:
Files upload correctly to the nominated uploads directory however nothing is
displayed to the user as every URL created assumes $config['root_url'] with no
allowance for $config['ssl_url'] or $config['ssl_uploads_url'].

Nothing is written to the database in CTLModuleMaker.

All worked fine prior to installing the SSL certificate.


CMSMS V1.9.4.1
plFileHandler 0.4.1
CTLModuleMaker 2.0.3


PS: Problem seems to originate in plFileHandler.module.php here:


  function GetReturnScript($close=true){
    return '
   <script type="text/javascript">
   function plFileHandler_return(returnValue, pictoshow){
   if(parent && parent.plFileHandler){
   parent.plFileHandler.do_return(returnValue, pictoshow);
   }else{
   if(plFileHandler)	plFileHandler.do_return(returnValue, pictoshow);
   }
   }
   '.($close?'</script>
   ':'');
  }

Error message returned by Firebug:
Permission denied to access property 'plFileHandler'
http://mysite.com/modules/plFileHandler/bg_upload.php
Line 22

Have tried lots of different config settings in both plFileHander and
CTLModuleMaker without success.
Please help fix.
Thx


History

Comments
avatar
Date: 2011-09-21 15:48
Posted By: Pierre-Luc Germain (plger)

I think changing the line
$baseurl = $gCms->config['root_url'].'/modules/plFileHandler/';
in action.default.php would be sufficient...
      
Updates

Updated: 2011-07-28 02:54
description: Files upload correctly to the nominated uploads directory however nothing is displayed to the user as every URL created assumes $config['root_url'] with no allowance for $config['ssl_url'] or $config['ssl_uploads_url']. Nothing is written to the databa => Files upload correctly to the nominated uploads directory however nothing is displayed to the user as every URL created assumes $config['root_url'] with no allowance for $config['ssl_url'] or $config['ssl_uploads_url']. Nothing is written to the databa

Updated: 2011-07-28 01:35
description: Files upload correctly however nothing is displayed to the user as every URL created assumes $config['root_url'] with no allowance for $config['ssl_url'] or $config['ssl_uploads_url']. CMSMS V1.9.4.1 plFileHandler 0.4.1 CTLModuleMaker 2.0.3 => Files upload correctly to the nominated uploads directory however nothing is displayed to the user as every URL created assumes $config['root_url'] with no allowance for $config['ssl_url'] or $config['ssl_uploads_url']. Nothing is written to the databa
resolution_id: => 5
severity_id: 2 => 1