CodeIgniter Forums
Problem when going live with application - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Problem when going live with application (/showthread.php?tid=7924)



Problem when going live with application - El Forum - 04-28-2008

[eluser]nigelb[/eluser]
which have built an application which performs faultlessly when it is installed on our development server. However when we move it to the clients live web server we are seeing a 404 error page when loading a address in the format...

http://www.domain.com/db/index.php/dropdown/model

any ideas? We have tried playing around with the URL Protocol but didnt get anywhere/


Problem when going live with application - El Forum - 04-28-2008

[eluser]xwero[/eluser]
the base_url is not http://www.domain.com/db/ ?


Problem when going live with application - El Forum - 04-28-2008

[eluser]nigelb[/eluser]
it is


Problem when going live with application - El Forum - 04-28-2008

[eluser]xwero[/eluser]
I had to ask because it's something you can easily overlook, i know from own experience Smile

and is the url routed or is it a plain controller/method url?


Problem when going live with application - El Forum - 04-28-2008

[eluser]gtech[/eluser]
$config['index_page'] = 'index.php' ?

IF YOU ARE RUNNING PHP 4 MODEL IS A RESERVED WORD?

try changing the method name.


Problem when going live with application - El Forum - 04-28-2008

[eluser]nigelb[/eluser]
[quote author="gtech" date="1209400691"]
IF YOU ARE RUNNING PHP 4 MODEL IS A RESERVED WORD?

try changing the method name.[/quote]

Fixed... thanks very much.

I had developed it on PHP5, not realising that my client had version 4


Problem when going live with application - El Forum - 04-28-2008

[eluser]gtech[/eluser]
Thats one of those head banging errors, I had the same problem when naming my method name view.

glad it works.