1
SallyB
Next page - Link problems
  • 2006/3/14 16:19

  • SallyB

  • Just popping in

  • Posts: 16

  • Since: 2006/1/24


This is an error that happens in a lot of modules, like news, view_topic of my newbbex forum, WordBook, and more, however, is not in ALL of my modules.

When several elements are created and a navegation like "Next Page (1) (2) (3) >>" is needed, the links to the pages are wrong.

All that links starts like "http://modules/blah/blah.." and not as "http://www.revesderecho.com/modules/blah/blah..." wich shows me error pages.

The truth is that i've changed a lot of issues manually, normaly link issues (PHP_SELF), and my boyfriend who is a PHP programmer, cant figure out this problem.


When i bought my hosting, they offered me to install XOOPS automaticly with one click, so i didnt controll anything in the instalation process or the instalation version. (Mine is 2.0.10).

I've correct a lot of issues manually in this module codes, and i cant find out where is the error, so please, HELP ME!!!

So you can help me, a module that gives me this issue is News module, index.php.


Thank youu!!!!! =) (Im kinda desperate, you know )

2
iHackCode
Re: Next page - Link problems

it looks like it could be a template issue.. that its missing the $xoopsurl variable.. so what version of news are you using?

and i see that there is an extra / in the url. to change it go to the mainfile.php and look for
define('XOOPS_URL', 'http://www.revesderecho.com/');
and if you see a / at the end.. edit it so it looks like
define('XOOPS_URL', 'http://www.revesderecho.com');
and also check the 'XOOPS_ROOT_PATH' and make sure there is no / at the end

edit: ok the link is the $pagenav variable and that is in index.php.
so maybe a problem with the index.php file for that version of news. or a bug in /class/pagenav.php for that version of xoops.. maybe.


edit..again:
ok.. get rid of the trailing slashes in mainfile.php (what i said above) and the problem should dissappear.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
SallyB
Re: Next page - Link problems
  • 2006/3/14 20:23

  • SallyB

  • Just popping in

  • Posts: 16

  • Since: 2006/1/24


Yup, that was the problem

Thank you soooooooooooo muchhhh!!!!!!!!


Problem solved ^^!

Login

Who's Online

114 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 114


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