41
ukandrewf
Re: Help, Login recognizes you, but doesn't give permissions - solved
  • 2007/12/16 12:43

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


Ok in the interest of helping others who may be in a similar sistuation with login problems.

I solved my login problems.

The issue for me was that i was tring to access the database with a database user account which didn't have full admin control. Reverting to the DBO (database owner) user account solved all the probelms. This circumstance should hopefully be rare for other users but may be useful to note.

(My ISP (fasthosts UK) was hacked and in response reset passwords for all database users as a defensive measure. When showing database users in control panel they don't list DBO in the users list making me think they had killed the user account - so I recreated a variant but it didn't have full admin control - but did reserect the site so users could see it after 24 hrs down.)

Andrew



42
ukandrewf
Re: Help, Login recognizes you, but doesn't give permissions - solved
  • 2007/12/13 22:46

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I'm still scratching my head with this one any advice gratefully received.

As suggested in this thread I tried playing with older versions of mainfile.php but with no joy.

I tried installing phpMyAdmin (it's not installed as standard by my isp) but with no joy either. While it loads and allows me access when i try to repair a table i get:-

#1142 - INSERT command denied to user 'xxx xxx' for table 'xoops_session'

Not sure where or how i grant myself rights to the db.

Any other ideas? I have to get this back up.

Andrew



43
ukandrewf
Re: Help, Login recognizes you, but doesn't give permissions - solved
  • 2007/12/7 11:24

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


How can i repair the db? what do i do?



44
ukandrewf
Re: Help, Login recognizes you, but doesn't give permissions - solved
  • 2007/12/4 0:49

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I have a similar issue. My hosting company fasthosts just got hacked. First they recomended select clients change login passwords and sql passwords etc then the forced everyone to make that change. My site was down for 24 hours before i realised the problem.

Anyway changed all my passwords updated the sql database user and password link in mainfile and the site was back (thankfully) however now when i try to login I get the same problem. "thanks for loggin in..." but then loads back as if not logged in and doesn't give admin permissions.

Anyone got any ideas? one idea someone here had was that the hosting company could have changed something to cause the problem. What could they have changed?

thanks

Andrew



45
ukandrewf
Login redirect always wrong page
  • 2007/4/9 22:38

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


After I login my site never takes me back to the page i was on but rather an random page. Where should I look to fix this problem - myabe there's a simple coding problem throwing it off.

Everything works it just takes to different pages after login - not the one i was on.

Any ideas?



46
ukandrewf
Re: pagetitle in url?
  • 2007/4/9 22:30

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I'm not sure that shorturls is what i need. It appears to shorten the url to make more google friendly. I'm actually happy with how google indexes me but.. I note a keyword in the url will make google rank more highly.

Therefore the solution proposed is more useful to me.

Currently we have:-
Quote:
http://www.colournation.com/modules/newbb/viewtopic.php?topic_id=2151&forum=3&hair%20colour%20problem


I'd like to know how to edit the links in the front page blocks to show this too as posted previously.

And in an ideal world I'd like the page title to be more readable but i guess this will have to do for now.


Andrew



47
ukandrewf
Re: pagetitle in url?
  • 2007/4/9 19:10

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


I tried copying the same thing in the blocks as follows

Quote:
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>&<{$topic.topic_title}>"><{$topic.title}></a></td>


but it didn't work :(

Andrew



48
ukandrewf
Re: pagetitle in url?
  • 2007/4/9 18:42

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


for anyone else interested I tried this hack out and from the main forum page it will create urls as follows:-

http://www.colournation.com/modules/newbb/viewtopic.php?topic_id=2151&forum=3&hair%20colour%20problem

Which is pretty close to what I had in mind.

Individual topics linked from the recent topics block won't have their urls changed (well maybe you can change them in the block templates) :(

It seems very elegant and simple.

thanks

Andrew



49
ukandrewf
Re: pagetitle in url?
  • 2007/3/27 10:14

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


huzhenghui,

Can you show me this hack in the wild? What will it give me?

What will url's look like?

thanks

Andrew

(where did the hacks link go on xoops.org?)



50
ukandrewf
pagetitle in url?
  • 2007/3/26 0:57

  • ukandrewf

  • Friend of XOOPS

  • Posts: 198

  • Since: 2002/12/2


Does anyone know of a way to get the page title for a page into the the url for the page? (should add not the whole page title but perhaps the first word or three?) I ask this for SEO purposes I note that sites with a keyword in their url will rank higher.

is there a hack? (where have all the hacks gone?)

I'm particularly intersted in newbb and wfsections

thanks

Andrew




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



Login

Who's Online

214 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits