No 404 errors anymore

More
13 years 1 month ago #31951 by Rooney
No 404 errors anymore was created by Rooney
Hi,

in some cases I don't get 404 errors anymore. Instead the following error is displayed
Code:
Fatal error: Call to a member function get() on a non-object in /.../htdocs/components/com_flexicontent/views/category/view.html.php on line 87

Latest Fversion 1601.

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
13 years 1 month ago #31984 by ggppdk
Replied by ggppdk on topic No 404 errors anymore
This line should not be reached, before that point 404 error should have been triggered

what is these links? are they
-- category links?
-- category menu items
-- author menu items
-- myitems menu items
-- other ??


-- 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 review. Thanks!

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

More
13 years 1 month ago #31993 by Rooney
Replied by Rooney on topic No 404 errors anymore
The link does not matter. I can type in anything that is not existent like www.muenstermann.com/uebersicht/lagesdsf and instead of an 404 error I will see the error message!

Actually, I have just tested another of my FC pages: www.servoflo.com/pressurevqevqer . The same. It uses an earlier FC version. No 404 errors.

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
13 years 1 month ago #32006 by ggppdk
Replied by ggppdk on topic No 404 errors anymore
This is strange the code that use the parameter object is unreachable if the category is not created.

I have a couple of thoughts

but i really would like to examine what is happening,
please send me a PM with admin access to site


-- 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 review. Thanks!

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

More
13 years 1 month ago #32007 by Rooney
Replied by Rooney on topic No 404 errors anymore
I have just send a PM with access data!
Thanks in advance!
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
13 years 1 month ago #32016 by ggppdk
Replied by ggppdk on topic No 404 errors anymore
ooh, it seems that in J2.5.8+
Code:
JError::raiseError($code, $mssg);
no longer terminates Joomla execution flow !!
instead we need to call:
Code:
throw new Exception($mssg, $code);

But this is for Joomla Platform 12.1 ??? :
github.com/joomla/joomla-platform/pull/964

-- Platform 11.4 is J2.5.
-- Platform 12.1 is J3.0

So we need to update code in all places, (also it reminds category not found message is not translated)


-- 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 review. Thanks!

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

More
13 years 1 month ago #32030 by Rooney
Replied by Rooney on topic No 404 errors anymore
So, that means that they made a silent update to Joomla 2.5?
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
13 years 3 weeks ago #32516 by Rooney
Replied by Rooney on topic No 404 errors anymore
Hi, Happy New Year.
Just out of interest, have you had a chance to look into this?
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
13 years 3 weeks ago #32545 by ggppdk
Replied by ggppdk on topic No 404 errors anymore
We need to change all calls

JError::raiseError
with:
throw new ...

This change is needed for J3.0 it is strange that it does not work in your J2.5 installation, i have latest J2.5.x and it works

-- anyway this change will work for both J2.5/J3.0, i will commit this fix

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 review. Thanks!

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

More
13 years 3 weeks ago #32548 by ggppdk
Replied by ggppdk on topic No 404 errors anymore
In r1619:

# Replaced: JError::raiseError with: throw new Exception so that it is compatible with J3.0 ( /J2.5 )


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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
Save