I can't add attachments in a blog entry

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/5/2014 4:05:56 PM
Gravatar
Total Posts 11

I can't add attachments in a blog entry

Hello

my system informatiom


2.3.9.7 MSSQL
Operating SystemMicrosoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Infov4.0.30319 Running in Partial Trust
Server Time ZoneW. Europe Daylight Time
Server Local Time(GMT 2) 8/5/2014 10:59:37 PM
Greenwich Mean Time (GMT/UTC)8/5/2014 8:59:37 PM
 

 

I've added a post in blog module

I want add an attachment but when I click "Upload" nothing appear

I've checked permission in "data" folders and it's ok

where are saved the attachments?

I'm using google chrome 35.0.1916.114 m and i've tried also with ie 10 but it's the same

8/5/2014 4:43:59 PM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

first thing to understand is that the blog attachments is only for media files like audio and video ie for podcasting, other files types should not be added as attachments there. If you want to link to other file types just type in text for the download link, highlight the text and use the link toolbar item to upload and link to a file.

you may also want to compare the functionality on our demo site to see if the uploader looks the same, possibly you have a javascript error on the page that prevents the file uploader form working, this thread has that kind of problem and may help you, ie you may need to enable the jquery migrate plugin to solve a script error as documented in important skin changes. Other than that, everything I know about file upload problems is in the article Supporting Large File Uploads

8/9/2014 9:48:11 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

Hi! I'm here again

I've tried upload file in demo site and the UI is very different

This on demo site

http://mynewco.eu/materiali/demo.png

And this on my site

http://mynewco.eu/materiali/mynewco.png

I've read this link

https://www.mojoportal.com/controlling-jquery-jquery-ui-versions

and I changed my web.config but the UI is always the same

Maybe a strange thing

in web.config I have

    <add key="jQueryBasePath" value=" />
    <add key="jQueryUIBasePath" value="~/ClientScript/jqueryui16b/" />
    <add key="SwfObjectUrl" value="~/ClientScript/SwfObject/2.2/swfobject.js" />
    <add key="jQueryUIAvailableThemes" value="base,black-tie,blitzer,cupertino,dark-hive,dot-luv,eggplant,excite-bike,flick,hot-sneaks,humanity,le-frog,mint-choc,overcast,pepper-grinder,redmond,smoothness,south-street,start,sunny,swanky-purse,trontastic,ui-darkness,ui-lightness,vader"/>

but the paths  "~/ClientScript/jquery132/" e "~/ClientScript/SwfObject/2.2/swfobject.js" don't exist in my server

I'm using i7MEDIA-SwiftBlue-v1_3 skin

Thanks

 

8/11/2014 3:55:19 PM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

I've tried also to change theme and to use explore but the problem is the same

What can i try again?

Or what information you need?

 

Thanks

8/11/2014 4:17:30 PM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

you need to solve the javascript errors that are happening on your page, use the web browser dev tools you will see that you have script errors in the console

as mentioned already you need to enable the jQuery Migrate plugin in the layout.master file of your skin, this may solve the script error, see Important Skin Changes for information about enabling jQuery Migrate

check the javascript console again after that to see if there are still any script errors on the page

8/11/2014 5:22:00 PM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

also noted in Important Skin Changes, is a change needed for superfish menu, you need to fix that as well, because the swift blue skin uses it, this is also documented in Important Skin changes. fixing these 2 things will probably solve all the script errors and then the file uploader should also be fixed

8/29/2014 9:46:16 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

I've made some changes as you suggested

\Data\Sites\1\skins\i7MEDIA-SwiftBlue-v1_3\layout.master

    <portal:ScriptLoader id="ScriptLoader1" runat="server" IncludeModernizr="true" IncludeColorbox="true" IncludeJQueryMigrate="true" />

 

\Data\Sites\1\skins\jqueryui-1\layout.Master and \Data\skins\jqueryui-1\layout.Master 

<portal:SiteScript id="superfish" runat="server" ScriptRelativeToRoot="/ClientScript/jqmojo/mojosuperfish150.js" />

 

\Data\Sites\1\skins\i7MEDIA-SwiftBlue-v1_3\script\script.js

$.getScript("/ClientScript/jqmojo/mojosuperfish150.js", function() {

 

But when I debug the page, I can see for a while the button "Upload" and then disappear

I've these errors:


JQMIGRATE: jQuery.buildFragment() is deprecated
JQMIGRATE: jQuery.attrFn is deprecated
Uncaught TypeError: Cannot read property 'Constructor' of undefined www.mynewco.eu/portale/ScriptResource.axd?d=8m-5IZCJ6ep8Fr5Phb7AJ9ZjO4H3Ftx…mtL757xJD_OUyStRoP1dJcAkas6QWes8KezZJwiugs_XrUC5wmgQyOtahYeVQ0o-CbXB0:1201
Uncaught TypeError: undefined is not a function www.mynewco.eu/portale/HtmlEdit.aspx?mid=0&pageid=0:455
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.mynewco.eu/ClientScript/jqmojo/mojosuperfish150.js?_=1409322091583
Uncaught TypeError: undefined is not a function www.mynewco.eu/portale/Dialog/FileDialog.aspx?ed=tmc&type=file:224
Uncaught TypeError: undefined is not a function www.mynewco.eu/portale/ClientScript/jqfileupload/jquery.fileupload.js:1091

Uncaught TypeError: undefined is not a function FileDialog.aspx?ed=tmc&type=file:224

Uncaught TypeError: undefined is not a function jquery.fileupload.js:1091

and in  FileDialog.aspx?ed=tmc&type=file

<script type="text/javascript" > $('div.mojo-accordion').accordion({});$('div.mojo-accordion-nh').accordion({heightStyle:'content',animate:{opacity:'toggle',duration:'400'}}); $('div.mojo-tabs').tabs({}); $('input.jqbutton').button(); $('.jqtt').tooltip(); $('.faqs dd').hide();$('.faqs dt').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')}).click(function(){ $(this).next().slideToggle('normal'); });  </script>
Uncaught TypeError: undefined is not a function

 

In this post https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=11610~1  someone says on 2013

"The SwiftBlue skin uses a GetScript call in the script.js file to pull in SuperFish so he changed it in the right place. Next version of SwiftBlue will not use GetScript as we don't need to do it that way anymore."

But the last version on the site is 2012

http://html5mojo.codeplex.com/releases/view/92765

Maybe it's better I report a bug on skin site http://swiftblue.mojoskins.com/report-bug.aspx

 

 

 

8/30/2014 11:30:55 AM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

Hi,

You are still getting a script error for superfish, I would solve that. Currently it is not finding the file because you have:

<portal:SiteScript id="superfish" runat="server" ScriptRelativeToRoot="/ClientScript/jqmojo/mojosuperfish150.js" />

but your site is not root level so you need:

<portal:SiteScript id="superfish" runat="server" ScriptRelativeToRoot="/portale/ClientScript/jqmojo/mojosuperfish150.js" />

Hope that helps,

Joe

8/31/2014 9:50:54 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

I can't solve my problem

 

I put in layout.master under these folder

\portale\Data\Sites\1\skins\i7MEDIA-SwiftBlue-v1_3

\portale\Data\Sites\1\skins\jqueryui-1

\portale\Data\\skins\jqueryui-1

this row     <portal:ScriptLoader id="ScriptLoader1" runat="server" IncludeJQueryMigrate="true"/> before <\head>

 

I modified "mojosuperfish150.js" in 


\portale\Data\Sites\1\skins\i7MEDIA-SwiftBlue-v1_3\scripts\script.js' :

    $.getScript("/portale/ClientScript/jqmojo/mojosuperfish150.js", function() {


\portale\Data\Sites\1\skins\jqueryui-1\layout.Master' :
\portale\Data\skins\jqueryui-1\layout.Master' :

<portal:SiteScript id="superfish" runat="server" ScriptRelativeToRoot="/portale/ClientScript/jqmojo/mojosuperfish150.js" />

 

But i have always the same problem : the button "btnUpload" disappears and I have the error "Uncaught TypeError: undefined is not a function" on this line

<script type="text/javascript" > $('div.mojo-accordion').accordion({});$('div.mojo-accordion-nh').accordion({heightStyle:'content',animate:{opacity:'toggle',duration:'400'}}); $('div.mojo-tabs').tabs({}); $('input.jqbutton').button(); $('.jqtt').tooltip(); $('.faqs dd').hide();$('.faqs dt').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')}).click(function(){ $(this).next().slideToggle('normal'); });  </script>

 

I wrote to I7Media for newer version of skin because from their website is old, but they don't update it yet

I'm sorry but I'm using Mojo e Swiftblue as self-taught

 

 

9/1/2014 1:13:50 PM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

I don't recommend posting your login information in a public forum.

an error like that probably is caused by some change in server configuration, but the first step to solve any error is first find out the error details. with the error details we may be able to help.

once the error is resolve and you can login you should change your password right away.

After that, if you want to zip your skin and email it to me I will try it on my machine and try to fix it for you. joe dot audette at g mail dotcom

9/2/2014 6:22:38 PM
Gravatar
Total Posts 2253

Re: I can't add attachments in a blog entry

Hi Maria,

We sent you an updated copy of SwiftBlue when you requested it. Check your spam folder to be sure you received the email.

Thanks,
Joe D.

9/3/2014 3:33:58 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

I can't find your mail 

There is nothing in spam

From website http://html5mojo.codeplex.com/releases/view/92765 there is old version

My email is mtvaccari@mtvaccari.it

 

Thanks

 

9/3/2014 4:00:46 PM
Gravatar
Total Posts 2253

Re: I can't add attachments in a blog entry

A new version of SwiftBlue has been uploaded to https://html5mojo.codeplex.com/releases/view/92765

Thanks,
Joe D.

9/10/2014 6:54:02 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

Aruba assistance told me that maybe I have changed some files that causes error and they suggest to re-made installation

I'm using mojo 2.3.9.7 MSSQL on ASP.NET Infov 4.0.30319 

I see that now it's available 2.4.0.4 on .net 4.5 but it can be run on .net 4.0

I think to duplicate installation on another folder

What can you suggest?

 

9/10/2014 7:33:39 AM
Gravatar
Total Posts 18439

Re: I can't add attachments in a blog entry

I have been getting reports about problems with our 4.0 .NET build of mojoportal 2.4.0.4 so since Aruba does not have 4.5 I do not recommend upgrading to mojoPortal 2.4.0.4 at any Aruba hosting. Also I would not install a second copy in a sub folder as that leads to conflicts with web.config files.

You are still having the same problem with a skin but other skins work? Then you can email me the skin and I will try to fix it for you.

9/10/2014 11:04:31 AM
Gravatar
Total Posts 11

Re: I can't add attachments in a blog entry

I've upgraded to Mojo 2.3.9.9 MSSQL

I've restored original skin i7MEDIA-SwiftBlue-v1_3

And now upload file works!

At the end I've upgraded at skin i7MEDIA-SwiftBlue-v1_4 and it still works!

 

Thank you for your help and your patience

 

 

You must sign in to post in the forums. This thread is closed to new posts.