1
treefrog
modules looking in root instead of module/*.php
  • 2004/4/17 18:17

  • treefrog

  • Just popping in

  • Posts: 20

  • Since: 2004/4/17


I'm still somewhat of a newbie, so bear with me.

My forums module appears to be looking in the site root folder for newtopic.php when you click on "new topic" as opposed to siteroot/modules/newbb/... so right now I cannot add any new topics (I get a 404 error). I'm not sure where to fix that... the config.php shows this:

// You shouldn't have to change any of these
$bbUrl['root'] = XOOPS_URL."/modules/newbb/";
$bbUrl['admin'] = $bbUrl['root']."admin";
$bbUrl['images'] = $bbUrl['root']."images";
$bbUrl['smilies'] = $bbUrl['images']."smiles";

Am I just looking in the wrong spot?

Pleeeeeaaaasssee help me!

BTW, the "archives" section of the news module also has this problem... clicking on April 2004 (there are no others) also gives a 404 error because it is also looking in the siteroot.

I have tried uninstall/install and update module, to no avail... and I can't find any other applicable info in this forum...

Thanks so much!

2
rabideau
Re: modules looking in root instead of module/*.php
  • 2004/4/17 19:05

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Try running your system with php debug "on". Someone may be able to help once the messages are visible.

3
treefrog
Re: modules looking in root instead of module/*.php
  • 2004/4/17 19:28

  • treefrog

  • Just popping in

  • Posts: 20

  • Since: 2004/4/17


I did that, and the debug header disppears on the error page, so I have no information. I even did MySQL debugger, and the error page just comes up by itself...

If I copy the link location, I can see that it is requesting

http://siteroot/newtopic.php --->(plus a session ID)


All the other links I have tried so far are using

http://siteroot/modules/newbb/*.php


I can't find the file that is pointing out the URL.

the template file for newbb_viewforum.html
says:

<{$forum_post_or_register}>


where is that process happening?

4
treefrog
Re: modules looking in root instead of module/*.php
  • 2004/4/17 20:56

  • treefrog

  • Just popping in

  • Posts: 20

  • Since: 2004/4/17


Okay, so I got frustrated enough attemping to tamper with the files that I uninstalled and removed newbb from the modules folder.

I then installed newbb Pro, and even uploaded a fresh "regular" newbb module from a clean download of Xoops.

I still have the same problem. Is there a master template file somewhere that sets the root folder for newbb's executed scripts? Why do all the other links work okay? And, if I manually type into the address bar the missing directories, I can pull up the post file. (http:/siteroot/modules/newbb/newtopic.php?forum=1etc.......

But, I can't actually post, because the submit button also lops off the subdirectories.

Any ideas about where this is taking place that I could fix it?

I'm grateful for any help...

5
treefrog
Re: modules looking in root instead of module/*.php
  • 2004/4/21 13:49

  • treefrog

  • Just popping in

  • Posts: 20

  • Since: 2004/4/17


Just in case anyone's following up on this, I was unable to solve my problems, so I went the extreme route of starting off with a fresh installation of Xoops, and it worked. (Since fresh insallation of the modules didn't). So, I still don't know what happened. Fortunately, my site wasn't "live" yet... so I only crushed my own work, instead of others'...

Things seem to be happy right now. I hope they stay that way...

overall, I'm extraordinarily happy with my Xoops!

Login

Who's Online

230 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

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

Latest GitHub Commits