![]() |
Server problems - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Server problems (/showthread.php?tid=2698) |
Server problems - El Forum - 08-20-2007 [eluser]ouzodestructo[/eluser] Hi I am new to Codeigniter and have been enjoying building my first site with it. I've come across a problem when uploading my site to my server though. You can check it out at www.mazar.com.au. The homepage loads fine so I know its all configured correctly. Then, clicking the first menu item 'Campaigns' should deliver me to the campaigns page, which it does on my local, but on the online server I get a '404 Not Found' error. And its not the Codeigniter generated 404 which is strange. I don't know where to look to solve this because it works on my local and the homepage on this server works fine. I know i've configured the site correctly too, so I'm a little confused. Is it possible that it may be a problem with the server? I have bought web space with servage.net who use clustered servers but I previously have had no problems with them tho. Can anyone help me with this? Server problems - El Forum - 08-20-2007 [eluser]richard_ctv[/eluser] Have you changed the config file to use you live urls? Server problems - El Forum - 08-20-2007 [eluser]Crimp[/eluser] If I enter http://www.mazar.com.au/index.php/campaigns i get the right controller (with some coding errors). Look at .htaccess to correctly remove index.php (many, many ex. in forum) or use the index.php in your URLs. Server problems - El Forum - 08-20-2007 [eluser]John_Betong[/eluser] Hi ouzodestructo, I just tried http://www.mazar.com.au/index.php/campaigns and it looks as though you are unable to connect to your database: Code: A PHP Error was encountered Clear the above error first then move on to your next error - isn't programming fun ![]() Cheers, John_Betong Server problems - El Forum - 08-20-2007 [eluser]ouzodestructo[/eluser] I reckon its the .htaccess file will nail the problem. Thanks! Then I can fix the database issue! YAY! Thanks for your help all! |