[SOLVED] ERROR: Frontend Edit

More
12 years 8 months ago - 12 years 8 months ago #23364 by scorpion_pt
Hi,

Using joomla 1.5.25 / FLEXIcontent 1.5.6 RC3 (r1194)/FLEXIaccess 1.0.5

When trying to edit an item in frontend I receive this error:
Code:
[Fri Mar 16 16:42:40 2012] [error] [client 172.16.1.200] PHP Notice: Undefined variable: mainframe in /var/www/xxxxx/components/com_flexicontent/controller.php on line 86, referer: http://novo.xxxxx.com/portugal/empresa/apresentacao [Fri Mar 16 16:42:40 2012] [error] [client 172.16.1.200] PHP Fatal error: Call to a member function getParams() on a non-object in /var/www/xxxxx/components/com_flexicontent/controller.php on line 86, referer: http://novo.xxxxx.com/

Any ideas how to solve this?

Thanks in advance ;)
Last edit: 12 years 8 months ago by scorpion_pt.

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

More
12 years 8 months ago #23368 by ggppdk
just before the offending line,
add a:
Code:
global $mainframe;

Tomorrow or today if i can will make a nightly build although it will not be RC4 although very close now, since a few bugs less important bugs are still open.

I have been busy cleaning up / improving frontend item view / edit form and model.

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

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

More
12 years 8 months ago #23370 by scorpion_pt
Thanks so much. That solved the problem :)

Best Regards

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

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