Invalid container: Cxampphtdocsjoomla

General questions relating to Joomla! 4.x.

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
Post Reply
frannyji
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Wed Aug 21, 2013 12:19 am

Invalid container: Cxampphtdocsjoomla

Post by frannyji » Tue Nov 29, 2022 9:52 am

I have a number of articles which fail to show on the front-end. The message says:

The requested page can't be found.
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page

0 Invalid container: Cxampphtdocsjoomla


All these particular articles have an image in them. If I remove the image then the article is able to show on the front-end.

I'm wondering if there is an incorrect configuration setting, and if so, what is it?
I'm also wondering if there is a setting in one of the php files that needs to set/enabled/disabled/fixed.
I'd appreciate any suggestions which would fix this. Thanks.
Fran

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2508
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Invalid container: Cxampphtdocsjoomla

Post by SharkyKZ » Tue Nov 29, 2022 9:55 am

Enable debug and post stack trace.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 13245
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Invalid container: Cxampphtdocsjoomla

Post by sozzled » Tue Nov 29, 2022 2:37 pm

c:/xampp/htdocs/joomla … hmm … ???
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

frannyji
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Wed Aug 21, 2013 12:19 am

Re: Invalid container: Cxampphtdocsjoomla

Post by frannyji » Tue Nov 29, 2022 10:25 pm

Okay SharkyKZ, I enabled debug and have a screen full of panels with titles like:

ComFilesModelNodes->getContainer()

There are 21 of these but none labelled stack trace. Which one would be the one I want?
Blessings,
Fran

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2508
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Invalid container: Cxampphtdocsjoomla

Post by SharkyKZ » Wed Nov 30, 2022 6:05 am

You need to go back to the page where this error occurs to see the stack trace. The issue is coming from a component with system name "com_files". Could be a file manager of some sort. Do you have anything like in the extensions list?

frannyji
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Wed Aug 21, 2013 12:19 am

Re: Invalid container: Cxampphtdocsjoomla

Post by frannyji » Wed Nov 30, 2022 7:54 am

Somehow this morning I was able to get a home page trace. I have no idea how I did and haven't been able to do it again since then. That file 901 lines and is 89KB. It seems as if it's too long to post here.
Do you have a suggestion as to what I should look for, and if I find it what I should do with it?
There are no com_files listed in the trace. There are com_files listed on the front-end page. Here is the contents of that first container:

Invalid container: Cxampphtdocsjoomla
...\libraries\joomlatools-components\files\model\nodes.php:164

159 {
160 //Set the container
161 $container = $this->getObject('com:files.model.containers')->slug($state->container)->fetch();
162
163 if (!is_object($container) || !count($container) || $container->isNew()) {
164 throw new UnexpectedValueException('Invalid container: ' . $state->container);
165 }
166
167 $this->_container = $container->top();
168 }
169


I could make a list of the 21 container names if this would help. Maybe I should copy out the contents of each container... what to do?
Thanks for responding.
Fran

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2508
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Invalid container: Cxampphtdocsjoomla

Post by SharkyKZ » Wed Nov 30, 2022 8:15 am

You're right this is not from a component. The file belongs to Joomlatools Framework. Full stack trace is still needed though. The framework should not be doing anything by itself. There must be some extension using it.

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2508
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Invalid container: Cxampphtdocsjoomla

Post by SharkyKZ » Wed Nov 30, 2022 8:20 am

Do you use DOCman or any other extension by Joomlatools?

frannyji
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Wed Aug 21, 2013 12:19 am

Re: Invalid container: Cxampphtdocsjoomla

Post by frannyji » Wed Nov 30, 2022 9:23 am

Thanks for a quick response.
Yes, I do use Docman. I also use Fileman and Textman. Could my problems be caused by the JoomlaTools Framework?

Fran


Post Reply

Return to “General Questions/New to Joomla! 4.x”