media folder suddenly empty - permissions

I'm trying to upload some images in my wordpress backend, but it fails every time. It could be permission issues because I have had trouble with that earlier in the project. But the weirdest thing is that I see on my server that the media folder is suddenly empty, while all the media in the wordpress backend is still there and the website is running fine. Anybody got an idea how this could have happened?

Try to edit one of the picture in the media on admin dashboard, there will be a text field titled 'File URL' on the right side.
Paste that into address bar and see if the browser loads it correctly. If yes then the problem is on the folder permission (or you might have opened the wrong directory), if not, you might wanna try to clear the browser cache or use another platform to open it.
Hope it helps!

Related

CKAN homepage redirection issue

Issue:
I am having a website developed in CKAN framework. I am struggling with a sporadic issue which is happening on my machine only. When i do some manual changes into CKAN database and tries to click on any menu or a link it is redirecting me to homepage.
After updating the database, i run the command for re-indexing the datasets using production.ini file, so that everything should be updated on the application, but nothing happened.
Temporary Solution
Following steps gives me temporary solution for this issue:
On the website, i need to press F12 button.
Then on the browser, i need to do right click on reload button.
Select the third option ie. "Empty cache and hard reset" will refresh the page and issue get resolved.
This is the temporary solution. If i came back on next day and try to click on other menu then again it redirected me to homepage.
Note: This issue is happening only on Chrome browser.
Please help me get a permanent solution to get rid of this caching issue.
Comments are appreciable.

How to bypass red5 demo page on start up?

At present, I start up red5 in linux command line ./red5.sh and it runs the script. Then I go to http://localhost:5080 demos page to set up my camera and audio input and all works fine in testing the stream both on demo page and in swf of my webpage.
Question is, do I need to include some java and/or action script for the swf player to
bypass the red5 demo page so I can directly connect my input and stream in the code of the page? Also so only logged in webpage viewers can connect?
Overall wondering if there is a way of hiding the server stream from anyone not logged in to view it on my site? I understand in webapps folder somewhere there is the hosts list of IP but it would be impossible to know the IP of the viewers as opposed to unwanted viewers or bandwidth stealers.
I am trying to set up a site for poetry readings and make it so readers can record live to my server and then logged in viewers can view from my website. I am trying to figure out whether I must have that red5 page open and if that doesn't pose some kind of risk.
Found my own way of doing this just by removing and renaming files and folders.
If you go to usr/local/red5/webapps here lies all the directories for viewing when you go to default port 5080 so I simply installed the applications I needed and then took everything out of there except those applications I wanted and needed to run. I took out all and placed it in a folder in /var directory named it red5_movedstuff in case I want access to further applications later on.Then I renamed the applications I am using in webapps folder and kept admin folder to access them but I renamed my applications and had to importantly rename also in WEB-INF for each application name change.
Now if someone goes to myip:5080 they get a blank page and by changing names of applications I've hidden my directories beyond that including list of streams.

TinyMCE link browser throws connection issue

I am using TinyMCE with Modx Revo (2.1.3). When I want to add an internal file (say a PDF) via a link, I highlight the text, click the chain link icon and then the browse icon. However, instead of showing a list of existing files on my server I get a server connection error message.
I have tried this on multiple browsers and machines and get the same results.
Does anyone know if there is a file path or any permission I need to change to get this working?
I rescently had some troubles with the tinymce file browser complaining about lack of access while the regular modx explorer worked fine. The problem was a domain plugin changing contexts on pageload, changing from "mgr" to "web".
Make sure you dont have any plugins doing something similar, and that you dont have any context settings with weird site_url settings or something like that.

phpmyadmin not showing theme images

I just installed phpmyadmin on my local machine. However, the images for any of the buttons are not showing up. I tried installed a new theme, same thing. When I go to the images folder, they are all there.
I read one post where a user had to allow proper read permissions through IIS. I've beenn clicking permissions, but I think I'm a bit lost as to finding the right setting.
Does that make sense to anyone? :) - I am looking for step by step instructions on giving the proper read permissions so that the images can display when I load phpmyadmin.
Thank you.
If anyone else has this issue, it has to do with allowing IIS user permission to c:\temp, if that's where your PHP temp file folder is. You can check this by running phpinfo() from within a php file.
Unfortunately, I was messing with so many permissions, I'm not sure what exactly did it, I just know that it had to do with the temp folder.

Empty HTML page after OTA install on Symbian

I have some quite nasty issue I couldn't solve so far.
Whenever I do installation of Symbian application on Nokia platform, the browser loads blank HTML page, and needs to be closed manually.
It doesn't happens on WAP push installations - only on direct link installations via the browser.
It happens on installations both from JAD and JAR.
I tried specifying manifest entries, etc... - nothing helped.
Any idea how to prevent this blank page, as it confusing the users?
Thanks in advance.
You should make sure that the content types of the downloaded files are correct:
For .jad, the content type should be text/vnd.sun.j2me.app-descriptor
For .jar, the content type should be application/java-archive
Setting the content type according to a file's extension is usually something you configure in your HTTP server.