Closed winetou closed 7 years ago
Hi there.... looks like the session isnt being maintained so your project name is being lost.
I'll investigate, can you confirm that the normal reportico designer works fine?
Can you also correct the spelling mistake...
$engine->emmbedded_report = true;
should be
$engine->embedded_report = true;
Peter
Hi Peter,
i found out the problem. It's the session parameter in the yii2 config.
Default is:
'session' => [ 'name' => 'FRONTENDSESSID', 'cookieParams' => [ 'httpOnly' => true, 'path' => '/', ],
when delete the session in my config then work fine.
Roland
my ../reportico/config.php ``
// Path relative to public where reportico assets are 'path_to_assets' => 'packages/reportico/reportico',
i set this in my report $engine->access_mode = "REPORTOUTPUT"; // Allows access to single specified report $engine->initial_project_password = "listen"; $engine->initial_execute_mode = "PREPARE"; // Starts user in report criteria selection mode $engine->initial_project = 'reports'; // Name of report project folder $engine->initial_report = 'jahresliste'; // Name of report to run $engine->bootstrap_styles = "3"; // Set to "3" for bootstrap v3, "2" for V2 or false for no bootstrap $engine->clear_reportico_session = true; // Normally required $engine->bootstrap_preloaded = false; // auf false setzen da sonst kein modaler Dialog angezeigt wird bei einem Fehler $engine->emmbedded_report = true; $engine->execute();
after execute the criteria report
then click "submit" reportico search the "jahresliste" in the folder "admin" instead of "reports"