Hi there,
I need Your help because i have no idea what to do
OK, if i am opening the main site of forum https://forum.toyotaklub.org.pl/ you can see white page, but if You would like to go directly to some post or board: https://forum.toyotaklub.org.pl/index.php?board=13.0 everything works ok
It is the some, doesn't matter if is new script or old one.
It came suddenly without my intervention
When I've add error_reporting(E_ALL); at the beginning of index.php it shows:
QuoteDeprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1088
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1130
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1179
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1195
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1214
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1225
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1299
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1310
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1485
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1510
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1547
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1578
Deprecated: Function create_function() is deprecated in /home/mierzejewski/ftp/www/tkp/forum/Sources/Subs.php on line 1589
Can You help me? I have no idea what to do
Br
Pawel
ìNot on my computer, can't do much with this crappy touchscreen, but your host may have upgraded to php 7.4. Go into cpanel, see if you have option to select php version, downgrade to 7.2.
It was 7.3 and now:
Quote
PHP verion: 7.2
display_errors: off
magic_quotes_gpc: off
register_globals: off
safe_mode: off
oPcache: ON
ionCube: off
phpShield: off
additional informations:
https://forum.toyotaklub.org.pl/index.php - not working
https://forum.toyotaklub.org.pl/index.php#c9 - not working
https://forum.toyotaklub.org.pl/index.php?topic=44641.0 - working
and the index.php file is brand new, from new downloaded script
and:
Quote[Fri Jul 24 10:37:45.004469 2020] [:error] [pid 12392:tid 140531303921408] [client 157.55.39.146:23791] [client 157.55.39.146] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/usr/share/waf/02_Global_Generic.conf"] [line "47"] [id "211180"] [rev "3"] [msg "COMODO WAF: Session Fixation: SessionID Parameter Name with No Referer||||2"] [data "Matched Data: phpsessid found within REQUEST_HEADERS: 0"] [severity "CRITICAL"] [tag "CWAF"] [tag "Generic"] [hostname "forum.toyotaklub.org.pl"] [uri "/index.php"]
^^^ [client 157.55.39.146] ModSecurity: Access denied with code 403 (phase 2)
Get the host to disable their faulty, ridiculous and unreliable ModSecurity, or find a new host.
The strange thing is, that this sites listed above is not working only when i am logged out. When someone is logged in all links and pages works as usually
Anything in the error log (both SMF and hosting account)?
You may have the option to disable mod_security in cPanel -> Security.
Quote from: Arantor on July 24, 2020, 09:02:18 AM
Anything in the error log (both SMF and hosting account)?
The only one error from SMF:
Quotehttps://forum.toyotaklub.org.pl/index.php?topic=46250.0
2: Invalid argument supplied for foreach()
File: /home/mierzejewski/ftp/www/tkp/forum/Sources/Load.php
Line: 1285
and from hosting:
Quote[Sun Jul 26 19:44:12.799035 2020] [:error] [pid 14967:tid 139946358347520] [client 40.77.188.95:50059] [client 40.77.188.95] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/usr/share/waf/02_Global_Generic.conf"] [line "47"] [id "211180"] [rev "3"] [msg "COMODO WAF: Session Fixation: SessionID Parameter Name with No Referer||||2"] [data "Matched Data: phpsessid found within REQUEST_HEADERS: 0"] [severity "CRITICAL"] [tag "CWAF"] [tag "Generic"] [hostname "forum.toyotaklub.org.pl"] [uri "/index.php"]
Quote from: Sir Osis of Liver on July 24, 2020, 01:29:06 PM
You may have the option to disable mod_security in cPanel -> Security.
Yes it was disabling all security stuff
Update: by now I've made downgrade to script 2.15 and everything works fine
Update: I've just upload a newest SMF script and also created a new DB uploud backup of current DB to the server and ... its the some :(
Have no idea :(
PS. And I have also a lot of "engl" directories and IDN why
It's loading normally now.
^^^ It's on 2.0.15
What I'd do if .17 update troubles persist is to keep .15 running as it is ftm, set up a complete and working copy of the files\db somewhere on the server (or even other host). Do the .17 update \ research \ experiments there. Then when all fixed, implement solution to the live forum.
Quote from: a10 on July 27, 2020, 04:31:39 AM
^^^ It's on 2.0.15
What I'd do if .17 update troubles persist is to keep .15 running as it is ftm, set up a complete and working copy of the files\db somewhere on the server (or even other host). Do the .17 update \ research \ experiments there. Then when all fixed, implement solution to the live forum.
The problem is, I've just upload newest, clean SMF script and made a copy od DB and ... its the same. Index not working but all other sites works ok. Index works also ok, after login
Does clean .17 install load normally with new (empty) database?
Quote from: Sir Osis of Liver on July 27, 2020, 12:29:41 PM
Does clean .17 install load normally with new (empty) database?
Clean installation works ok, so do You think that problem is inside DB?
I think we're back to your mods being at fault rather than the content of the database...
If I understand correctly, he's either connected clean install to prod db or imported dump to new install, in either case problem seems to be caused by db, probably by a mod. Usual solution is to upload clean files but that won't work here. Would have to uninstall mods from prod install, starting with most recent.
Quote from: swo0p on July 23, 2020, 09:27:59 PM
It came suddenly without my intervention
^ This isn't good. :P
ok, lets me to be clear:
1. Clean, newes SMF script + clean DB = works ok
2. Clean, newes SMF script + old DB (backup) = do not work
3. Old 2.15 script + clean DB = works ok
4. Old 2.15 script + old DB (backup) = do not work
Add: I have delete all mods and still the same :(
some news: seems to be working. I have just change language from polish to English and everything works ...
How it can be?
Doesn't appear to be any way to uninstall a language in ACP, you would have to manually remove the language files, but don't think that would help. Try reinstalling polish language pack in Admin -> Languages -> Add Language.
Having the same issue since I moved all the data to a new database.
A blank page if the user is not logged in.
It works if I go directly to a sub forum or to a topic.
It works if I am logged in.
It works if I disable that users can browse the forum (you are forced to log in or register).
I am using Norwegian UTF-8 as default language. If I change to English (and the users can choose language) it works.
Using .17.
So my workaround is now to have English as the default language and let the users choose language they want.
Have you tried running 'repair_settings.php.? It's possible the paths in the old database are not going where they should be
https://wiki.simplemachines.org/smf/Repair_settings.php
Quote from: Sir Osis of Liver on July 27, 2020, 09:56:23 PM
Doesn't appear to be any way to uninstall a language in ACP, you would have to manually remove the language files, but don't think that would help. Try reinstalling polish language pack in Admin -> Languages -> Add Language.
I was changing language to English and that's it. Trying to upload new language file do not help.
I was upload new script 2.17, connect it to old DB and once again set UTF-8 to DB .... by now its working
Thank You guys for all suggestions and help
Quote from: ZyberZone on July 28, 2020, 05:33:01 AM
So my workaround is now to have English as the default language and let the users choose language they want.
First, make a copy of DB.
Set language to English and press button to convert all DB to UTF-8 - in my case I think there was a problem here