CI 3.0.3 site_url Not Working On Different Port |
I have a site on my localhost:86 . Before upgrading from CI 3.0 to 3.0.3 it can detect port of my site from site_url('default/index') but after upgrade; it can't detect port number.
I'm a person from Turkiye. I don't know English very well and i can't write what i want to say sometimes (as now happenes
![]() If i write something by mistake; please don't distress it and try to understand what i want to write. (12-03-2015, 03:17 AM)kenjis Wrote: Set $config['base_url']. When i set it, it still returns false. Before upgrade to 3.0 to 3.0.3, site_url('index/xxx') function returned as http://localhost:86/index.php/index/xxx.html but after upgrade it returned as http://localhost/index.php/index/xxx.html
I'm a person from Turkiye. I don't know English very well and i can't write what i want to say sometimes (as now happenes
![]() If i write something by mistake; please don't distress it and try to understand what i want to write.
You must set $config['base_url'] = 'http://localhost:86/';
or http://forum.codeigniter.com/thread-6357...#pid325579
You may also need to fill in the $config['index_page'] = 'index.php';
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(12-06-2015, 04:25 AM)InsiteFX Wrote: You may also need to fill in the $config['index_page'] = 'index.php'; I have revert my site to previous version. Thank you for your reply but i can't test it yet. I will do it and write feedback; Thanks again.
I'm a person from Turkiye. I don't know English very well and i can't write what i want to say sometimes (as now happenes
![]() If i write something by mistake; please don't distress it and try to understand what i want to write. |
Welcome Guest, Not a member yet? Register Sign In |