Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,993 members, 7,821,469 topics. Date: Wednesday, 08 May 2024 at 01:23 PM

PHP Script Works Fine On Local Server But Not On Live Server - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / PHP Script Works Fine On Local Server But Not On Live Server (1037 Views)

Help : My Php Email Script Works Only On Localhost / How do I access jQuery and bootstrap on local host? (solved) / Online Banking Php Script (2) (3) (4)

(1) (Reply) (Go Down)

PHP Script Works Fine On Local Server But Not On Live Server by BizBayo: 1:47pm On Feb 14, 2019
I have been trying to install a php script on live server, hosted by namecheap. But I keep getting errors, only the home page shows, but if I click on other links like create account, login, it will bring out error 404. But the script works well on local server with no error. Please what could be the cause?
Re: PHP Script Works Fine On Local Server But Not On Live Server by makavele: 3:24pm On Feb 14, 2019
More like caching or config issues.

which framework or just pure php?
Re: PHP Script Works Fine On Local Server But Not On Live Server by Bolaji21(m): 11:37am On Feb 15, 2019
BizBayo:
I have been trying to install a php script on live server, hosted by namecheap. But I keep getting errors, only the home page shows, but if I click on other links like create account, login, it will bring out error 404. But the script works well on local server with no error. Please what could be the cause?
It's might be an issue with htaccess. if you mention the script, someone might be able to provide better info as to what and where to check.
Re: PHP Script Works Fine On Local Server But Not On Live Server by BizBayo: 1:56pm On Feb 15, 2019
makavele:
More like caching or config issues.

which framework or just pure php?

The framework is codeigniter.
Re: PHP Script Works Fine On Local Server But Not On Live Server by BizBayo: 1:59pm On Feb 15, 2019
Bolaji21:

It's might be an issue with htaccess. if you mention the script, someone might be able to provide better info as to what and where to check.

The script name is Just Wallet V.2.0.4
Re: PHP Script Works Fine On Local Server But Not On Live Server by LaiveNg: 3:27pm On Feb 15, 2019
BizBayo:


The framework is codeigniter.
If it's CodeIgniter, then you probably have an issue with your base_url configuration. Specify your base_url and that should solve your problem.
Re: PHP Script Works Fine On Local Server But Not On Live Server by BizBayo: 4:22pm On Feb 15, 2019
LaiveNg:

If it's CodeIgniter, then you probably have an issue with your base_url configuration. Specify your base_url and that should solve your problem.

I think this could be the issue.. I will update you..

(1) (Reply)

If You Have Smartphone And A Paypal Account. Come And Earn Free Money / What Skill Should I Choose? / Trying To Incorporate Plugin Into Operamini 4.2

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.