21
rowdie
Re: Problem after replacing core files
  • 2005/6/21 19:45

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


line #100 in XOOPS 2.0.10 header.php shouldn't be reachable when viewing pages that are not part of a module. Normally line #98 makes sure of that, by first checking to see if the module object is not empty.

Have you tried completely deleting the file header.php, then replacing it with the one from a fresh download? It could be your ftp program is holding onto a corrupted version - I've had that happen to me before

Otherwise try changing line #98 from
if (!empty($xoopsModule)) {

to
if (isset($xoopsModule) && !empty($xoopsModule)) {

22
TCMTCM
Re: Problem after replacing core files
  • 2005/6/21 19:59

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


I deleted and re-uploaded, and got the same problem. However, now that I did what you suggested with line 98, when I click the 'Administration Menu' link I get to a blank page saying 'Selected module does not exist!'. I re-checked and I do have a system folder in /modules, especially considering that I can access admin.php via direct link.

Maybe a re-upload of the modules folder is in order?

~TCMTCM

23
m0nty
Re: Problem after replacing core files
  • 2005/6/21 20:32

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


if u can get to admin :) check that your start page in system / preferences general settings isn't pointing to a module that's not there.. change it to none if possible and try again.. then you can change it afterwards to a different module..

24
TCMTCM
Re: Problem after replacing core files
  • 2005/6/21 20:56

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


The problem isn't that the start page module is not displaying, I get the module error when trying to access user or admin functions. You can see for yourself at:

Nintendo Revolution Gaming

Try clicking the 'Register' link for example, and you will get the module error.

~TCMTCM

25
TCMTCM
Re: Problem after replacing core files
  • 2005/6/21 21:51

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


After looking into it more, it seems that the php files in the root directory relating to modules do not work correctly, and all return the same ''Selected module does not exist!'' error.

For example:

/modules/system/admin.php works
/admin.php doesn't

/search.php doesn't work

/user.php doesn't work

etc.

~TCMTCM

26
m0nty
Re: Problem after replacing core files
  • 2005/6/21 21:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


very strange.. there's definitely something wrong with the files in my opinion..

is there any chance you could provide temporary ftp access to your server so can check them here?

27
TCMTCM
Re: Problem after replacing core files
  • 2005/6/21 22:26

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


I can't do that right now, m0nty. However, you can download the files from my server:

The root directory is http://www.revogaming.net/html. Any files you want can be downloaded from their usual XOOPS locations.

~TCMTCM

28
m0nty
Re: Problem after replacing core files
  • 2005/6/21 23:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i can't download .php files directly from a browser.. even my download manager won't do that..

29
TCMTCM
Re: Problem after replacing core files
  • 2005/6/22 7:43

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


If you have MSN Messenger or the like, you could PM me your details and we could discuss it over IM. I could also send you files etc. through the IM network.

~TCMTCM

30
TCMTCM
Re: Problem after replacing core files
  • 2005/6/22 16:05

  • TCMTCM

  • Just popping in

  • Posts: 52

  • Since: 2005/6/4 1


Bump for more help.

~TCMTCM

Login

Who's Online

386 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 386


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