CodeIgniter Forums
CI3 "default+index" folder is being created in root - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: Issues (https://forum.codeigniter.com/forum-19.html)
+--- Thread: CI3 "default+index" folder is being created in root (/thread-61890.html)



CI3 "default+index" folder is being created in root - andros - 05-28-2015

i have noticed that CI3 creates a folder "default+index" automatically in root

i my working folder i have

application
system

and now folder the "default+index" keeps being generated each time i access any page on my website...

and inside there is a file with the following contents:

O:12:"CI_DB_result":8:{s:7:"conn_id";N;s:9:"result_id";N;s:12:"result_array";a:0:{}s:13:"result_object";a:0:{}s:20:"custom_result_object";a:0:{}s:11:"current_row";i:0;s:8:"num_rows";i:0;s:8:"row_data";N;}


can somebody please tell me whats going on Smile

i have never seen this before Smile

i am running windows 7 WAMP

Thank You


RE: CI3 "default+index" folder is being created in root - CroNiX - 05-28-2015

Looks like you have some sort of caching enabled somewhere within CI, and it's set to write to that dir. Check whether you have cache_on enabled in your db config, and also what location cachedir is set to. Default is empty string, which could very well be the root dir of your site.


RE: CI3 "default+index" folder is being created in root - andros - 05-29-2015

That was it... spot on.. thanks for your help Smile