• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem when going live with application

#1
[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/

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

#3
[eluser]nigelb[/eluser]
it is

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

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

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

try changing the method name.

#6
[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

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

glad it works.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.