[joomla issue] Error 500 rising up when asking for .php page

More
11 years 1 month ago #41213 by SteP
Hi all
After installing the latest FC build (2.1.1 r1793), I have found some errors 500 listed in my google webmaster account. They all are related to no more existing *.php webpages... But I have also realized this: if I try any url containing any kind "not existing" xxxx.php, my joomla 2.5.14 website gives me back a 500 error, containing this description:
Code:
500 - View not found [name, type, prefix]: article, php, contentView

Is this related to some FC misconfiguration/bug/routing error, or it's a known Joomla issue, or an Apache-related misconfiguration, or what else?
Thank you in advance for your help
Regards

Edit: I also reported this some months ago, see there www.flexicontent.org/forum/index ... =viewtopic and at that time the problem was solved.. may be the same error again?

_________________________________________
MMC Edizioni - www.mmcedizioni.it
Website Developer & Graphics

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

More
11 years 1 month ago #41215 by ggppdk
Hello

have a look at this:

bectin.com/random-insights/jooml ... ontentview

in order to know more you must find a fronted page that contains such a link

otherwise we can not investigate this further,

but i will try to make some test with JCE com_content links


-- 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 1 month ago #41217 by SteP
You can simply add every page name you like to the base url :)
Try this: www.mmcedizioni.it/it/reallyanightmare.php

Obviously the php page is not a real page.

Any other existant .php page works correctly under apache rewriting

_________________________________________
MMC Edizioni - www.mmcedizioni.it
Website Developer & Graphics

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

More
11 years 1 month ago #41222 by ggppdk
Hello

no,
i meant to post a link to a page that contains such a broken link and post a broken link itself

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
11 years 1 month ago #41228 by SteP
All errors I have come from NON EXISTING pages. I don't have seen broken links cusing this in my website. I probaly didn't explain in the right way the problem:: when a visitor falls on (or intentionally writes) a non-existing url having the .php suffix, the website should give back a 404 error, and NOT a 500 one, as now.

_________________________________________
MMC Edizioni - www.mmcedizioni.it
Website Developer & Graphics

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

More
11 years 1 month ago #41229 by ggppdk
Hello

ERROR 500:
View not found [name, type, prefix]: article, php, contentView
is produced by the com_content component


but similar ERROR 500:
View not found [name, type, prefix]: item, php, flexicontentView
can be produced by the com_flexicontent component

If you want this behavior changed:
- you report a bug for Joomla:
forum.joomla.org/viewforum.php?f=579

ask them to change line (j2.5):
(file: libraries\joomla\application\component\controller.php)
Code:
$result = JError::raiseError(500, JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix));
to be
Code:
$result = JError::raiseError(404, JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix));


ask them to change line (j3.x):
(file: libraries\legacy\controller\legacy.php)
Code:
throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix), 500);
to be:
Code:
throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix), 404);


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

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