Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

problem invalid url profile

8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

Hi
in my site
if go to invalid url profile for example :
site.com/dwadafdfgsh/profile
display error image below :




i tested demo jomsocial
please click on link below :
demo.jomsocial.com/dawdawdw/profile

but i tesed you community
please click on link below :
jomsocial.com/community/dawdawda/profile
display error 404 ---> good working
Thank you

Attachments:
8 years 9 months ago
Licenses:

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


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

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?

8 years 9 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

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

8 years 9 months ago
Licenses:

Hi.

Thank you for checking.
I assign developer to this thread for further investigation.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you very much

8 years 9 months ago
Licenses:

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

The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

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

8 years 9 months ago
Licenses:

Hi,

For the fix:
/components/com_community/router.php line 271

return JFactory::getApplication()->enqueueMessage(JText::_('COM_COMMUNITY_USER_NOT_FOUND'), 'error');
changing it to
JFactory::getApplication()->enqueueMessage(JText::_('COM_COMMUNITY_USER_NOT_FOUND'), 'error');
JFactory::getApplication()->redirect(CRoute::_('index.php?option=com_community&view=frontpage', false));

Regards

The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

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?

8 years 9 months ago
Licenses:

Hi,

not bug, but code improvement. :)
yes. will be included at 4.2.5

Regards

The following user(s) said Thank You: davood
8 years 9 months ago
  • davood's Avatar
    Topic Author
  • davood
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Active

Thank you very much Albertus
Good Luck JomSocial Team

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW