1
gandul
newbb problems incorrect page link
  • 2008/8/22 15:28

  • gandul

  • Just popping in

  • Posts: 4

  • Since: 2008/8/17


Hello, i am a newbie, could you help me please
mysite's domain is like thishttp://www.siteportal.com/mysite/
and I have problem in newbb modules, when click to the next pages in forum, the url go tohttp://www.siteportal.com/modules/newbb/viewtopic.php?.... so we get the error page

I think the url must be like thishttp://www.siteportal.com/mysite/modules/newbb/viewtopic.php?...

What should I do?

Thanks

2
ghia
Re: newbb problems incorrect page link
  • 2008/8/22 16:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I suppose all your modules on that site have this problem?
Check in mainfile.php, if your XOOPS_ROOT_PATH and XOOPS_URL are correctly specified.
They should both end with /mysite .
Beware: no trailing slash!

3
gandul
Re: newbb problems incorrect page link
  • 2008/8/22 23:52

  • gandul

  • Just popping in

  • Posts: 4

  • Since: 2008/8/17


I have edited XOOPS_URL in mainfile.php but it can not solve my problem. I think XOOPS_ROOT_PATH should not end with /mysite, because /mysite not directory of the root's XOOPS.

I still get error when click to the next page in forum (newbb modules) because missing page link.

Thanks

4
Mamba
Re: newbb problems incorrect page link
  • 2008/8/23 2:36

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


For XOOPS_ROOT_PATH you can use something like this:

// XOOPS Physical Path
define('XOOPS_ROOT_PATH', dirname(__FILE__));
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
gandul
Re: newbb problems incorrect page link
  • 2008/8/23 23:39

  • gandul

  • Just popping in

  • Posts: 4

  • Since: 2008/8/17


I think XOOPS_ROOT_PATH has the correct path, but it still can not solve the problem

6
Mamba
Re: newbb problems incorrect page link
  • 2008/8/23 23:43

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
I think XOOPS_ROOT_PATH has the correct path, but it still can not solve the problem

So what is your XOOPS_ROOT_PATH?
If it doesn't work, then obviously something is wrong
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
gandul
Re: newbb problems incorrect page link
  • 2008/8/24 1:49

  • gandul

  • Just popping in

  • Posts: 4

  • Since: 2008/8/17


XOOPS_ROOT_PATH --> DocumentRoot
the other modules can work very well
just I still get error when click to the next page in forum (newbb modules), it's caused incorrect page link.

Thanks

Login

Who's Online

212 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 212


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