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 login to frontpage after update joomla to 3.4.6

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

hi
i not problem, and good working , when login to jomsocial, show (frontpage,or profile,or video ,... ) , config with admin

but

after update joomla to 3.4.6 , if config admin jomsocial = (forntpage,video,profile, or ....) show edit profile joomla

when loging with (form jomsocial) ---> redirect to edit profile joomla : /component/users/profile

jomsocial : 4.1.3
joomla : 3.4.6

how to fix?

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

Hi Davood,

Would you mind provide me htaccess account please? because I cant access your backend restricted with htaccess dialog.

thank you

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

please see (Misc Information) in first post

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

its not working



can you put the account into this

htaccess
Username:
Password:

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

please see link in (misc information) in first post , and following
step by step in (text file)
(step 1 util step 3)

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

You have tested?

problem : after update joomla 3.4.5 to 3.4.6

please help me :(

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

Hi Davood,

I able to login now, but your site very slowww.. its like I am trying access the CIA web system, your security really secure (just kidding :P)

Well, please you update your jomsocial to version 4.1.4, i tested on our development site with 4.1.4 and dont get this issue everything is working fine.

thank you

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

i update to 4.1.4 , and again problem :(


i see demo.jomsocial.com and tested in config site (jomsocial) with (profile, forntpage, video ,..)
and login to front page and redirect to demo.jomsocial.com/component/users/profile.html

your demo site like my site

please help me :(

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

please see your demo jomsocial and testing with (frontpage , video , ...) and see not working and only redirect to ----> profile edit joomla

please help :(

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

i found problem


i deleted full joomla and Database , and restore last backup (before update joomla)
after only update joomla i see problem
i checked and tested all file update (joomla 3.4.6)
This file may cause : uri.php (version : 3.4.6 joomla) --> \libraries\joomla\uri
in jomsocial 4.1.3 :
joomla 3.4.6 :
replace uri.php (version 3.4.5 (joomla) or older) , and no problem and good working
in jomsocial 4.1.4 :
joomla 3.4.6 :
update jomsocial to 4.1.4 and again see problem, after to login fronpage ---> redirect to profile edit (dipslay profile joomla)
--> but replace uri.php (version 3.4.5 (joomla) or older) , and no problem and good working
please see your demo jomsocial and testing
difference cod php ( 3.4.5 and 3.4.6) --> in line 265-281 (uri.php) :
public static function isInternal($url)
	{
		$uri = static::getInstance($url);
		$base = $uri->toString(array('scheme', 'host', 'port', 'path'));
		$host = $uri->toString(array('scheme', 'host', 'port'));

		// @see JURITest
		if (empty($host) && strpos($uri->path, 'index.php') === 0
			|| !empty($host) && preg_match('#' . preg_quote(static::base(), '#') . '#', $base)
			|| !empty($host) && $host === static::getInstance(static::base())->host && strpos($uri->path, 'index.php') !== false
			|| !empty($host) && $base === $host && preg_match('#' . preg_quote($base, '#') . '#', static::base()))
		{
			return true;
		}

		return false;
	}

how to fix? Is there a way?

please help me :(

9 years 4 months ago
Licenses:

Hi,

here the fix:
/components/com_community/views/frontpage/view.html.php line 64
changing it from

$uri = CRoute::_('index.php?option=com_community&view=' . $config->get('redirect_login'), false);
to
$uri = preg_replace("/^\//", "", CRoute::_('index.php?option=com_community&view=' . $config->get('redirect_login'), false));

Regards

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

thank ypu
but i changed cod and tested but not working, and redirect again to ----> ......./commponent/usesr/profile.html


in release next version (update jomsocial) , this problem is fixed?

Please check again

9 years 4 months ago
Licenses:

Hi,

try to changing it to

$uri = 'index.php?option=com_community&view=' . $config->get('redirect_login');

Regards

The following user(s) said Thank You: davood, chatidk
9 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

That code from Albert should work, please you modify it carefully and right..
another explanation www.jomsocial.com/forum/installation/310...-this-problem#150565

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