Welcome Guest, Not a member yet? Register   Sign In
CI checking permitted URI chars....in a perl script?!?!
#9

[eluser]jrlooney[/eluser]
Thanks again Fuzzy.

So let's see. I can definitely confirm that CodeIgniter loads the inital screen, but all subsequent calls are non CI. The string of calls looks like this:

cm.php (CI, loads a simple view)

Code:
function publish_site()
{
  $this->load->view('header.php',  array('hide_nav'=>true));
  $this->load->view('setting_publish_site_view');
  $this->load->view('footer.php');
}

Within that view (setting_publish_site_view), a system call executes for the first perl script:

Code:
$output = shell_exec("perl /home/acuweb/public_html/cgi-bin/aw/compile.pl ".$_GET['s']);

compile.pl gathers some environment vars and then calls the main perl script that builds the HTML for the site:

Code:
my $command = "/usr/bin/perl -T  acuweb.cgi a=compileWebsite s=$site";

and that perl script is the one that eventually calls the non-CI PHP script that generates the dropdown navigation for the website being compiled:

Code:
my $phppath = $1 if (AcuLib::cl("/usr/bin/php") =~ /(.+)/);
my $scriptpath = $1 if (AcuLib::cl("/home/acuweb/public_html/cgi-bin/aw/generatesuperfish.php") =~ /(.+)/);
my $scenario = $1 if (AcuLib::cl("$main::form{'s'}") =~ /(.+)/);
my $output = `$phppath $scriptpath $scenario`;

*********
I turned on profiling for that controller that loads the initial view. nothing looks weird. Do you know if there is more detailed logging beyond profiler?

Code:
MEMORY USAGE   2,951,704 bytes
BENCHMARKS  
    Loading Time Base Classes   0.0084
    Controller Execution Time ( Setting / Publish Site )   0.3104
    Total Execution Time   0.3189
URI STRING  
    No URI data exists
GET DATA  
    $_GET['c']    setting
    $_GET['m']    publish_site
    $_GET['x']    031913133240
    $_GET['s']    demo
POST DATA  
    No POST data exists
QUERIES (0)  
    No queries were run


Messages In This Thread
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-15-2013, 10:45 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-15-2013, 02:00 PM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-15-2013, 02:11 PM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-15-2013, 06:01 PM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-15-2013, 06:38 PM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-16-2013, 03:05 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 06:39 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 07:16 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 07:29 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 07:42 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 07:45 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 07:57 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 08:02 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 08:03 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 08:12 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 08:38 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 09:47 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:00 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:04 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:12 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:12 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:15 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:24 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 03-19-2013, 10:35 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 04-05-2013, 08:25 AM
CI checking permitted URI chars....in a perl script?!?! - by El Forum - 04-05-2013, 08:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB