После апдейта ошибка 500

trafflo
Posts: 109
Joined: Sun Nov 17, 2013 2:35 pm

После апдейта ошибка 500

Post by trafflo »

Привет

т.к. сайт ломанул prostibro пришлось обновить, билд 2018 года. После обновления и админка и морда 500 ошибка.
сайт вроде слейв, уже не могу точно посмотреть
PHP version 5.4.45

что делать, как убрать 500 ошибку?
Elf
Posts: 71
Joined: Fri Feb 26, 2021 12:28 pm

Re: После апдейта ошибка 500

Post by Elf »

Попробуй, настроить htaccess на вывод всех ошибок.
https://eternalhost.net/base/vps-vds/vy ... p-htaccess
Может там будет, какая то критическая ошибка php...
PS:Вроде бы SmartCJ уже не поддерживает PHP 5.4...
Скорее всего ошибка будет с MySQL /так же старенькой/ связана.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: После апдейта ошибка 500

Post by admin »

5.4 точно не поддрживается
сам пхп 5.4 не поддрживается лет 10 уже

и в целом в логе сервака написано почему 500, я просто по описанию "ошибка 500" не могу точно сказать что не так
Don't forget to run script update
trafflo
Posts: 109
Joined: Sun Nov 17, 2013 2:35 pm

Re: После апдейта ошибка 500

Post by trafflo »

admin wrote: Tue May 09, 2023 4:38 pm 5.4 точно не поддрживается
сам пхп 5.4 не поддрживается лет 10 уже
не знаю про какие 10 лет речь, у меня тцмс вот такой билд прекрасно стоит и работает на 5.4
Your Build 201907081820 (Current build: 202305041556 Update available ) PHP version 5.4.45

получается мне от этого хакера не защититься без обновления пхп?
у меня там хуева гора сайтов не то, что на тцмс, но на 1.52 и 1.51, мне теперь из-за поломанного сайта нужно обновлять пхп, обновлять и переносить все 1.51 на тцмс руками и прочее. Это пиздец

есть варианты избавиться от взлома без обновления скрипта?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: После апдейта ошибка 500

Post by admin »

https://www.php.net/eol.php

5.4 3 Sep 2015
(7 years, 8 months ago)

почти 8 лет назад закончили поддерживать 5.4 сам пхп


без обновления вы можете каждый раз искать где у вас взлом, смотреть какие файлы менялись, искать где еще что поменялось , настроить потом какие проверки самостоятельно и тп, те можете сделать руками каждый раз все то что делает скрипт на автомате
Don't forget to run script update
trafflo
Posts: 109
Joined: Sun Nov 17, 2013 2:35 pm

Re: После апдейта ошибка 500

Post by trafflo »

admin wrote: Tue May 09, 2023 4:38 pm и в целом в логе сервака написано почему 500, я просто по описанию "ошибка 500" не могу точно сказать что не так
админы говорят в логе событий по этому домену только вот такое

Code: Select all

2023-05-09 16:26:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 17:00:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 17:36:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 18:10:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 18:52:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 19:22:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 20:00:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 20:20:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 20:50:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 21:12:05 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
2023-05-09 21:46:06 :: 1054  :: Unknown column 'gt.extra_thumb' in 'field list' :: SELECT gs.thumb_id, gi.sponsor_id as original_thumb_id, gi.url, gi.crop_profile_id, gi.content_count,                gt.thumb_url, gt.thumb_url, gt.extra_thumb,             gs.total_shows, gs.total_ctr            /*, gd.alt,  gd.description,            gd.custom_var1, gd.custom_var2, gd.custom_var3*/                FROM rot_gallery_info AS gi                     JOIN rot_gallery_stats7 as gs on gs.gallery_id = gi.gallery_id                  /* JOIN rot_gallery_data1 as gd on gd.gallery_id = gi.gallery_id */                     JOIN rot_thumbs AS gt ON gt.thumb_id = gs.thumb_id                      WHERE gi.gallery_type = 1 and gi.source_url = '7' /* site_id */                         and  content_type = '0'  /* set_id */    
(END)
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: После апдейта ошибка 500

Post by admin »

это лог не вебсервера, а 500 отдает веб сервер
Don't forget to run script update
trafflo
Posts: 109
Joined: Sun Nov 17, 2013 2:35 pm

Re: После апдейта ошибка 500

Post by trafflo »

admin wrote: Wed May 10, 2023 4:17 am это лог не вебсервера, а 500 отдает веб сервер
вот, но тут не сильно понятней мне кажется

Code: Select all

185.73.111.222 - admin [09/May/2023:09:11:28 -0500] "GET /kl8Zp7/admin/?operation=main& HTTP/1.1" 500 0 "http://www.domain.com/kl8Zp7/admin/?operation=autoupdate&update_id=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 OPR/97.0.0.0" "-"
97.135.6.254 - - [09/May/2023:09:11:51 -0500] "GET /show.php?url=/v/slut-wife-cum-dump-for-blacks HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0" "-"
95.160.35.99 - - [09/May/2023:09:32:36 -0500] "GET /c/couple HTTP/1.1" 500 0 "Referer: http://www.domain.com" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "192.168.110.179"
95.187.245.140 - - [09/May/2023:10:08:44 -0500] "HEAD / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28" "-"
95.187.245.140 - - [09/May/2023:10:08:47 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28" "-"
138.199.42.146 - - [09/May/2023:10:28:12 -0500] "GET / HTTP/1.1" 500 0 "https://r.search.yahoo.com/_ylt=AwrOqpE2ZVpktF8GAqHBGOd_;_ylu=Y29sbwNncTEEcG9zAzEzBHZ0aWQDBHNlYwNzcg--/RV=2/RE=1683674550/RO=10/RU=http%3a%2f%2fwww.domain.com%2f/RK=2/RS=1NoPmnEk4ohd5eFPVoLHyog74o4-" "Mozilla/5.0 (iPad; CPU OS 12_5_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1" "-"
52.139.168.107 - - [09/May/2023:13:26:19 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ) AppleWebKit/534.12 (KHTML, like Gecko) Maxthon/3.0 Safari/534.12" "-"
40.88.21.235 - - [09/May/2023:14:50:14 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)" "-"
152.32.172.176 - - [09/May/2023:15:16:25 -0500] "GET /index.php/sign HTTP/1.1" 500 0 "http://www.domain.com/index.php/sign" "Mozilla/5.0 (Linux; Android 11; vivo 1906; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/8.9.0.0" "-"
152.32.172.176 - - [09/May/2023:15:16:38 -0500] "POST /index.php/User/sendsmscode HTTP/1.1" 500 0 "http://www.domain.com/index.php/User/sendsmscode" "Mozilla/5.0 (Linux; Android 11; vivo 1906; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/8.9.0.0" "-"
152.32.172.176 - - [09/May/2023:15:16:42 -0500] "GET /index.php/Wap/Api/getSystemNotice?id=1 HTTP/1.1" 500 0 "http://www.domain.com/index.php/Wap/Api/getSystemNotice?id=1" "Mozilla/5.0 (Linux; Android 11; vivo 1906; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/8.9.0.0" "-"
152.32.172.176 - - [09/May/2023:15:16:42 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Linux; Android 11; vivo 1906; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/8.9.0.0" "-"
194.110.114.113 - - [09/May/2023:15:27:40 -0500] "GET / HTTP/1.0" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" "-"
52.139.168.107 - - [09/May/2023:15:50:20 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" "-"
52.139.168.107 - - [09/May/2023:16:23:41 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.0)" "-"
114.119.141.80 - - [09/May/2023:18:07:19 -0500] "GET /c/orgasm HTTP/1.1" 500 0 "http://www.domain.com/c/wet" "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" "10.179.80.117"
114.119.152.245 - - [09/May/2023:18:24:24 -0500] "GET /c/gloryhole HTTP/1.1" 500 0 "http://www.domain.com/c/wet" "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" "10.179.1.162"
114.119.143.187 - - [09/May/2023:18:40:56 -0500] "GET /c/black HTTP/1.1" 500 0 "http://www.domain.com/c/wet" "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" "10.179.80.244"
114.119.147.229 - - [09/May/2023:18:57:37 -0500] "GET /c/black%20man HTTP/1.1" 500 0 "http://www.domain.com/c/wet" "Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)" "10.179.80.96"
51.253.20.231 - - [09/May/2023:20:58:47 -0500] "HEAD / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28" "-"
51.253.20.231 - - [09/May/2023:20:58:49 -0500] "GET / HTTP/1.1" 500 0 "http://www.domain.com/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28" "-"
52.253.107.68 - - [09/May/2023:21:34:28 -0500] "GET / HTTP/1.1" 500 0 "http://domain.com" "Go-http-client/1.1" "-"
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: После апдейта ошибка 500

Post by admin »

потому что это acccess_log
а надо error_log

что-то мне кажется админ должен быть в курсе таких вопросов ..
Don't forget to run script update
trafflo
Posts: 109
Joined: Sun Nov 17, 2013 2:35 pm

Re: После апдейта ошибка 500

Post by trafflo »

admin wrote: Wed May 10, 2023 9:53 am потому что это acccess_log
а надо error_log

что-то мне кажется админ должен быть в курсе таких вопросов ..
админы конечно в курсе, просто между вами испорченный телефон в моём лице :D

ну вообщем там да, на пхп ругается

PHP Fatal error: <br>The file <b>/home/domain.com/www/index.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
Обращаем ваше внимание, что данное сообщение вызвано тем, что домен domain.com работает под управление PHP версии 5.4.
Post Reply