Welcome Guest, Not a member yet? Register   Sign In
Integrating a CI site
#1

[eluser]Unknown[/eluser]
Dear CodeIgniters,

I am trying to move an excising codeignited website to my Joomla website, so I can include the index.php within a Joomla (k2) template. The first step succeeded, so there is a working copy:

From: http://checkjekamer.nl (public_html contents)
To:
http://www.lsvb.nl/templates/bisous/html.../index.php

However, when i include the latter url, I get a CodeIgniter error:

Quote:Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

It must have to do something with index.php not finding the system folder, but until now I was unable to find a solution.

Can you please help?

Thanks!
#2

[eluser]Tpojka[/eluser]
I'm afraid there is some coding horror of mixing files and folders,
but you can check your CI by adding /welcome after index.php in URL.
#3

[eluser]CroNiX[/eluser]
in index.php, try changing the system folder to be a full path instead of relative. You might have to do that with the application folder and others as well.

So instead of:
Code:
$system_path = 'system';
use
Code:
$system_path = '/path/to/system';

The default assumes system dir is in the same location as CI's index.php.

You might have a lot of similar issues trying to integrate CI with joomla. It's really meant to be a standalone app.




Theme © iAndrew 2016 - Forum software by © MyBB