![]() |
many problems on real web server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: many problems on real web server (/showthread.php?tid=29657) |
many problems on real web server - El Forum - 04-16-2010 [eluser]Unknown[/eluser] hi there, i'm new in a codeigniter so i have few questions and problems: http://pbury-test.c0.pl/musicCI2/index.php this link supposed to move you to my site but... i have to put: http://pbury-test.c0.pl/musicCI2/index.php/musicGlowna to get there. i donno why because on my local serwer(xampp) this works fine. in addition i've put the default controller in my routes file. next problem is my paths. i have a function in my class (not in a controller) like this: Code: public function tworzGalerie(){ this function should make an image gallery on ma view page. $sciezka is a path to the folder with images. and again: on local works gr8 and on web server it doesnt see files:/ the 3rd problem is a agile carousel problem. here is my config: Code: <div id="slide_holder"><img class="loading" src="agile_carousel/images/ajax_loader.gif" alt=""/> and 3 declarations in header: Code: <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>agile_carousel/carousel_glowna.css"/> the same thing: local ok, web server not:/ many problems on real web server - El Forum - 04-17-2010 [eluser]Tominator[/eluser] Hi, You have bad coding style. First: You should not use echo ... try to use view() or template parser. Second: You should use spaces ... Third: Enable showing error on your PHP via: Code: error_reporting(E_ALL); Your first problem may be using constuctor in your "default" class. Default means default constructor class, it's default welcome.php. In your second problem you should try: echo __FILE__;, to set your paths correctly. Your second problem is unreadable ![]() |