Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
May 7, 20231 yr 2 minutes ago, CaptJeff said: Did you try 775? You have to do it for all the files mentioned in the screenshot btw?
May 7, 20231 yr Author OK. Changed all the permissions to 755. Restarted the update and it flashes then the screen goes blank. What next? Jeff Here is the video Edited May 7, 20231 yr by CaptJeff
May 7, 20231 yr There should be an error_log file on your server (or maybe visible from your control panel; depends on how the server is configured). See if there's anything logged there. If you can't find the file, try asking your hosting for its location. I see Marc also mentioned: On 5/5/2023 at 9:22 PM, Marc Stridgen said: However if you cannot find that, just get it to that point and let us know Maybe IPS will be able to have a quick look themselves since they have your FTP access.
May 7, 20231 yr Author Here is what I have found. thrown in /home3/classln8/public_html/hotairballoonist/forum/init.php on line 1158 [07-May-2023 14:23:44 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:23:47 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:24:02 UTC] PHP Parse error: Unterminated comment starting line 1036 in /home3/classln8/public_html/hotairballoonist/forum/system/Http/Url.php on line 1036 [07-May-2023 14:24:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined method IPS\Output::getNoCacheHeaders() in /home3/classln8/public_html/hotairballoonist/forum/init.php:1158 Stack trace:
May 7, 20231 yr Author I was also able to get to a weird page that looked like this. Here was the error information on that page. TypeError: array_keys(): Argument #1 ($array) must be of type array, null given (0) #0 /home3/classln8/public_html/hotairballoonist/forum/system/Theme/Theme.php(622): array_keys(NULL) #1 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Standard.php(54): IPS\_Theme->css('framework.css', 'core', 'global') #2 /home3/classln8/public_html/hotairballoonist/forum/init.php(938) : eval()'d code(51): IPS\Dispatcher\_Standard::baseCss() #3 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Admin.php(89): IPS\Dispatcher\chatbox_hook_loadJSandCSS::baseCss() #4 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init() #5 /home3/classln8/public_html/hotairballoonist/forum/admin/index.php(13): IPS\_Dispatcher::i() #6 {main}
May 7, 20231 yr 18 minutes ago, CaptJeff said: Here is what I have found. thrown in /home3/classln8/public_html/hotairballoonist/forum/init.php on line 1158 [07-May-2023 14:23:44 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:23:47 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:24:02 UTC] PHP Parse error: Unterminated comment starting line 1036 in /home3/classln8/public_html/hotairballoonist/forum/system/Http/Url.php on line 1036 [07-May-2023 14:24:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined method IPS\Output::getNoCacheHeaders() in /home3/classln8/public_html/hotairballoonist/forum/init.php:1158 Stack trace: Looks like your Pages (cms) application files aren't updated correctly to the latest version. To fix this is should be enough to re-download the ZIP file from your client area and manually re-upload all the files from it. 13 minutes ago, CaptJeff said: I was also able to get to a weird page that looked like this. Here was the error information on that page. TypeError: array_keys(): Argument #1 ($array) must be of type array, null given (0) #0 /home3/classln8/public_html/hotairballoonist/forum/system/Theme/Theme.php(622): array_keys(NULL) #1 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Standard.php(54): IPS\_Theme->css('framework.css', 'core', 'global') #2 /home3/classln8/public_html/hotairballoonist/forum/init.php(938) : eval()'d code(51): IPS\Dispatcher\_Standard::baseCss() #3 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Admin.php(89): IPS\Dispatcher\chatbox_hook_loadJSandCSS::baseCss() #4 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init() #5 /home3/classln8/public_html/hotairballoonist/forum/admin/index.php(13): IPS\_Dispatcher::i() #6 {main} There is a chatbox hook in the error backtrace, so it might be related to that. Try disabling the application and see if that fixes it. If you're using a custom theme try also switching back to the IPS default, non-customized one.
May 7, 20231 yr Author I am unable to get into the Admin CP for the site so I have no idea how to disable anything. I also clicked on the default theme and that did nothing. I have also downloaded the Zip file for 4.7.9 twice and uploaded it three times. No luck there either. I will keep trying.
May 8, 20231 yr Author OK Here are some more logs that may help. Keep in mind I can not get into the site. I can not access the admin CP. All I get is this notice on the front side. So I looked at the error logs and found this. Here is the line the error refers to. Line 1158 Line 1036 What can I do about this and how do I get my site back up? Any advice would be great. The Ballooning Hall of Fame committee are having a ZOOM Call tonight and they use the forum heavily. There are over 200 hall of fame files they need to be able to see. So I am in somewhat of a panic over this. Thank you. Jeff Thank you. Jeff
May 8, 20231 yr Looks like you need to continue the upgrade. What happens when you go to /admin/upgrade, can you continue it or is there an error?
May 8, 20231 yr Author When I continue the upgrade the screen goes blank. Here is the screen video Something is stopping the upgrade. I have uploaded the latest version via FTP several times. No luck
May 8, 20231 yr Can you post the error logs again please? Did you ever restore the backup from the first try and disabled any third party plugins? Did you make sure your server was good before trying to upgrade?
May 8, 20231 yr Author Ok I went to the page where the link for the IPS checker was. I downloaded the link and then used Filezilla to upload the file to the folder where the forum is. Now it says" Run in your browser" ??
May 8, 20231 yr 1 minute ago, CaptJeff said: Ok I went to the page where the link for the IPS checker was. I downloaded the link and then used Filezilla to upload the file to the folder where the forum is. Now it says" Run in your browser" ?? You should point the browser to its location to run it. i.e. yourforumurl/nameofscript.php
May 8, 20231 yr Author Ok I just typed in the URL and it ran. Sorry I am so uneducated with this stuff.
May 8, 20231 yr 14 minutes ago, CaptJeff said: Ok I just typed in the URL and it ran. Sorry I am so uneducated with this stuff. There is nothing to be sorry about. Anyways, it looks like your server meets all the requirements.
May 8, 20231 yr That's good you meet the server requirements at least. Just wanted to get the obvious out of the way. Can you check your error logs again for new errors? Once we get passed that we can re-run the upgrade script to see if it'll proceed.
May 8, 20231 yr Author I am going to try. My internet is going super slow right now so please bear with me.
May 8, 20231 yr Author When I go to hotairballoonist.com/forum/admin I get a page that looks like this. The error area on this page says this. TypeError: array_keys(): Argument #1 ($array) must be of type array, null given (0) #0 /home3/classln8/public_html/hotairballoonist/forum/system/Theme/Theme.php(622): array_keys(NULL) #1 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Standard.php(54): IPS\_Theme->css('framework.css', 'core', 'global') #2 /home3/classln8/public_html/hotairballoonist/forum/init.php(938) : eval()'d code(51): IPS\Dispatcher\_Standard::baseCss() #3 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Admin.php(89): IPS\Dispatcher\chatbox_hook_loadJSandCSS::baseCss() #4 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init() #5 /home3/classln8/public_html/hotairballoonist/forum/admin/index.php(13): IPS\_Dispatcher::i() #6 {main} Here are the error logs from the server. [07-May-2023 14:23:44 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:23:47 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:24:02 UTC] PHP Parse error: Unterminated comment starting line 1036 in /home3/classln8/public_html/hotairballoonist/forum/system/Http/Url.php on line 1036 [07-May-2023 14:24:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined method IPS\Output::getNoCacheHeaders() in /home3/classln8/public_html/hotairballoonist/forum/init.php:1158 Stack trace: #0 /home3/classln8/public_html/hotairballoonist/forum/init.php(1090): IPS\IPS::genericExceptionPage(NULL) #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} thrown in /home3/classln8/public_html/hotairballoonist/forum/init.php on line 1158
May 8, 20231 yr Were you using a custom theme as default? And are you really sure that all your forum folders/files have been properly overwritten with those from the last package? Because it looks like to me that the init.php file is still the old one from the previous version. Edited May 8, 20231 yr by Miss_B
May 8, 20231 yr On 5/7/2023 at 1:13 PM, teraßyte said: There should be an error_log file on your server (or maybe visible from your control panel; depends on how the server is configured). See if there's anything logged there. If you can't find the file, try asking your hosting for its location. I see Marc also mentioned: Maybe IPS will be able to have a quick look themselves since they have your FTP access. 12 minutes ago, CaptJeff said: When I go to hotairballoonist.com/forum/admin I get a page that looks like this. The error area on this page says this. TypeError: array_keys(): Argument #1 ($array) must be of type array, null given (0) #0 /home3/classln8/public_html/hotairballoonist/forum/system/Theme/Theme.php(622): array_keys(NULL) #1 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Standard.php(54): IPS\_Theme->css('framework.css', 'core', 'global') #2 /home3/classln8/public_html/hotairballoonist/forum/init.php(938) : eval()'d code(51): IPS\Dispatcher\_Standard::baseCss() #3 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Admin.php(89): IPS\Dispatcher\chatbox_hook_loadJSandCSS::baseCss() #4 /home3/classln8/public_html/hotairballoonist/forum/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init() #5 /home3/classln8/public_html/hotairballoonist/forum/admin/index.php(13): IPS\_Dispatcher::i() #6 {main} Here are the error logs from the server. [07-May-2023 14:23:44 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:23:47 UTC] PHP Fatal error: Declaration of IPS\cms\_Fields::displayValue($value = null, $showSensitiveInformation = false) must be compatible with IPS\_CustomField::displayValue($value = null, $showSensitiveInformation = false, $separator = null) in /home3/classln8/public_html/hotairballoonist/forum/applications/cms/sources/Fields/Fields.php on line 1304 [07-May-2023 14:24:02 UTC] PHP Parse error: Unterminated comment starting line 1036 in /home3/classln8/public_html/hotairballoonist/forum/system/Http/Url.php on line 1036 [07-May-2023 14:24:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined method IPS\Output::getNoCacheHeaders() in /home3/classln8/public_html/hotairballoonist/forum/init.php:1158 Stack trace: #0 /home3/classln8/public_html/hotairballoonist/forum/init.php(1090): IPS\IPS::genericExceptionPage(NULL) #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} thrown in /home3/classln8/public_html/hotairballoonist/forum/init.php on line 1158 These errors are because you haven't finished the /admin/upgrade/ I believe. We are still trying to figure out the blank page you are getting when you run it. Ignore what you see until you finish the upgrade. Can you pull that error log that terabyte suggested again?
May 8, 20231 yr Author I just uploaded a fresh init.php file. I will now go and see if I can get the Admin/install to finish. I will let you know.
May 8, 20231 yr 3 minutes ago, CaptJeff said: I just uploaded a fresh init.php file. I will now go and see if I can get the Admin/install to finish. I will let you know. The thing is, all the files should be overwritten and not only one or a selected few. That is why I asked above if you are really sure that all your forum folders/files have been properly overwritten with those from the last package. That could be very well the cause that the upgrade is not going through for you. What method are you using to upload the files and how are you doing it? Do you preserve the structure intact during the upload and select for the overitting option? Edited May 8, 20231 yr by Miss_B
May 8, 20231 yr Author Ok.. That did not work. I used filezilla to FTP a new init.php file to the server. Then I went to the admin/install and tried to run it. Screen flashes and then goes blank. Same as before. Here is a link to the video.