CK Editor media plugin file upload error - drupal-7

I'm trying to upload a file using the CK editor media plugin, but it throws 500 internal server error in the url (/media/browser?render=media-popup&plugins=undefined). Also error with drupal media js settings
this.contentWindow.Drupal.media is undefined.
I search through the internet and it seems there is some issue with Drupal 7 media module. Your help is much appreciated!

Do you have the Media Upload installed and configured to work with your WYSIWYG editor? It should work as long as you have all of those things in place. Here is a great reference to help make sure you have everything setup the way you need.
https://www.drupal.org/node/1882314

This blog can help you to find solution..http://www.ziuby.com/configure-media-drupal-upload-images/

Related

How to use image upload adapters as extra plugins with CKEditor 5 Classic Editor? Or, how to use CKEditor custom builder in React JS?

I was trying to integrate CKEditor5 in my MERN Stack Application. Its a kind of blog site which requires a fully functioned rich text editor. I integrated the editor and all other things are working fine except the file upload button.
I am using the predefined Classic Editor, which has all the basic functions. But when I click on the Image button to upload an image from local storage, it shows the error :
filerepository-no-upload-adapter
I tried to add Base64UploadAdapter plugin but then it shows the error :
Uncaught CKEditorError: ckeditor-duplicated-modules
Because of this error, I had to remove that plugin, but I still do not have the file upload function.
I also need some other buttons on my text editor, but I am always getting some kind of errors.
I also tried the CKEditor Custom build editor, but when I imported it to my page, it again gives me ckeditor-duplicated-modules error. I used the following code for importing:
import { CKEditor } from '#ckeditor/ckeditor5-react';
import Editor from 'ckeditor5-custom-build/build/ckeditor';
And yes, I also added the custom builder's folder to my package.json before importing this.
I want all the features that I added in my Custom builder, but that's not working in my case. Can anyone please help me with this? Or else, if that is not possible, please give me a solution for file upload which I need for sure, even if I don't get other buttons except the predefined Classic Editor buttons.
But, if there is any way to fix this ckeditor-duplicated-modules error and use the Custom build only, that would be the best solution for me..!
Thanks in advance.

how to make selection of input file in ADF mobile framework

i am making the MAF application for practice but in this application am giving the functionality of upload and download files from server and but input file component is not giving in the ORACLE MAF and am successfully done the upload button but i am not know how to add input select file component in the MAF. please
help me .
thank you
please answer this question...
For download, you can use this tag into an amx page :
<amx:goLink text="Download" id="bla" url="http://www.yourservlet.com/download"/>
For the upload functionality, I am not sure if that works somehow. Try to follow up this question of the Oracle Community to find out more about the upload functionality.
Hope to be helpful.
Thanks.

How to find which file is serving ads in my application?

Ok, somehow I am serving ads in my NodeJS / AngularJS application, but I haven't include this myself.
There's some package or included link sending ads to the client, but the ads are not visible, and the adserve url changes with every request. (The url that can be seen in the screenshot below)
How do I find out which place in my application serves these ads?
PS: I am sure this doesn't come from my local dev pc, my other collegues have this issue as well.
A quick trick may be to search for the url in every files of your repository. If you use a cdn to load your librairies, try to look inside also (you can do that directly in chrome dev tool with ctrl/cmd f in the sources tab).
Hope it will help !
The "adserver" in my project turns out to be a tracking / analytics beacon included by the Realtime.co framework.
Thankfully, the author responded to my email very quickly, and they also provide a beacon-free version of their framework. So problem solved :)

PDF generation from AngularJS

I made an AngularJS page with multiple tables, and I need a pdf generation solution. I'm working in a Phonegap context.
The tools I found until now were not able to handle the CSS in my page (like JSpdf).
Do you know some great tools to solve my problem ?
Thanks in advance.
You can try phantomJS. http://phantomjs.org
It provides print to pdf function too.

MediaWiki 1.19.0 styles and skins not displaying

As the title of my question states I am having trouble with my MediaWiki 1.19.0.
I'm running apache2 and I have a few sites that are working fine. I downloaded and installed MediaWiki 1.19.0 and so far it works fine.
But if I try viewing my wiki page from another computer or over the internet the styles and skins don't display.
Any help would be appreciated.
You need to yet yourself Firebug and find out with it which styles/scripts HTTP requests are failing.
I was having this exact same problem. The load.php entry was not being created in the conf.d/mediawiki119.conf file. It also wasn't creating the symlink from /var/www/mediawiki119/load.php to /user/share/mediawiki119/load.php.
Once you fix those two things it will work.
load.php was a new feature that loads the skins which is probably why they forgot it in some of the configuration files.

Resources