Hi
in my site
if go to invalid url profile for example :
site.com/dwadafdfgsh/profile
display error image below :
Hi, Davood.
Thank you for contacting us.
It's because you started to typing random things in URL. Other systems will react differently - many depends how your URL are created.
Words after / are used as parameters so they may give different results.
But who really is typing random things in URL?
Bots only I guess...
I mean , when user enter a random url (site.com/dawda/profile)
should be display : error 404 page (like to you community)
but in my site display error 500
I would display error 404 page and say : this page not found or this user not found (like to your community)
what should I do?
Hi.
500 indicate server issue. To say more about this issue you need to check server error logs.
Could you provide it here?
also some random word in URL could be taken as parameter by Joomla! and return different kind of error than just 404.
Thank you
in this topic (infromation misc) insert information login for FTP
i see log :
PHP Fatal error: Unsupported operand types in /home/.../domains/....com/public_html/libraries/cms/router/router.php on line 234
Hi.
Thank you for checking.
I assign developer to this thread for further investigation.
Hi,
this is purely joomla issue, not jomsocial.
you can see that error message located at joomla libraries.
this URL still working:
jomsocial.com/community/dawdawda/profile
because the jomsocial not set at site mainpage. the URL still containing component parameter
if you aware with this issue. please open new topic at:
forum.joomla.org/
because this issue purely user mistake or non human (like a bot system).
Regards
thank you
please open :
demo.jomsocial.com/dawdawd/profile
display error : 0 - Unsupported operand types
this error Same error that in log my site displayed
In the old days there were no problems
but updated after This problem has arisen
I do not know after update joomla to 3.6 or after update jomsocial to 4.2.4
but in the old days there were no problems and good working
please demo jomsocial
Hi,
For the fix:
/components/com_community/router.php line 271
return JFactory::getApplication()->enqueueMessage(JText::_('COM_COMMUNITY_USER_NOT_FOUND'), 'error');
JFactory::getApplication()->enqueueMessage(JText::_('COM_COMMUNITY_USER_NOT_FOUND'), 'error');
JFactory::getApplication()->redirect(CRoute::_('index.php?option=com_community&view=frontpage', false));
Thank you very much
my problem is fixed
when go to link : site.com/dawdawdd/profile
loading frontpage (redirect to home page) and display error : invalid ID
( good working )
this is a bug? in jomsocial version 4.2.5 is fixed?