FC2-r1496 - Error 500 when creating author via admin panel

More
12 years 8 months ago #29184 by yopyop001
Hi,

When i click 'New author' on Flexicontent admin dashboard, i get an error 500 : "Mise en page default introuvable"

If i rename the file
administrator/components/com_flexicontent/views/user/tmpl/form.php
into
administrator/components/com_flexicontent/views/user/tmpl/default.php
it works but...
the "Add" button doesn't work anymore in the 'users' view (error 500 : "Mise en page form introuvable"

--
Duplicating the file (form.php + default.php) solves the problem, but this will need two updates for each new version of the form.

--
Changing
Code:
JRequest::setVar( 'layout', 'form' );
by
Code:
JRequest::setVar( 'layout', 'default' );
in administrator/components/com_flexicontent/controllers/users.php
solves the problem, but i'm not sure it's the best way to do it.

Best regards

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

More
12 years 8 months ago #29186 by ggppdk
This was recently ported from J1.5 version.

Yes button in the Dashboard has this problem,

i missed it because i only tested with "new" button in the author management tab, which works properly, will commit fix, thanks


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.317 seconds
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