mysql_query removed on php7 #5261
-
Hi All I'm using e107 since a long time, even before version 1. I need to change of hosting service, but all offer propose only 8.1 or higher ... so I try to upgrade to 2.3.3 Some seems to be commented out, but I still found 89 still used ! Are you aware ? I try to upgrade to 2.3.3 by copying the content of archive e107_v2.x_to_2.3.3_upgrade.tar.xz, but nothing seems to happen ... usually we have to run something !? an update of the DB or whatever ! I checked in "e107_2.2.1_full", "e107_2.3.3_full", "e107_v2.x_to_2.3.2_upgrade" and "e107_v2.x_to_2.3.3_upgrade" and in all I found some call to "mysql_query()" ... Can I replace all instance of Can't it be a problem in the future when you will correct it ? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 12 replies
-
@ericc-dream It's kind of weird, since i'm using e107 v2.3.3 on a server with PHP 7.4, and i got no errors regarding the mysql-query I've checked along the v2.3.3 code, and all mysql-query code is commented out, so for sure v2.3.3 doesn't use mysql-query.... Probably you have old code in your site, so my advice is you to make a v2.3.3 fresh install, from scratch.... |
Beta Was this translation helpful? Give feedback.
-
Indeed, I still have some old files from version 1 or even older, in my site Then, I saw a message recommending to use the "file inspector" (not sure of the name, but you probably see what I mean) what I did (I never saw that before and so never used it). It found hundred of old files ! That I removed manually ... I will start over once more and remove old plugin that I don't use or are more or less broken I did a "grep" on e107_2.3.3_full, and I saw a few lines containing "mysql_query" which doesn't seems to commented out |
Beta Was this translation helpful? Give feedback.
-
OK, I solved most of my problems |
Beta Was this translation helpful? Give feedback.
-
I used the first one but it's 4 years old with quite some missing, some are blocking the site or the admin page to load |
Beta Was this translation helpful? Give feedback.
-
you have put double quote around 'rel'
Not sure on this one !
Did you used a tool to translate the files ?
in your version, you have Then 2 specifics for me , I guess
I have this plugin displayed on the front page but strangely enough, in the admin side, it's not installed !!
I'm still using the very old chatbox2, because I hacked it a lot and corrected it for every version.Probably not acceptable with the current standard but it work very well ... for me and I don't plan to change. I probably need to rework it, again, to use its own languages files. That all for the moment ... I don't think that I have tried everything but 80% already |
Beta Was this translation helpful? Give feedback.
-
@Jimmi08 |
Beta Was this translation helpful? Give feedback.
-
@tgtje
and another one
in fact come from /home/ericc/www/ericc/e107_languages/French/admin/lan_cron.php, missing : |
Beta Was this translation helpful? Give feedback.
@ericc-dream It's kind of weird, since i'm using e107 v2.3.3 on a server with PHP 7.4, and i got no errors regarding the mysql-query
I've checked along the v2.3.3 code, and all mysql-query code is commented out, so for sure v2.3.3 doesn't use mysql-query....
Probably you have old code in your site, so my advice is you to make a v2.3.3 fresh install, from scratch....
Furthermore, it seems that error comes from a plugin: content. It's not core plugin, so it might be outdated....