[Solved] Simple Image Gallery Uploader Problem

More
12 years 4 months ago #26578 by victorio404
It is in the backend. Haven't changed any core files since the update to the latest flexicontent - it replaces all core file on update right?
There is no override of the item edit form too.

It appears when I open an old item and save it, but only the first time. On second save - no such message.

Now i noticed - when press New Item i got error:
"500 - An error has occurred!

getExtrafields(): Cannot get type_id from item or typeid from HTTP Request"

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

More
12 years 4 months ago #26579 by ggppdk
Yes it's the changes i have mentioned, that were made to the items model, it works in J2.5 but it got broken in J1.5.

Try this temporary fix:

Please open
administrator/components/com_flexicontent/models/parentitemclass.php
and comment out the line
Code:
if (!$typeid) JError::raiseError(500, __FUNCTION__.'(): Cannot get type_id from item or typeid from HTTP Request');
by placing a double slash // in front of the line

and a few lines below
Code:
.' WHERE ftrel.type_id='.$typeid
with
Code:
.' WHERE (ftrel.type_id='.$typeid.' || fi.iscore=1)'

And in components/com_flexicontent/classes/flexicontent.fields.php
replace line (about 764)
Code:
if ($field->iscore && !isset($fdata[$tindex][$field->name])) {
with
Code:
if ($type_id && $field->iscore && !isset($fdata[$tindex][$field->name])) {


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

More
12 years 4 months ago #26581 by victorio404
Now i get "Parse error: syntax error, unexpected '=' in /var/www/vhosts/website.com/httpdocs/administrator/components/com_flexicontent/models/parentclassitem.php on line 2686"
when opening item or new item with simple errors on on Joomla configuration.

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

More
12 years 4 months ago #26606 by ggppdk
I have made a nightly build of r1367 because r1365 had a couple of important bugs in item model

NOTE, there has been ITEM Model and ITEM edit form changes so be sure to test Item Edit Form.

For J1.5:
flexicontent.googlecode.com/file ... ild.tar.gz
For J2.5:
flexicontent.googlecode.com/file ... ybuild.zip

Consider this version test only, although it has various bug fixes and improvements, something may have been broken


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

More
12 years 4 months ago #26621 by victorio404
With the latest build i get the message "Original content item was IGNORED and RESET because item language is site's default language" on first save, but now new items is working.
Other minor issue is that the fields "flexigmaps" and "fleximapspro" are displayed in item edit form even if they are disabled - the solution is to deselect types in the field settings so there are no associated types with the field(or to delete the fields).

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

More
12 years 4 months ago #26624 by micker
it work now ?
can change prefix to add solved ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

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