Mango



Thread: How To Add A Plugin

Created on: 12/24/09 07:43 AM

New topic Reply    Page: 1  

Replies: 23
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/24/09 7:43 AM

This could be a newbie question but how do I add a new plugin. I would recommend you add this to your website and in the admin section of the blog.

After logging into the admin section of my blog and clicking "Plugins" it states "Enter the full URL of the plugin - this should be a .zip file." What URL?

I downloaded the plugin to my computer...what is the next step?

Regards,

Barry
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

12/24/09 11:17 AM

It is easier if you don't download the plugin but just copy the address of the zip file (from where you downloaded it) and enter that into the text input.

In fact, it is now the recommended method for upgrading since it will allow the plugin to run upgrade scripts.
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/24/09 11:30 AM

Hi Laura.

I did try that but I think it is not working.

Try this:

http://blogsubscriber.riaforge.org/index.cfm?event=action.download

I'm receiving an error message "Unable to upload" for the current version 1.4.1

Barry
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

12/25/09 11:52 AM

Barry,
That error message is not in Mango's code, which leads me to believe it could be a ColdFusion or Java error. I have the feeling it has to do with file permissions. Please make sure the plugins/user folder allows ColdFusion to read and write files. Also, do you have any tag or function that is restricted in your system?
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/25/09 12:06 PM

Hi Laura.

Merry Christmas!

This is not a coldfusion error message but a message in the admin section with an image of a "X" that says "Unable to download the file". All I did so far in download your blog, add a DB, add DB in CF Admin, FTP all the files and deleted admin/setup when I was done. Everything is working perfect except this issue. I do not have any tags or functions.

Barry
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

12/25/09 12:13 PM

Barry,

Merry Christmas to you too!

Any ColdFusion/Java error while trying to install the plugin will be caught and you will see a nicer error with an x :)

Please check the folder permissions. I would actually check the permissions in the whole blog folder or you will have problems while upgrading too.
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/25/09 12:34 PM

Is there any way to check this?

Is this working for you?

I checked my server and I have Full Control for this site.

Barry
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

12/25/09 12:48 PM

What platform are you in?
By the way, ColdFusion needs to have permissions, not your own user.
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/25/09 12:53 PM

I'm using CF 8 on a Windows Server 2008.

Do I need to log into my CF Admin and tweak something?

Barry
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

12/25/09 1:03 PM

No, you need to make sure the user that ColdFusion uses has read and write permissions on the blog folder and all subfolders.

You might want to read this:
http://www.techotopia.com/index.php/Understanding_Windows_Server_2008_File_and_Folder_Ownership_and_Permissions
or make a search in Google for "windows 2008 folder permissions". I don't know what user ColdFusion is using in your system.
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/27/09 3:43 PM

Hi Laura.

My server provider stated today that all my permissions have been updated for read and write.

Is there a way to remove your error message so we can see the coldfusion error message.

Thanks,

Barry
Link | Top | Bottom
BarryMac


BarryMac's Gravatar
Joined: 12/24/09
Posts: 11

12/31/09 11:52 AM

Repaired!

The problem was the permissions were correct; but, the network adapter settings had to be reset. My server couldn't get outside the network.

Thanks!
Link | Top | Bottom
frinky


frinky's Gravatar
Joined: 06/28/09
Posts: 33

01/02/10 3:41 PM

Hmm, I would say the url you provided, "http://blogsubscriber.riaforge.org/index.cfm?event=action.download"; doesn't lead to a zip file, but to an html file.
I had the same problem with plugins from riaforge. Turned out that under the surface another call is done to "http://blogsubscriber.riaforge.org/index.cfm?event=action.download[b]&doit=true[/b]" which is the link to the zip file.

But if you were having network problems, even this tip wouldn't have helped you ;-P

Regards, Paul Klinkenberg
- - Freelance Coldfusion developer from The Netherlands!
Link | Top | Bottom
frinky


frinky's Gravatar
Joined: 06/28/09
Posts: 33

01/02/10 3:42 PM

Actual link would be http://blogsubscriber.riaforge.org/index.cfm?event=action.download&doit=true
- - Freelance Coldfusion developer from The Netherlands!
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

01/02/10 3:49 PM

Hi,
His problem was in his server configuration. The plugin downloader knows how to handle RIAForge downloads and it adds the doit parameter by itself.
Link | Top | Bottom
frinky


frinky's Gravatar
Joined: 06/28/09
Posts: 33

01/02/10 3:59 PM

Okay, that's good to know!
- - Freelance Coldfusion developer from The Netherlands!
Link | Top | Bottom
snake


snake's Gravatar
Joined: 05/17/10
Posts: 36

12/19/11 4:53 PM

hmm, I am having this issue as well with a specific plugin.

https://github.com/downloads/tony-garcia/SyntaxHighlighter-Mango-Plugin/syntaxhighlighter-mango-plugin.zip

I have installed numerous other plugins and updated mangoblog itself without issue, but this plugin says "cannot download file".

The odd thing is that I have installed it just fine on another mango blog.
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 652

12/19/11 5:06 PM

The plugin developer did not package the file correctly. You will need to download the zip and change the folder names "src" to "SyntaxHighlighter" and upload via FTP.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
snake


snake's Gravatar
Joined: 05/17/10
Posts: 36

12/19/11 5:28 PM

but as I said, I have installed it just fine on my other blog, no errors.
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 652

12/19/11 5:31 PM

Did you try renaming the folder? I ask because the plugin will not work unless the folder is named correctly.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 652

12/19/11 5:32 PM

if you installed the plugin in the past it may have been named correctly before. It's not anymore.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
snake


snake's Gravatar
Joined: 05/17/10
Posts: 36

12/19/11 6:46 PM

i installed it manually and renamed the folder.
He must have updated this plugin within the last few days then to cause this error as I only installed it last week successfully on my other blog.

Sadly is still doesn't work though as it displays a load of garbage instead of the formatted code.
Can't post on Tony's blog either as it throws an error when posting comments.
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 652

12/19/11 7:04 PM

Have you read through this readme file.

https://github.com/tony-garcia/SyntaxHighlighter-Mango-Plugin/blob/master/README.txt

There are some instructions for upgrading and usage. They may not be applicable, but worth checking out just in case.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
snake


snake's Gravatar
Joined: 05/17/10
Posts: 36

12/20/11 4:49 AM

yea, it is not an upgrade so does not apply, very odd why it works on one site and not another.
Perhaps I will try copying the plugin from the other site, maybe Tony broke something in his last upload.
Link | Top | Bottom

New Post

Please login to post a response.