×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: _NOT_AUTH - installtion problems

_NOT_AUTH - installtion problems 11 years 1 month ago #385

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Hi there .

First of all thanks for this cool extension !


I have tried to install !joomlacomment 3.26 on my 1.5 Joomla site , turned legacy on and everything went fine .

Then two things happened:

A: i cannot access the configuration from my CP . it gives me this error : _NOT_AUTH - though i am the admin

B: Though the module looks fine on all articles - the main article disappeared !


Could you assist me in solving this ?


(P/s I have !joomlacomment 3.26 installed on another Joomla 1.0 site I have and there it works perfect )


all the best

Koderius

my 1.5 site - www.hafeyot.co.il
my 1.0 site - www.radicali.co.il

_NOT_AUTH - installtion problems 11 years 1 month ago #390

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
May I get admin acces to your web site?

_NOT_AUTH - installtion problems 11 years 1 month ago #391

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
this is kinda unusual .

since this is a working online store site i would prefer not .(and many many thanks !)

unless you can explain please what is the procedure you are going to make there.


:)

_NOT_AUTH - installtion problems 11 years 1 month ago #392

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Are you admin or super admin.
What I'm going to do with your site? I will destroy it! Yes, I will do that - delete every single article and delete all the users and everything :)
I just want to see that error message myself and look what is your server config, what is you joomla config and so on.

_NOT_AUTH - installtion problems 11 years 1 month ago #401

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
hehe

yes i am an admin .



anyways -i will give you the user and password in private - how do i PM you ?

thanks!

_NOT_AUTH - installtion problems 11 years 1 month ago #404

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, I believe admin is not enough. you need to be super admin.

edit: funny thing - I believe that we had a tread where someone explained what changes had to be made to give admin the right to edit comments.

_NOT_AUTH - installtion problems 11 years 1 month ago #408

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
hi dont look at me

i used the search bar before i posted

_NOT_AUTH - installtion problems 11 years 1 month ago #411

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Koder don't worry. I also can not find it. Or it was on the old support web site.
I will try to get the database from Alain and search for the info.

_NOT_AUTH - installtion problems 11 years 1 month ago #414

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
old problem -new problem

ok i set myself as super admin now and succeeded to get into the plug in configuration

BUT as soon as i enable\publish the plugin the main page article image and body is disapreaing !

find attched before and after

_NOT_AUTH - installtion problems 11 years 1 month ago #415

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
here are the images

_NOT_AUTH - installtion problems 11 years 1 month ago #416

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0


this what happens when i activate the plugin

this is the normal

www.hafeyot.co.il


(sorry for last posts couldnt get the image to load )

_NOT_AUTH - installtion problems 11 years 1 month ago #417

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
did you checked which categories are enabled and so on?

_NOT_AUTH - installtion problems 11 years 1 month ago #419

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
all are chosen and enabled

is it good or not good?

_NOT_AUTH - installtion problems 11 years 1 month ago #428

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The problem with admin users is comming from these few lines in admin.comment.php
// check access permissions (only superadmins & admins)
if ( !( $acl->acl_check('administration', 'config', 'users', $my->usertype) )
	||  $acl->acl_check('administration', 'edit', 'users', $my->usertype, 'components', 'com_comment') ) {
	mosRedirect( 'index2.php', _NOT_AUTH );
}

if I change it to
// check access permissions (only superadmins & admins)
if ( ( $acl->acl_check('administration', 'config', 'users', $my->usertype) )
	||  $acl->acl_check('administration', 'edit', 'users', $my->usertype, 'components', 'com_comment') ) {
	mosRedirect( 'index2.php', _NOT_AUTH );
}
then you have only admin access and no super admin access.

If you uncomment the lines - all users are having access to the extension. I must find what is wrong.

About categories - that is fine, but are they included or exluded? Did you select sections too?

_NOT_AUTH - installtion problems 11 years 1 month ago #433

  • koder
  • koder's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
hi there

10x for taking the time to answer.


this problem only happens with the main front page article.

all the rest works perfect!

so i have in the meantime excluded the item id of the main article .

-

p/s
the only difference i found between the two code parts you wrote is

the first one has a ! mark .

is it so?

this is what you mean by" uncomment" the lines?

_NOT_AUTH - installtion problems 11 years 1 month ago #434

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
no with uncomment I mean:
// check access permissions (only superadmins & admins) 
//if ( !( $acl->acl_check('administration', 'config', 'users', $my->usertype) ) 
//    ||  $acl->acl_check('administration', 'edit', 'users', $my->usertype, 'components', 'com_comment') ) { 
//    mosRedirect( 'index2.php', _NOT_AUTH ); 
//}

Does the main page article has a category and section?
  • Page:
  • 1
Time to create page: 0.102 seconds