₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,119 members, 8,443,925 topics. Date: Sunday, 12 July 2026 at 06:54 PM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingPHP Script Works Fine On Local Server But Not On Live Server (1169 Views)

1 Reply (Go Down)

PHP Script Works Fine On Local Server But Not On Live Server by BizBayo(op): 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(op): 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(op): 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(op): 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

Help : My Php Email Script Works Only On LocalhostHow do I access jQuery and bootstrap on local host? (solved)[Advice] For New Programmers, what server-Side Programming Language Is The Best?234

Smartphone Cartoon Animation TrainingA Complete Process Of How To Hire Remote DevelopersHow Much Will It Cost To Build An App Like ABEG Or Hometown