TYPO3 - Error 500 in right panel of Filelist - typo3

Friend gave me access to TYPO3 CMS of his page to make some changes and I can not open Filelist.
The left panel with directories is displaying but on the right, a have error 500 message in IE or in Chrome just empty frame.
I did some modifications to that page some time ago and everything was working fine then.
Can anyone help me with that ?

If a folder contains to much files you might get problems opening it in the file list module, as the gathering of all information and maybe creating of preview thumbnails may take longer than is granted to any php process.
If it's only the preview images you might be able to load the folder after some attempts, as sometime all preview images are generated, but as it also can be other delays because of too much files you need to enhace the runtimelimit
or/and you might need to restructure the files and folders.
Be aware that a moving of files with FTP/SSH might break content in the FE as you might invalidate some FAL (sys_file) records so that used files are not found any more. Better: enhance the timeout (temporarily) and move the files in the backend.
in general: if you only got a blank page you disabled all error-messages (which is ok for FE, but will leave you without hint about errors).
As a first start you could take a look in the webserver-error-log.
If you got no clues: enable errormessages in TYPO3 Install Tool (enable debug mode in "Configuration presets")

Ok.
I solved that.
I disabled that extension and then when I looked at maintenance tab on this extension i saw something like "delete LOCAL installation of this ext".
After deleting local installation and enabling system FileList instance, everything is working just fine :)
Thank You for help.

Related

TYPO3: Backend Toolbar User-Settings gone after Update to TYPO3 v9.5.19 from v8.7

We upgraded a TYPO3 installation from 8.7.x to 9.5.19.
Afterwards, the User-Icon dopdown in the top toolbar is missing. (see screenshots)
We found out that the toolbar is generated in this class:
/typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php
We see that there have been lots of changes here since v7.6 but don't know where to go from there.
Is there a configuration file, where the items in the top bar are noted?
Additional information: we are working with the typo3-themes extension and have worked with our own theme before the update. During the update we switched to the bootstrap4 + bootstrap4-child theme - would this be a starting place for further investigations?
Before upgrade:
After upgrade:
UPDATE: It seems like this was at least not the root of the problems. After reactivating typo3_console the user-icon was still visible. So it looks like we have further investigating to do.
Update (2 Days later):
We can't reproduce the error. My best guess for now is, that deactivating the extension "repaired" a corrupt configuration file which had caused the disappearing of the user settings icon. After a lot of researching i have not found anybody with a similar problem so this might be an edge case. I wish i could offer more insight to this.
Thanks to Peter Kraume's basic suggestions i found the answer: after i deactivated the extension typo3_console it immediately worked!
Just for the record, here are the other steps we tried:
BE (via top bar)
Flush frontend caches
Flush all caches
BE Admin Tools ("Maintenance")
Flush TYPO3 and PHP Cache
Remove Temporary Assets
Logs
BE System log shows no current errors
Shared Hosting, /var/ contains no logs, /logs/ contains ftp and access logs
Hosting Provider Backend
Cleared OPcache
Created a new Admin-User, logged in, same behaviour
Tried on two different PCs
Primarily tested on Firefox 77.01, checked with Chrome 83.0.4103.116
Extensions:
was not sure, which extensions might manipulate the topbar - deactivated typo3-console, because i remembered seeing some error during the upgrade process. My feeling was more like: i don't need this right now, so i could as well deactivate it. 1 second later, the user drop-down reappeared. Unbelievable! Thanks for reminding me of the basic stuff - like turning off things!
We just had the same problem after upgrade from TYPO3 8 to 9. I have compared the working BE-User with the non-working BE user. They differ in given Language. Working BE-User has lang=''. Non-Working BE-User lang='de'. After switching the working BE-User to lang de, too, the UserToolbar is gone. I have updated the languages in Maintenance-Module and now everything works as expected.
Solution for us was to disabling the "belog" extension.
I had the same problem and I could solve it on all systems with:
Install-Tool > Maintenance > Manage Language Packs > Download the files again.

CodeKit Reload very slow

Codekit is so darn slow in reloading files. Why is that and what can I do against it?
I use MAMP3 on Yosemite with Chrome 39. Refresh delay is on 0 seconds.
I just have a bunch of php files and some less. Nothing extraordinary.
And it reloads the files with a delay of about 10seconds.
The LESS files are compiled very fast, but not the page reload. Internet sharing is deactivated.
What else could be the problem?
From time to time there is a message Codekit connection is unstable. But everything is hosted local. How can this be unstable?
Okay. I figured out some things who slow down codekit significantly.
Mistake Nr. 1: Amount of Files
It seems to play a huge role how much files are added per project. My cms lives outside webroot but my less & css live inside webroot. So I threw in the whole project including the cms. This way I had no path conflicts (lazy me). This resulted in about 4000 Files. That is too much for codekit.
Solution: Still throw in the whole project but exclude the cms folders in codekit (Yeah I know RTFM)
Mistake Nr. 2: custom file extension
I started to work with twig files (after php was done) and miraculously browser refresh stoped working. Because Codekit doesn't doesen't seem to know twig. In order to keep Browser reload working one have to add twig into the Generig Page Extensions.
Thats it. Everything works just fine now.

Editing hidden files in Netbeans

I currently have hidden files displaying in netbeans 7.3.1. I can even open the files and make changes but when I try to save I get an (Access is Denied) message.
Just to check I tried opening the same file in notepad, attempted the same thing and the save was successful.
I assume it has to do with a permission issue between netbeans and the file on my windows system.
I'm running Windows 7 x64 SP1
I cannot just run netbeans as administrator.
I can't seem to find anything online about this, every link that comes up has to do with simply displaying hidden files in netbeans which I have done already.
The files I downloaded began with a . (.header.html, etc) which I know usually means hidden. In order to proceed my work I manually removed the dot assuming it would allow me to edit the files. It did not, so I went ahead and checked the file properties and apparently it was still considered hidden. I then unchecked hidden and saved and was able to edit the files in netbeans perfectly fine. I wanted to see if I can keep the . and have the hidden field unchecked and it works perfectly fine.
I know the . signifying hidden is more or less linux specific, but in every version of windows I've used it seemed like the . had the same effect. What happened was I copied these files from an older computer (windows xp) so the file must have retained the flag but in windows 7 the . has no influence. I just checked to confirm by creating a file .test.html and the hidden flag was not triggered.
Hope this helps someone in the future.
You can try to remove the hidden file privilege from the files that you want to edit. In the menu bar click organize from there select folder and layout options. Now You will see a lot of options click the ones that say to display hidden files.

JBoss EAP 5.1.2 - Randomly Occuring 404s on Resources

This is driving me up the wall.
I have a web application deployed on a JBoss server. The application works fine and dandy most days, but randomly, without warning, will suddenly throw "404" on image and javascript files, causing the page to display a blank page. The problem persists until I restart the JBoss service.
Users need to log-in first to be able to reach the page, which still works, but when this happens, right after logging in, nothing works. Checking the source and Firebug show that the main landing jsp is retrieved, but many other things 404 saying that the resource cannot be found.
There have been no path changes and no work done and the app can still be working one moment and stop the next. The log files don't show any peculiar behavior during this time period.
Are there any ideas on what could be causing this? If you need more information, I will gladly provide as I'm not sure where to begin looking.
EDIT:
I've noticed that the 404'd files are all in subdirectories of my WAR file. The pages that can still be retrieved aren't contained in subdirectories of the war file, but all the ones that become unavailable are inside folders like /images and /javascript. Is it possible there was a scanner failure?
I changed the file encoding of every jsp file from ISO-8859-1 to UTF-8.
It's been a week or so and the issue hasn't been reported again. Hopefully this is the solution.
No answer to your problem, just a tip: if you've bought EAP-licenses, you should be able to open support-cases at https://access.redhat.com.

NetBeans: Code changes to javascript & css files are not reflected in browser after saving

This is driving me crazy. I'm developing an app in the NetBeans IDE in PHP, using the CodeIgnitor framework. I am making code changes to js and css files in NetBeans, saving them but the files the browser is loading do not contain the code changes. When I open the files directly outside of NetBeans, the saved changes aren't there.
I'm storing the javascript & css files in a folder called static, which is outside of the 'application' directory in CodeIgnitor. What's weird is any code changes in PHP files work fine. I'm guessing NetBeans is saving the changes to the js/css files somewhere else but can't find them on my hard drive. This just started happening, it was working 'normally' before.
Thanks for the help.
Al
I had the same problem, upon investigation, my browser cached my old style sheet that I had recently updated. Clearing the cache and refreshing showed my new styling, after around 20 minutes of frustration :D
This problem occurs due to browser cache. For chrome while testing open the developer mode by pressing the F12 key and set cache disabled in the network tab as shown in Image below. It will ensure that you will always get updated version of the page files.
Check to make sure that the files are where you think they are. I would imagine that CodeIgniter is rewriting the request to be inside your application folder and thus bypassing your specific folder.