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.

500 Application id required. : /community/videos/app/walls

9 years 2 months ago
Licenses:
JomSocial Active

ISSUE SUMMARY:

Does this error message ring a bell to anybody?

500 Application id required. : /community/videos/app/walls

I am getting lots of them (i.e. a lot of different broken URLs ending in .../app/walls), mostly from bots, but still. Those URLs are indeed not working.

Using J3.5 with JS pro 4.1 and sh404sef, on Centos 6, PHP 5.6, mysql 5.0.11

9 years 2 months ago
Licenses:

Hi.

Thank you for reporting this. I see this for the first time.
But I'll assign developer to this thread to take a look.


- 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
9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I dont see this error, seems I need your backend account and test account to check it, can you provide it please? also I need your FTP access as well.

thank you!

9 years 2 months ago
Licenses:
JomSocial Active

You don't see it because I changed a line in a JS view:

// changed next
// $applicationName = JString::strtolower( $jinput->get->get( 'app' , '' , 'STRING') );
$applicationName = JString::strtolower( $jinput->get->get( 'app' , 'walls' , 'STRING') );

And now I don't get thoese errors anymore, but I'm not sure what sort of side effects this has, or where else I should set
$jinput->get->get( 'app' , '' , 'STRING') to an acceptable value.

I hope we can solved thise without handing out priviliges. Thanks a lot for your help!

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jeroen,

I want to know how you can access this url yoursite.com/index.php?option=com_commun...&app=walls&Itemid=86 , because this URL should be no longer available in the newest version.

thank you

9 years 2 months ago
Licenses:
JomSocial Active

Not sure. As far as I can see, those links are generated by Jomsocial:

[root@httpdocs]# fphg task |grep app|grep walls (fphg searches string inside all PHP files inside current directory)
./plugins/community/walls/walls.php: if(JRequest::getVar('task', '', 'REQUEST') == 'app'){
./plugins/community/walls/walls.php: if(JRequest::getVar('task', '', 'REQUEST') != 'app')
./plugins/community/walls/walls.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=profile&userid='.$userid.'&task=app&app=walls');
./plugins/community/walls/walls.php: if(JRequest::getVar('task', '', 'REQUEST') == 'app')
./components/com_community/views/videos/view.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=videos&task=app&videoid=' . $video->id . '&app=walls');
./components/com_community/views/videos/view.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=videos&task=app&videoid=' . $video->id . '&app=walls');
./components/com_community/views/videos/view.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=videos&task=app&videoid=' . $video->id . '&app=walls');
./components/com_community/views/videos/view.html.php: 'index.php?option=com_community&view=videos&task=app&videoid=' . $video->id . '&app=walls'
./components/com_community/views/videos/view.html.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=videos&task=app&videoid=' . $video->id . '&app=walls');
./components/com_community/views/groups/view.html.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=groups&task=discussapp&topicid=' . $discussion->id . '&app=walls');
./components/com_community/views/photos/view.html.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=photos&task=app&albumid=' . $album->id . '&app=walls');
./components/com_community/views/photos/view.html.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=photos&task=app&albumid=' . $album->id . '&app=walls');
./components/com_community/views/photos/view.html.php: $viewAllLink = CRoute::_('index.php?option=com_community&view=photos&task=app&albumid=' . $album->id . '&app=walls');
./components/com_community/views/events/view.html.php: 'index.php?option=com_community&view=events&task=app&eventid=' . $event->id . '&app=walls'

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jeroen,

May I know how can I replicate this on frontend? because the button already removed there, except you try access it directly from browser address. right?

thank you

9 years 2 months ago
Licenses:
JomSocial Active

I am not quite sure what you mean. Because of the changes I made in
.../views/videos/view.php
.../views/videos/view.html.php
, like this:
// changed next
// $applicationName = JString::strtolower( $jinput->get->get( 'app' , '' , 'STRING') );
$applicationName = JString::strtolower( $jinput->get->get( 'app' , 'walls' , 'STRING') );
, you don't get errors there, but you don't get anything useful on that page either :)

I still get the error in my logs for photo pages, e.e.g:
playak.com/community/photos/1649-or-2011...ct-designs/app/walls
It's strange how this SEF url is not in the sh404sef UTL table, so of course it doesn' t work.

I am slowly getting less such errors, and almost all of them are from Googlebot - no idea where the bot ever found those URLs...

It's all a bit vague. What is this error message 'Application id required' supposed to mean anyway? Just wondering...

Cheers,
Jeroen

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

'Application id required' this error says the application id is missing.

I just wondering, what can I do / what button should I click to get this URL "/index.php?option=com_community&view=videos&task=app&videoid=29953&app=walls&Itemid=86" because the button for getting that link already removed, on another words, that page cant be used anymore.

Beside that you dont provide me the backend access, so hard for me to check this directly on your site.

9 years 2 months ago
Licenses:
JomSocial Active

I changed 2 lines, in
views/videos/view.php
and
views/videos/views.html.php, like this:

// joempie changed next
// $applicationName = JString::strtolower( $jinput->get->get( 'app' , '' , 'STRING') );
$applicationName = JString::strtolower( $jinput->request->get( 'app' , '' , 'STRING') );

and that seems to help. I was debugging it and noticed that $_GET only contains Itemid when view.html.php accesses it,
but $_REQUEST does have all the needed parameters. So that helps, but I hope you can change that in the master version, as I don't
like running hacks :)

PS what also goes wrong is the SEF generation by sh404sef, which creates the same SEF url for all videos. That's probably because the
jomsocial plugin for sh404sef is still expecting video URLs with the catid included in the URL. Maybe you can also ask the sh404sef guys if they can update that plugin.

Cheers,
Jeroen

Attachments:
9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Jeroen,

Actually you havent answered my question www.jomsocial.com/forum/modules-plugins-...eos-app-walls#155639 .

Jomsoical has some problem with sh404sef from long time ago and they dont fix the issue, we dont really suggest you to use it.. maybe you can try use another SEF component like AceSEF.

thank you!

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