blank page after front edit save

More
11 years 6 months ago #37003 by koen.knaepen
I have a website where I want to use front edit. When I try to save an article with one of the save buttons (apply, save&preview or save and return), I get a blank page. When I refresh the page, I return to the edit form of the item. Strangly the item is saved, because when I push "cancel" there I see the saved item.
Is this a known issue, and how can I resolve it?

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

More
11 years 6 months ago #37004 by ggppdk
Hello,
blank page means a fatal PHP error with PHP error messaging disabled.

1. Please enable error reporting in Joomla Global configuration, and then go back to edit form to see if an PHP error message gets printed
2. If the above does not work, then edit
components/com_flexicontent/flexicontent.php
and after:
defined( '_JEXEC' ) or die( 'Restricted access' );
add:
Code:
error_reporting(E_ALL & ~E_STRICT); ini_set('display_errors',1);


-- 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
11 years 6 months ago #37022 by koen.knaepen
Hi,

Joomla error does not give anything, but inserting the code you gave: gives this error:

Fatal error: Call to a member function clear_article_cache() on a non-object in /home/parfuser/TestParFinisweb/scio/public_html/administrator/components/com_accessmanager/plugin_system/plugin_system2.php on line 1689

This means there is a conflict with the extension acces manager. I use it extensively because it it makes access to menus a lot easier.
The code that is affected is (indicated the line with an errow:
Code:
function onContentAfterSave($context, $article, $isNew){ if($context=='com_content.article' || $context=='com_content.form' && $this->am_config['article_active']){ //frontend and backend $this->save_rights($article->id, 'article', $this->am_config['based_on']); ----> $this->helper->clear_article_cache(); } if($context=='com_categories.category' && $this->am_config['category_active']){ $this->save_rights($article->id, 'category', $this->am_config['based_on']); $this->helper->clear_article_cache(); } }

I am not a developper. I just configure websites, but maybe you know what is wrong?

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

More
11 years 6 months ago #37027 by koen.knaepen
I think the error is in com_accessmanager.
For others who have this problem please see this topic
www.pages-and-items.com/forum/42-access-...ticles-in-front#8607

Sorry for the inconvenience.

Best regards

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

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