Welcome Guest, Not a member yet? Register   Sign In
Blank page on the web server
#12

(This post was last modified: 05-07-2020, 02:43 PM by PHS.)

Thanks for the support!

First I need to clarify that I am using Hostgator vps hosting.

1 - I created a directory at the root of my server (/home/xxxnsp) and put the CodeIgniter files in the ci4 directory, as indicated by the blue arrow in the attached image or image below;

[Image: full.jpg]

2 - I created a folder in the public folder of the server (public_html/test), this folder is a subdomain, and placed the public CodeIgniter files in that location, as indicated by the red arrow in the image;

3 - I configured the index.php, located in the public_html/test directory, according to the code below:

PHP Code:
$pathsPath FCPATH '../../ci4/app/Config/Paths.php'


4 - I configured the App.php file, located in the root app/Config/App.php directory, according to the code below:

PHP Code:
public $baseURL 'https://test.inspex.com.br/'


5 - I didn't touch any other file or line of code.

Note: I'm still working on this project and just created this subdomain to be able to do the tests in a real server environment. After finishing the tests, I will delete this subdomain and put the public CodeIgniter files in the folder public_html.
Reply


Messages In This Thread
Blank page on the web server - by PHS - 04-14-2020, 06:48 PM
RE: Blank page on the web server - by John_Betong - 04-14-2020, 08:36 PM
RE: Blank page on the web server - by PHS - 04-15-2020, 06:39 AM
RE: Blank page on the web server - by John_Betong - 04-15-2020, 07:00 AM
RE: Blank page on the web server - by PHS - 04-15-2020, 10:29 AM
RE: Blank page on the web server - by John_Betong - 04-15-2020, 07:25 PM
RE: Blank page on the web server - by PHS - 04-17-2020, 07:13 AM
RE: Blank page on the web server - by maxxd - 04-17-2020, 03:31 PM
RE: Blank page on the web server - by PHS - 04-18-2020, 10:00 AM
RE: Blank page on the web server - by PHS - 04-21-2020, 02:55 PM
RE: Blank page on the web server - by John_Betong - 04-21-2020, 05:36 PM
RE: Blank page on the web server - by PHS - 04-21-2020, 07:23 PM
RE: Blank page on the web server - by John_Betong - 04-21-2020, 11:54 PM
RE: Blank page on the web server - by PHS - 04-22-2020, 07:09 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 07:14 AM
RE: Blank page on the web server - by PHS - 04-22-2020, 07:25 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 08:22 AM
RE: Blank page on the web server - by PHS - 04-22-2020, 11:26 AM
RE: Blank page on the web server - by John_Betong - 04-22-2020, 03:54 PM
RE: Blank page on the web server - by ivanfdr - 04-22-2020, 08:47 PM
RE: Blank page on the web server - by ivanfdr - 04-22-2020, 09:44 PM
RE: Blank page on the web server - by PHS - 04-23-2020, 07:12 AM
RE: Blank page on the web server - by John_Betong - 04-23-2020, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB