Moving CI website to another server - only blank page showing |
So I changed the driver from mysql to mysqli in database.php.
I got many error messages, when I load the page: A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Number: 257 photo_id!=0) { ?> A PHP Error was encountered Severity: Notice Message: Undefined variable: row Filename: views/main_view.php Line Number: 12 A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object Filename: views/main_view.php Line Number: 12 "> A PHP Error was encountered Severity: Notice Message: Undefined variable: row Filename: views/main_view.php Line Number: 12 The log: ERROR - 2018-07-04 07:50:45 --> Severity: Notice --> Only variable references should be returned by reference /var/www/html/szig/ci/core/Common.php 257 DEBUG - 2018-07-04 07:50:45 --> Config Class Initialized DEBUG - 2018-07-04 07:50:45 --> Hooks Class Initialized DEBUG - 2018-07-04 07:50:45 --> Utf8 Class Initialized DEBUG - 2018-07-04 07:50:45 --> UTF-8 Support Enabled DEBUG - 2018-07-04 07:50:45 --> URI Class Initialized DEBUG - 2018-07-04 07:50:45 --> Router Class Initialized DEBUG - 2018-07-04 07:50:45 --> No URI present. Default controller set. DEBUG - 2018-07-04 07:50:45 --> Output Class Initialized DEBUG - 2018-07-04 07:50:45 --> Security Class Initialized DEBUG - 2018-07-04 07:50:45 --> Input Class Initialized DEBUG - 2018-07-04 07:50:45 --> Global POST and COOKIE data sanitized DEBUG - 2018-07-04 07:50:45 --> Language Class Initialized DEBUG - 2018-07-04 07:50:45 --> Loader Class Initialized DEBUG - 2018-07-04 07:50:45 --> Config file loaded: /var/www/html/szig/application/config/SZIG_ver.php DEBUG - 2018-07-04 07:50:45 --> Helper loaded: url_helper DEBUG - 2018-07-04 07:50:45 --> Helper loaded: szig_helper DEBUG - 2018-07-04 07:50:46 --> Database Driver Class Initialized DEBUG - 2018-07-04 07:50:46 --> Session Class Initialized DEBUG - 2018-07-04 07:50:46 --> Helper loaded: string_helper DEBUG - 2018-07-04 07:50:46 --> Encrypt Class Initialized DEBUG - 2018-07-04 07:50:46 --> A session cookie was not found. DEBUG - 2018-07-04 07:50:46 --> Session routines successfully run DEBUG - 2018-07-04 07:50:46 --> Model Class Initialized DEBUG - 2018-07-04 07:50:46 --> Model Class Initialized DEBUG - 2018-07-04 07:50:46 --> Controller Class Initialized DEBUG - 2018-07-04 07:50:46 --> Model Class Initialized DEBUG - 2018-07-04 07:50:46 --> Model Class Initialized ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 12 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 14 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 14 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 14 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 14 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 15 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 15 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 16 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 16 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 26 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 28 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 28 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 28 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 28 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 29 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 29 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Undefined variable: row /var/www/html/szig/application/views/main_view.php 30 ERROR - 2018-07-04 07:50:46 --> Severity: Notice --> Trying to get property of non-object /var/www/html/szig/application/views/main_view.php 30 DEBUG - 2018-07-04 07:50:46 --> File loaded: /var/www/html/szig/application/views/main_view.php DEBUG - 2018-07-04 07:50:46 --> Final output sent to browser DEBUG - 2018-07-04 07:50:46 --> Total execution time: 0.2950 May I do something to fix these errors? :/ |
Welcome Guest, Not a member yet? Register Sign In |