[solved] I can't add file type image in article

More
14 years 6 months ago - 14 years 4 months ago #17119 by carlinchisart
hi all,

I upgrade to lastest version, after that i can't add file type image to field type minigallery, in field type image i can upload file and add to article but in a field minigllery when I try to select the image no work.

When i try to add a file in a field file y doed click in a file and the name change to color red and the file is added to article but in a field minigallery when I click in the file name nothing happens.
Last edit: 14 years 4 months ago by carlinchisart.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17121 by ggppdk
To which version you upgraded?
to 1.5.5 r607 or the latest from repository?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17122 by carlinchisart
hi,

1.5.4 stable (r558)

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17123 by ggppdk
Hello,
Please use the file attached to this post for mini-gallery bug fixes:
www.flexicontent.org/forum/index ... pic#p16687
and also this post for fixing "invalid token" bug
<!-- l --><a class="postlink-local" href=" www.flexicontent.org/phpbb/viewtopic.php?f=16&t=3298#p16908 ">viewtopic.php?f=16&t=3298#p16908

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17139 by carlinchisart
Hi,

I did the two solucions but no work.
I rempleace a file minigallery.php in /plugins/flexicontent_fields
and i change the file filemanager.php in /administrator/components/com_flexicontent/controllers
but noting happend.

I think the problem is when I do click in a file to add a minigallery field, noting happend (i don't have error for invalid token or things like that) simply the image no add to article, but if i doed the same in a file field the file is added to article.

sorry for my English I speak spanish.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17140 by ggppdk
Very likely you have javascript errors, that don't let the image to be added properly.

Please install web developer toolbar and check if at the rightmost end of it you have a green tick or a red "x".

If you have a red you have javascript errors.

Click the red x , then press to purge the errors and then reload page, and try to add an image and then click again on the red x, to see what the error is. And post back here.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17141 by carlinchisart
really I have javascript error,

when I did what you told me i see this error
Error: file is undefined
source file: http://quimilandd3e1.pymeopensoluciones ... k=edit&cid []=6
Line: 143

tanks

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17142 by ggppdk
I remember this error, i had it too, ... i think, fo me it was loading jquery twice or something.

I sent you a personal, to give me access,

I will take a quick look, and if i see it is a flexicontent bug i will look at it further.

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17145 by ggppdk
At least one source file is not as it supposed to be.
Have you changed any files?

Manually edit file:

administrator/component/com_flexicontent/views/fileselement/tmpl/image.php

find line about 180:
Code:
<a style="cursor:pointer" id="file<?php echo $row->id;?>" onclick="javascript:qffileselementadd( ...

it should be as:
Code:
<a style="cursor:pointer" id="file<?php echo $row->id;?>" onclick="javascript:qffileselementadd(this, '<?php echo $row->id;?>', '<?php echo str_replace( array("'", "\""), array("\\'", ""), $row->filename ); ?>');">

Maybe (backup) and try reinstalling 1.5.4 without un-installing.
And the reply bugfixes for minigallery and file-manager


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #17149 by carlinchisart
ok, i install the lastest version wihtout uninstall other version At first I was 1.5.3, sorry :)

I did not edit any file.

I see the file image.php but this file no have line 180

and have two point with text

<a style="cursor:pointer"
attach file.

so can i uninstall flexicontent and install?

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save