A
A
Akisulaymonov2017-10-02 10:30:14
CodeIgniter
Akisulaymonov, 2017-10-02 10:30:14

After transferring the site to another hosting, it gives an error. can you help?

I uploaded the site imagine.co.tj to another hosting, I set everything correctly and the database and other parameters. But somehow the error gives "A PHP Error was encountered"
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
59d1e9b6070c5306047643.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Kozhin, 2017-10-02
@maximkozhin

mysql_* functions are deprecated in version 5.6 (deprecated). Calling them produces a Notice.
In older versions, these functions are not available at all.
In your case, a Fatal Error is issued and it says that the function does not exist, which means that your interpreter version is 7 or higher. Change to 5.6 and turn off Notice output and it will work without errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question