Welcome Guest, Not a member yet? Register   Sign In
Server problems
#1

[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?
#2

[eluser]richard_ctv[/eluser]
Have you changed the config file to use you live urls?
#3

[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.
#4

[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

Severity: Notice

Message: Undefined property: CI_Loader::$db_session

Filename: campaigns/list.php

Line Number: 3
 
Clear the above error first then move on to your next error - isn't programming fun Smile
 
 
Cheers,
 
John_Betong
 
#5

[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!




Theme © iAndrew 2016 - Forum software by © MyBB