Access Level Defaults to Guest for New Articles J 3.4.2
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 01, 2015 6:06 pm
Access Level Defaults to Guest for New Articles J 3.4.2
After upgrading from 3.4.1 to 3.4.2, all of my sites now default to the Guest access level when creating a New Article in the backend. For Administrators, once they Save & Close the new article, it is no longer visible in the Article Manager List, nor on the Recently Added list on the Control Panel admin home page. However, a Super Admin can see these newly created articles that were inadvertanly assigned to the Guest level.
Also, the same problem occurs for New Categories and New Modules.
I checked the Global Configuration, and the default access level is set to Public. I even changed it to Registered, and other higher levels, yet when creating a New Article, the default access level still reverts to Guest.
I am hoping this minor annoyance can be solved soon, as this effects the maintenance of sites for persons who have access levels below Super Admin. Or is there something else new in Joomla 3.4.2 that would correct this?
Also, the same problem occurs for New Categories and New Modules.
I checked the Global Configuration, and the default access level is set to Public. I even changed it to Registered, and other higher levels, yet when creating a New Article, the default access level still reverts to Guest.
I am hoping this minor annoyance can be solved soon, as this effects the maintenance of sites for persons who have access levels below Super Admin. Or is there something else new in Joomla 3.4.2 that would correct this?
-
- Joomla! Apprentice
- Posts: 15
- Joined: Fri May 20, 2011 8:18 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I and many others appear to be having the same issue. Hopefully someone from the Joomla staff will provide an answer or workaround. This is a big problem for some of my clients!
- pe7er
- Joomla! Master
- Posts: 24749
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I am not able to reproduce your error on my J3.4.1 -> J3.4.2 websites.
In Joomla 3.4.2 when you create a new Article (in Article Manager) the Article Edit form will pre-select its values for Status, Access, Language from the options that were selected in the Article Manager under the [Search Tools] option.
This pre-select functionality also works in the Category Manager, Menu Manager and Module Manager.
In previous versions only the Category that had been selected under [Search Tools] would be pre-selected in the Article Edit Form when creating a new article.
Did you set any of the [Search Tools] filters before creating a new Article/Category/Module?
Could you test if your problem also occurs for New Menu Items?
Could you give somewhat more information about your environment, e.g using Forum Post Assistant?
In Joomla 3.4.2 when you create a new Article (in Article Manager) the Article Edit form will pre-select its values for Status, Access, Language from the options that were selected in the Article Manager under the [Search Tools] option.
This pre-select functionality also works in the Category Manager, Menu Manager and Module Manager.
In previous versions only the Category that had been selected under [Search Tools] would be pre-selected in the Article Edit Form when creating a new article.
Did you set any of the [Search Tools] filters before creating a new Article/Category/Module?
Could you test if your problem also occurs for New Menu Items?
Could you give somewhat more information about your environment, e.g using Forum Post Assistant?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Apprentice
- Posts: 14
- Joined: Wed May 22, 2013 5:40 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I have the same problem on my joomla 3 website after upgrading it just a few hours ago (& just realised it). I did not pre select anything from under the search tools option. Yet still, both for the categories access and article access, it defaults to guest and you have to manually change it to public.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Wed May 22, 2013 5:40 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
by the way my environment is an iis environment with php & mysql installed.
I do not have the same problem with menu items.
I do not have the same problem with menu items.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 01, 2015 6:06 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
pe7er - Thanks, and thaks to everyone else to.
No, I didn't select the filters prior to creating a New Article. I just tested this, and if select Public, the new article will defualt to public or other access level as defined. I left it on Public, logged out and logged back in without selectig the filter again, and the Guest access is the default for New Articles.
No, this doesn't happen for Menu items.... but it does occur for New Categories and New Modules (any type).
I am on Linux with Apache with PHP 5.4.40 and MySQL 5.5.4.
No, I didn't select the filters prior to creating a New Article. I just tested this, and if select Public, the new article will defualt to public or other access level as defined. I left it on Public, logged out and logged back in without selectig the filter again, and the Guest access is the default for New Articles.
No, this doesn't happen for Menu items.... but it does occur for New Categories and New Modules (any type).
I am on Linux with Apache with PHP 5.4.40 and MySQL 5.5.4.
- brian
- Joomla! Master
- Posts: 12728
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Can the people reporting this issue please detail what extensions they have installed.
Like pe7er I have tried to replicate this on several sites (clean installs and upgrades) and can not
Like pe7er I have tried to replicate this on several sites (clean installs and upgrades) and can not
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Guru
- Posts: 860
- Joined: Wed Jan 09, 2008 9:16 pm
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Same for me here, after updating from 3.4.1 to 3.4.2. On a localhost WAMP, with PHP 5.4.3, Apache 2.4.2, and MySQL 5.5.24.pe7er wrote: am not able to reproduce your error on my J3.4.1 -> J3.4.2 websites.
In Joomla 3.4.2 when you create a new Article (in Article Manager) the Article Edit form will pre-select its values for Status, Access, Language from the options that were selected in the Article Manager under the [Search Tools] option.
This pre-select functionality also works in the Category Manager, Menu Manager and Module Manager.
I know this doesn't help much, other than to agree with pe7er and say that I'm seeing the New Article in the backend function as expected.
Dave.
My website: http://www.davidboggitt.com/
Love and hate both devastate you, but at least love takes you to dinner first.
Love and hate both devastate you, but at least love takes you to dinner first.
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I'm experiencing this issue on a number of sites.
Add a new article / category via backend or front end has default access set to guest (or in some cases where I have created a custom user group on some websites the access is defaulting to the custom user group)
Global configuration access level set to public
Very frustrating and clients starting to request resolution!
Common extensions include:
Akeeba backup
JCE editor
chronoforms v5
Xmap
Reumer google maps
Less compiler
Add a new article / category via backend or front end has default access set to guest (or in some cases where I have created a custom user group on some websites the access is defaulting to the custom user group)
Global configuration access level set to public
Very frustrating and clients starting to request resolution!
Common extensions include:
Akeeba backup
JCE editor
chronoforms v5
Xmap
Reumer google maps
Less compiler
Last edited by ant3000 on Wed Jul 01, 2015 10:53 pm, edited 4 times in total.
- brian
- Joomla! Master
- Posts: 12728
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I have added this to the issue tracker http://issues.joomla.org/tracker/joomla-cms/7311
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jul 01, 2015 11:55 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Access level is being set to Guest when creating new articles after j 3.4.2 update.
Global Configuration set to Default Access Level: Public
Extensions used:
Akeeba Backup
Akeeba Admin Tools
Admin Menu Manager
JCE Editor
Fileman
NoNumber Content Templater
Global Configuration set to Default Access Level: Public
Extensions used:
Akeeba Backup
Akeeba Admin Tools
Admin Menu Manager
JCE Editor
Fileman
NoNumber Content Templater
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 01, 2015 6:06 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Here are the minimum extensions I have installed on a test site prior to the upgrade from J3.4.x to J3.4.2
Just this Template!
Rockettheme Template (Gantry 4)
I also typically install the below, but this test site I just upgraded that ONLY has the Template insalled and some modules from Rocket Theme, there is nothing else, and it also has the smae issue of the default access set to Guest even though the Global Config is set to Public.
Otherwise I typically use these extensions:
Akeeba Backup (Pro)
Akeeba Admin Tools (Pro)
JCE Editor
Watchful Client
... maong others.
Just this Template!
Rockettheme Template (Gantry 4)
I also typically install the below, but this test site I just upgraded that ONLY has the Template insalled and some modules from Rocket Theme, there is nothing else, and it also has the smae issue of the default access set to Guest even though the Global Config is set to Public.
Otherwise I typically use these extensions:
Akeeba Backup (Pro)
Akeeba Admin Tools (Pro)
JCE Editor
Watchful Client
... maong others.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 01, 2015 6:06 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Some more information...
I installed a fresh version of Joomla 3.4.1, and performed the upgrade to 3.4.2
With nothing else installed, New Articles and New Modules default to Public. Good, that is what I would expect. However, I then went to Global Config to change the default level to a higher level, let's say Registered. Went back to add a new article, which should have now had an access level of Registered. But, it was still Public. Thus the change to Global Config had no effect on default access levels in New Articles, New Modules, etc.
So, my assessment there is a hand-off issue betwen the Global Config and the other parts of the code.
Then I installed one of the Rocket Theme (Gantry 4) templates, and it didn't effect the access level. In other words, it stayed at Public this time, leading me to believe that these Templates are not at fault, but rather the issue is something in Joomla Core Code leading from the Global Config.
Good luck tracking the problem. I don't have enough knowledge to tkae this further.
I installed a fresh version of Joomla 3.4.1, and performed the upgrade to 3.4.2
With nothing else installed, New Articles and New Modules default to Public. Good, that is what I would expect. However, I then went to Global Config to change the default level to a higher level, let's say Registered. Went back to add a new article, which should have now had an access level of Registered. But, it was still Public. Thus the change to Global Config had no effect on default access levels in New Articles, New Modules, etc.
So, my assessment there is a hand-off issue betwen the Global Config and the other parts of the code.
Then I installed one of the Rocket Theme (Gantry 4) templates, and it didn't effect the access level. In other words, it stayed at Public this time, leading me to believe that these Templates are not at fault, but rather the issue is something in Joomla Core Code leading from the Global Config.
Good luck tracking the problem. I don't have enough knowledge to tkae this further.
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
I concur with mediversal_net.
Fresh install of joomla > new article = public access
Global configurations > default access > "special" > save.
new article > access = public
Fresh install of joomla > new article = public access
Global configurations > default access > "special" > save.
new article > access = public
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Hi All
I found the code which is causing the issue and can suggest a temp fix until someone more skilled at PHP than me can implement a more permanent fix.
The file causing issue is Administrator > Components > com_content > models > article.php
Starting on line 422 replace
for (the old 3.4.1 code segment - also starting on line 422)
And everything should get back to how it should? As I said this will only be a temp fix until the guys at Joomla can implement something more permanent 
I found the code which is causing the issue and can suggest a temp fix until someone more skilled at PHP than me can implement a more permanent fix.
The file causing issue is Administrator > Components > com_content > models > article.php
Starting on line 422 replace
Code: Select all
// Pre-select some filters (Status, Category, Language, Access) in edit form if those have been selected in Article Manager: Articles
if ($this->getState('article.id') == 0)
{
$filters = (array) $app->getUserState('com_content.articles.filter');
$data->set('state', $app->input->getInt('state', (isset($filters['published']) ? $filters['published'] : null)));
$data->set('catid', $app->input->getInt('catid', (isset($filters['category_id']) ? $filters['category_id'] : null)));
$data->set('language', $app->input->getString('language', (isset($filters['language']) ? $filters['language'] : null)));
$data->set('access', $app->input->getInt('access', (isset($filters['access']) ? $filters['access'] : null)));
}
}
$this->preprocessData('com_content.article', $data);
return $data;
}
Code: Select all
// Prime some default values.
if ($this->getState('article.id') == 0)
{
$filters = (array) $app->getUserState('com_content.articles.filter');
$filterCatId = isset($filters['category_id']) ? $filters['category_id'] : null;
$data->set('catid', $app->input->getInt('catid', $filterCatId));
}
}
$this->preprocessData('com_content.article', $data);
return $data;
}

- brian
- Joomla! Master
- Posts: 12728
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
A hotfix release is being prepared to address this and a few other small issues
http://issues.joomla.org/tracker/joomla-cms/7313
http://issues.joomla.org/tracker/joomla-cms/7313
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Is there a link where we can download all of the relevant files or will it be via the Update Manager?
- brian
- Joomla! Master
- Posts: 12728
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
When ready it will be announced. It will probably be a new release 3.4.3 which will be available as a complete joomlaupdate
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
- rich1
- Joomla! Enthusiast
- Posts: 190
- Joined: Sun Apr 05, 2009 2:17 am
- Location: London SE
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
This happened to me also when upgrading from 3.4.1 to 3.4.2.
To give you the info.
I installed a J3.3.6 because I wanted the weblinks component.
I upgraded to 3.4.1 - (No Problems)
I then upgraded to 3.4.2
This installation was a fresh install, no extensions.
The problem of 'Guest' being default is in Create Article and Add Weblink.
However Adding a Menu Item or NewsFeed is OK at default 'Public'.
This 3.4.2 update also effected all the other sites I updated, 9 in all.
Problem was I did not notice it until after I tried to Add an Article in one of the sites, then wondered why I could not find the article in the front-end?
To give you the info.
I installed a J3.3.6 because I wanted the weblinks component.
I upgraded to 3.4.1 - (No Problems)
I then upgraded to 3.4.2
This installation was a fresh install, no extensions.
The problem of 'Guest' being default is in Create Article and Add Weblink.
However Adding a Menu Item or NewsFeed is OK at default 'Public'.
This 3.4.2 update also effected all the other sites I updated, 9 in all.
Problem was I did not notice it until after I tried to Add an Article in one of the sites, then wondered why I could not find the article in the front-end?
If you have no 'Coeur de Lion' do not ask why you fail.
- rich1
- Joomla! Enthusiast
- Posts: 190
- Joined: Sun Apr 05, 2009 2:17 am
- Location: London SE
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
A good temporary job for you ant3000 if it has no adverse effects. Well done for attempting the fix.ant3000 wrote:Hi All
I found the code which is causing the issue and can suggest a temp fix until someone more skilled at PHP than me can implement a more permanent fix.
The file causing issue is Administrator > Components > com_content > models > article.php
It will not be the issue though as it also effects weblinks, (see my post above), which is another component so the problem lies elsewhere.
If you have no 'Coeur de Lion' do not ask why you fail.
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
It looks like the Joomla team may have found the solution Rich 1 and will be releasing a hot fix addressing that and few other tweaks soon (see Brian's earlier post)
Looking through the code they have fixed it seems that I had found the right snippet (seems the same principle applies across categories and modules too) but lacking any real PHP knowledge it's a bit beyond my skill set to write a proper fix, although slotting in the old code does seem to patch it up in the short term.
Hope it helps
Looking through the code they have fixed it seems that I had found the right snippet (seems the same principle applies across categories and modules too) but lacking any real PHP knowledge it's a bit beyond my skill set to write a proper fix, although slotting in the old code does seem to patch it up in the short term.
Hope it helps
- brian
- Joomla! Master
- Posts: 12728
- Joined: Fri Aug 12, 2005 7:19 am
- Location: Leeds, UK
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Soon = <24 hours
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Oct 02, 2009 12:44 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2

-
- Joomla! Apprentice
- Posts: 15
- Joined: Fri May 20, 2011 8:18 pm
Fixed by version 3.4.3
Just installed version 3.4.3 and it fixed the issues. Good job Joomla Team!
- pe7er
- Joomla! Master
- Posts: 24749
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Joomla 3.4.3 has just been released, see announcement: http://www.joomla.org/announcements/rel ... eased.html
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
- rich1
- Joomla! Enthusiast
- Posts: 190
- Joined: Sun Apr 05, 2009 2:17 am
- Location: London SE
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Been a little busy to test the new update, but well done Joomla for a rapid response!ant3000 wrote:It looks like the Joomla team may have found the solution Rich 1 and will be releasing a hot fix addressing that and few other tweaks soon (see Brian's earlier post)
Looking through the code they have fixed it seems that I had found the right snippet (seems the same principle applies across categories and modules too) but lacking any real PHP knowledge it's a bit beyond my skill set to write a proper fix, although slotting in the old code does seem to patch it up in the short term.
Hope it helps
The snippet may have helped solved the problem however it will be in another file.
Will test the old weblinks component when I get the time, (please do not tell me this is no longer part of the Core Joomla, I know!!), however if it is not fixed in the old component there will probably be issues elsewhere.
Of course I will be reporting back to this post if it has not been fixed.
As for using bug reports etc, why should I sign up into so many different aspects of the site when I thought that the new ACL would enable me to go site wide for extension reviews, forum, bug reports etc.
If you have no 'Coeur de Lion' do not ask why you fail.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Jul 01, 2015 6:06 pm
Re: Access Level Defaults to Guest for New Articles J 3.4.2
From my limited testing, J 3.4.3 seems to correct the issue I originally posted above yesturday. I have applied it to several sites, and the default access level is working as I would expect.
- rich1
- Joomla! Enthusiast
- Posts: 190
- Joined: Sun Apr 05, 2009 2:17 am
- Location: London SE
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
After implementing the patch 3.4.3
The problem of 'Guest' being default was in Create Article and Add Weblink.
Now both the above are OK at default 'Public'
Adding a Menu Item or NewsFeed was and is still OK at default 'Public'.
So it seems the core issue has been fixed!
The problem of 'Guest' being default was in Create Article and Add Weblink.
Now both the above are OK at default 'Public'
Adding a Menu Item or NewsFeed was and is still OK at default 'Public'.
So it seems the core issue has been fixed!
If you have no 'Coeur de Lion' do not ask why you fail.
- rich1
- Joomla! Enthusiast
- Posts: 190
- Joined: Sun Apr 05, 2009 2:17 am
- Location: London SE
- Contact:
Re: Access Level Defaults to Guest for New Articles J 3.4.2
Just found that since the hotfix J3.4.3 Checking Extensions/Joomla hangs in control Panel, see:
http://forum.joomla.org/viewtopic.php?f=706&t=890835
http://forum.joomla.org/viewtopic.php?f=706&t=890835
If you have no 'Coeur de Lion' do not ask why you fail.