30 Posts
phil03
8 years ago
Topic

Hi,

I was testing my local site with updates Seblod
From version 3.9 the connection is impossible.
Registration of a new member works, but it is also impossible to then connect
In the session table is seen identifiers taken into account, but the user ID returned remains at 0.
Also I have my debugger (JDump) that no longer works.
There appears to have a jQuery conflict.
Someone there you had this kind of problem?
Thank you for your help

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1

HI,

this is not something that anyone else is experiencing. Do you have any extensions that might affect login? What joomla version do you use?

30 Posts
phil03
8 years ago
0
Level 2

Hi,

My version of joomla is 3.6.4.
When I saw the problem I removed my plugin and left only the Joomla login module.
This same setup works with Seblod Version 3.8.4.

Regard's

30 Posts
phil03
8 years ago
2
Level 1

Hi,

Today, I made complementaries tests.
The session user and database are properly implemented upon login and password verification.
But when the page is refreshed data is lost
And I confirm that my debugger also no longer works with Seblod 3.10 for now I have not found the cause but I think the two issues are related.

Regard's

4229 Posts
Kadministrator
8 years ago
1
Level 2

Hi,

it is hard to suggest anything as I'm unable to reproduce the problem, with plain joomla and seblod it works ok. If you use any 3rd party modules or plugins try disabling them temporarily to see which one is causing the problems.

30 Posts
phil03
8 years ago
0
Level 3

Hi,

Thank you for your reply.
I tried to inactivate different plugins without success.
By plotting the load I realize that the login is validated.
But on the following page modules are not loaded.
I tried to change the landing page, no effect
While on the Version 3.8.4 everything is OK.
I continue on this track and I want you informed.

Regard's

30 Posts
phil03
8 years ago
0
Level 1

Hi,

I managed to locate the problem in seblod 3.10
The malfunction is located in the onAfterInitialize method of the ../plugin/system/cck/cck.php file at the entry the user-> id  is correct,
In this module the id is forced to 0 and returned by the caller.
I am checking where exactly this change occurs and why?

Regard's

30 Posts
phil03
8 years ago
0
Level 1

Hi

In fact the problem seems related to multi-site management.
I had created a subdomain for my future forum, I just deactivated it to test but I realized that the variable in the method did not change so I modified to test the condition if below.
And it works.
Below the code.

// onAfterInitialise
public function onAfterInitialise()
{
$app = JFactory::getApplication();

if ( $this->restapi ) {
$format = JCckWebservice::getConfig_Param( 'resources_format', 'json' );
$path = JUri::getInstance()->getPath();
$segment = substr( $path, strrpos( $path, '/' ) + 1 );

if ( $segment != '' ) {
if ( ( $pos = strpos( $segment, '.' ) ) !== false ) {
$format = substr( $segment, $pos + 1 );

if ( $format[0] == 'w' ) {
$format = substr( $format, 1 );
}
}
}

$app->input->set( 'format', $format );
}

if ( $app->isSite() ) {
$router = JCck::on( '3.3' ) ? $app::getRouter() : $app->getRouter();
$router->attachBuildRule( array( $this, 'buildRule' ) );
} elseif ( $app->isAdmin() && $app->input->get( 'option' ) == 'com_config' && strpos( $app->input->get( 'component' ), 'com_cck' ) !== false ) {
JFactory::getLanguage()->load( 'com_cck_core' );
}

if ( JCckToolbox::getConfig()->get( 'processing', 0 ) ) { // todo: move below
JCckToolbox::process( 'onAfterInitialise' );
}
if ( $this->multisite !== true ) {
return;

}

return;

It work's

Of course it's for the test, I wait for your answer.

Regard's

30 Posts
phil03
7 years ago
0
Level 1

Hi

With Seblod >= 3.11 the plugins / system / cck / cck.php file as been modified and the issue has been resolved.

Regards

Get a VIP membership