Welcome Guest, Not a member yet? Register   Sign In
Moving CI website to another server - only blank page showing
#26

(This post was last modified: 07-04-2018, 11:10 PM by John_Betong.)

(07-03-2018, 10:56 PM)skindci Wrote: So I changed the driver from mysql to mysqli in database.php.
I got many error messages, when I load the page:
...
...
...
May I do something to fix these errors? :/


The steps I usually take to find errors:

1. The generated log file can be deleted or renamed if you are paranoid.

2. The log file indicates how far CI progressed before reaching an error which prevents further execution.

3. Always assume the CI/system folder is not the problem and not to be modified.

4. Try to fix the first error shown in your own CI/application folder and ignore subsequent errors.

5. From the log shown:

PHP Code:
ERROR 2018-07-04 07:50:46 --> SeverityNotice  --> Undefined variablerow /var/www/html/szig/application/views/main_view.php 12
ERROR 
2018-07-04 07:50:46 --> SeverityNotice  --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 12 


Find and fix the above error and with a bit of luck...
Reply


Messages In This Thread
RE: Moving CI website to another server - only blank page showing - by John_Betong - 07-04-2018, 11:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB