Welcome Guest, Not a member yet? Register   Sign In
debugging "No Script access allowed"! weird
#3

(11-10-2020, 12:44 PM)InsiteFX Wrote: if you changed the default CI 4 folders like all of them being in the root then you will need to
edit the spark file and change the public path to where spark is now.

The error you are stating is from a CI 3 folder access.

hi based on the below could you help point out exactly what you mean?


tauenjic@c01 [~/code.tauenji.com/install]# pwd
/home/tauenjic/code.tauenji.com/install
tauenjic@c01 [~/code.tauenji.com/install]# ls
README.md  builds  ci-news        composer.lock    env        images    license.txt      public      readme.rst  spark.save  tests  writable
app        cgi-bin  composer.json  contributing.md  error_log  index.php  phpunit.xml.dist  public.zip  spark      system      vendor
tauenjic@c01 [~/code.tauenji.com/install]#



|||||||||||||| ||||||||||||||||||||||
VVVVVVVVVVVVVV -THIS IS THE SPARK FILE- VVVVVVVVVVVVVVVVVVVVVV

// Path to the front controller
define('FCPATH', __DIR__ . '/public' . DIRECTORY_SEPARATOR);

// Load our paths config file
require 'app/Config/config.php';
// ^^^ Change this line if you move your application folder

$paths = new Config\Paths();

// Ensure the current directory is pointing to the front controller's directory
chdir(FCPATH);

$app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php';

// Grab our Console
$console = new \CodeIgniter\CLI\Console($app);

// We want errors to be shown when using it from the CLI.
Reply


Messages In This Thread
RE: debugging "No Script access allowed"! weird - by gelson - 11-11-2020, 03:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB