1
valentin
After user login pointing to the wrong location
  • 2005/2/22 4:50

  • valentin

  • Just popping in

  • Posts: 26

  • Since: 2003/11/2


Hi all,

today I came across a new wired problem. When a user logs in(read AFTER the login), the user is forwarded to a certain page (foldername):

f.ehttp://xxx.xxx.xxx.xxx/foldername/

can I correct where its pointing to ?
In which Config file/DB table is the foldername set ?

I was double checking mainfile.php which was the obvious to do.
I also double checked the admin menu. Note that setting the startpage doesnt seem to fix that issue.

Any ideas much appreciated.

Best regards

Nils Valentin
Tokto / Japan

http://www.be-known-online.com

2
jdseymour
Re: After user login pointing to the wrong location

Sorry I don't fully understand the question. Are you saying that you want the user to be at your homepage after login?

If he is reading a page not logged in and does not have permission to read he will be redirected to a login page where he/she can log on. Once that is done if the page he tried to access before now has permissions, he/she will be directed back to that page.

Is that what happened?

Sorry for the questions.

3
valentin
Re: After user login pointing to the wrong location
  • 2005/2/22 5:17

  • valentin

  • Just popping in

  • Posts: 26

  • Since: 2003/11/2


hi jdseymour,

What Iam trying to say is that After the login the user is forwarded tohttp://xxx.xxx.xxx.xxx/foldername

However I dont remember having set the foldername (which is obviously wrong) and now I want to fix that.

During the installation XOOPS asks you for the install directories. I can only imagine that for whatever reason I must have input a wrong location link.

I double checked mainfile.php and the admin menu.
The only thing where this type of info is stored is basically in the DB itself. In this case I would appreciate if anybody knows in which of the 30 tables this info is stored.

You can basically get a similar situation when trying to transfer a XOOPS installation between servers and use different installation paths.

Does this make things clear ?

Best regards

Nils Valentin

4
jdseymour
Re: After user login pointing to the wrong location

Check your mainfile.php physical path and virtual directory.

That is where the settings to your homepage are stored.

The entries will look like this:
Quote:
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', 'var/www/html/yourURL.com/yourxoopsfolder');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.yourURL.com/yourxoopsfolder');


HTH.

5
valentin
Re: After user login pointing to the wrong location
  • 2005/2/22 5:28

  • valentin

  • Just popping in

  • Posts: 26

  • Since: 2003/11/2


That is EXACTLY what I was checking first BEFORE I posted

..But thanks there must be something else. All users are forwarded to the same (non existing) folder.

I could of course just create the folder and link back , but I prefer to understand the gain.

Best regards

Nils Valentin

6
valentin
Re: After user login pointing to the wrong location
  • 2005/2/28 2:51

  • valentin

  • Just popping in

  • Posts: 26

  • Since: 2003/11/2


Hi evrybody,

I found the solution. The redirect was set directly in the templates file. (who would have thought about that ??

The issue is solved now. Thanks for your attention.

Login

Who's Online

73 user(s) are online (48 user(s) are browsing Support Forums)


Members: 0


Guests: 73


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