21
webweaver
Re: Problem with Permissions
  • 2009/7/6 17:17

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


I've found a work-a-round to my problem but I don't know how to fix it permanently. If I change define XOOPS_URL in mainfile back tohttp://##.##.###.###' where # equals elements of my IP address, I can access the items under admin.

I have gone through cpanel, and the only place I found a lot cache data is xoops_data/ in the smarty_cache but nowhere else. As soon as I change it back to my domain name, I cannot administer the site under system. The other caches have index.html, readme, and sometimes WS_FTP.LOG and sometimes some php files that were there before.

Any help appreciated as I don't want to have to keep flipping mainfile everytime, and relocking it.



22
webweaver
Re: Problem with Permissions
  • 2009/7/6 13:07

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Ok, I found caches under xoops_data and those are clean (I emptied smarty_cache). But I don't seem to be able to find any caches under modules, especially related to system. So I don't know if I've missed any caches. Or is there another file I need to change?



23
webweaver
Re: Problem with Permissions
  • 2009/7/6 12:10

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Ok, I think I am on to something. First, I need to clarify, I am using XOOPS 2.3.3 not 2.3.2. I developed my site using the IP address and transferred the domain a couple weeks ago. I was still seeing the IP address in the public link and ghia advised me to change the URL in mainfile.php. Ghia also advised me to clean the cache (except deleting index) in as I understood it, my html\cache folder.

Now, I did another google search and I came across this thisthread and I think I have a similar problem, because, I still see my IP and not my URL, when I go under my admin menu.

I have looked through filemanager in cpanel, and I don't seem to see the other caches. Would appreciate being pointed.

Hopefully, this will resolve my problem.



24
webweaver
Re: Problem with Permissions
  • 2009/7/6 10:20

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


The level for my admin userid is set to 5...



25
webweaver
Re: Problem with Permissions
  • 2009/7/6 1:57

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


My user is a member of all the groups... I assumed though that webmaster would supercede all of the rights. I cannot get into groups through system due to my permissions problem. I tried to edit the user and unhighlight the groups except webmaster and resave but when I rechecked my webmaster user id has all the groups still.

I guess I could edit the database table but I looked at the groups table and the _users table and I did not find the group info there...



26
webweaver
Re: Is there a default password for "admin"
  • 2009/7/6 1:48

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Actually, that answers my question regarding the "admin user", so I will close this thread. Thanks for the clarification.

Unfortunately, my problem with permissions and inability for my webmaster id to access anything under "System" remains per my threadhttps://xoops.org/modules/newbb/viewtopic.php?topic_id=68834&forum=20

Thanks.



27
webweaver
Re: Is there a default password for "admin"
  • 2009/7/3 21:16

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Thanks for the clarification. I have all the credentials for the "admin" user I created during installation. I was under the impression, from my work so far with XOOPS, that there is a XOOPS user that comes with the install that is called admin as well, and I had hoped that this admin user would have more power than the one I created at setup.

So, this brings me back full circle, to where I was with my other permissions thread, which is under the general usage. I turned on debug through the back door but it did not show any lines of error after I logged out and back in and did the steps.

Thanks anyway.




28
webweaver
Re: Problem with Permissions
  • 2009/7/3 21:11

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


I turned on debug through both ways described in the link ghia gave one at a time. With each style given, I logged back out, and back in, and did the offending actions. I did not get any debug messages on the screen (and do not see any log either). I turned debug back off again since the site is live.

I do have a full backup of the database and files. I've done backups pretty regularly. But I wouldn't know what to restore from the old stuff without corrupting my work.

Webweaver



29
webweaver
Re: Problem with Permissions
  • 2009/7/3 19:35

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Quote:

ghia wrote:
Quote:
Where do I do the repair table?
It is a function in phpMyAdmin (Select the table and tab operations).
Quote:
I don't seem to be able to turn on debug.

Quote:
Could there be another table that is missing something that I need to insert into to be able to have permissions to the items under system again?
What user id (uid) are you using? If different from 1, then the SQL commands are to no avail.


I found the repair tables in phpAdmin and I did that - it did not change anything.

I will try the debug thread you give and see if that turns up anything. Will let you know.

I'm logging in as the administrative userid I created when I installed XOOPS (I thought there is also one actually with admin as login because when I tried to register that today it said admin is reserved so I thought maybe there was that ID to use too).



30
webweaver
Re: Is there a default password for "admin"
  • 2009/7/3 18:35

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


Thanks,

I edited the IP to be the one for my site and pasted the given script above the closing ?> as you mentioned -- and saved . When I view the _user table I still see the same users as before.

If I reran the install again, would it overwrite my work or would it keep what I have done and fix my settings?

I have backups of my tables (done whenever I have done major work on my site), problem is, I am not quite sure of when the problem was introduced so I am not quite sure how to proceed if I go that route.

Also, I have downloaded my tables as one big SQL file via CPANEL but I presume I can extract the scripts from those to extract what I need, if I knew what it was.

I did a lot of work yesterday adding links, etc, which I don't want to lose.

Also as mentioned previously, some users have registered and I don't want to lose their passwords, etc.

stumped!




TopTop
« 1 2 (3) 4 5 6 7 »



Login

Who's Online

240 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits