Hello, and thanks for the developers of GCRUD lib.
First of all, I'm sorry for my bad english.
I have a question.
I installed CI and GCRUD today.
Even I once installed them both on my own laptop with XAMPP apache, i have no problem, I placed in the same directory of index.php
today, i install them both on my web server. it got errors.
I'm using CPanel.
Here's my directory placement
[attachment=562:ci.bmp]
i put index on public folder, i config it on index.php like this
$system_path = '../system'; $application_folder = '../application';
(and as addtitional info, i made a sub domain right to my ci's public directory.)
but in the end, when i open ci.(mysite).com/index.php/examples/film_management, i got these errors
A PHP Error was encountered Severity: Warning Message: include(assets/grocery_crud/languages/english.php) [function.include]: failed to open stream: No such file or directory Filename: libraries/grocery_crud.php Line Number: 3485 A PHP Error was encountered Severity: Warning Message: include(assets/grocery_crud/languages/english.php) [function.include]: failed to open stream: No such file or directory Filename: libraries/grocery_crud.php Line Number: 3485 A PHP Error was encountered Severity: Warning Message: include() [function.include]: Failed opening 'assets/grocery_crud/languages/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') Filename: libraries/grocery_crud.php Line Number: 3485 A PHP Error was encountered Severity: Notice Message: Undefined variable: lang Filename: libraries/grocery_crud.php Line Number: 3487 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: libraries/grocery_crud.php Line Number: 3487 A PHP Error was encountered Severity: Notice Message: Undefined index: form_inactive Filename: libraries/grocery_crud.php Line Number: 3555 A PHP Error was encountered Severity: Notice Message: Undefined index: form_active Filename: libraries/grocery_crud.php Line Number: 3555 A PHP Error was encountered Severity: Warning Message: include(assets/grocery_crud/themes/datatables/config.php) [function.include]: failed to open stream: No such file or directory Filename: libraries/grocery_crud.php Line Number: 2489 A PHP Error was encountered Severity: Warning Message: include(assets/grocery_crud/themes/datatables/config.php) [function.include]: failed to open stream: No such file or directory Filename: libraries/grocery_crud.php Line Number: 2489 A PHP Error was encountered Severity: Warning Message: include() [function.include]: Failed opening 'assets/grocery_crud/themes/datatables/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') Filename: libraries/grocery_crud.php Line Number: 2489 A PHP Error was encountered Severity: Notice Message: Undefined variable: config Filename: libraries/grocery_crud.php Line Number: 2491 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /ci/system/core/Exceptions.php:185) Filename: core/Common.php Line Number: 442 An Error Was Encountered The template does not exist. Please check your files and try again. --- #0 /ci/application/libraries/grocery_crud.php(3916): grocery_CRUD_Layout->set_basic_Layout() #1 /ci/application/controllers/examples.php(43): grocery_CRUD->render() #2 [internal function]: Examples->offices_management() #3 /ci/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #4 /ci/public/index.php(202): require_once('') #5 {main}
can you give me the solution? i can ask me additional information if you want,