11
PaulSinnema
Re: after install of 2.0.9.2 get 'Selected module does not exist!'

Hi,

It's awfully quite arround here! Doesn't anyone have a clue what's going wrong or suggestions or .....

Paul.



12
PaulSinnema
Re: after install of 2.0.9.2 get 'Selected module does not exist!'

Hi again,

It seems that my provider (or linux, xoops?) has some caching somewhere (not switched on in XOOPS b.t.w). This morning I got an error I didn't get last night. Here it is:

Fatal error: Call to a member function on a non-object in /home/www/web48/html/header.php on line 112
Notice [PHP]: Undefined offset: 2 in file include/common.php line 259

Am now back at 2.0.6. Wow, that works like clockwork. I really like my provider.

Noticed something else just now. In 2.0.9.2 when I enter www.paulsinnema.net/index.php, I missed something on the page. I know now that is was the 'Top Links' area on the left bottom side of my page. It's possible there were more missing, but I dont remember that anymore (sorry).

Paul.



13
PaulSinnema
after install of 2.0.9.2 get 'Selected module does not exist!'

Hi,

Tried to upgrade to 2.0.9.2 today. Everything works fine except when I go directly to my homepage www.paulsinnema.net. When I do that, I get the left and right frames ok, but the middle frame stay empty and the message 'Selected module does not exist!' is displayed. Typing www.paulsinnema.net/index.php show the site as it should!

I've aready several messages on this subject, but most of them concern Windows. The provider that's running my site uses Linux and Apache (goto: www.paulsinnema.net/info.php). Tomorrow I'll be restoring the old site (2.0.6).

Who know what going on. Tried debugging with PHP Debug. At the bottom of the page the following is displayed:

Notice [PHP]: Undefined offset: 2 in file include/common.php line 259
Notice [PHP]: unserialize(): Error at offset 0 of 25 bytes in file kernel/object.php line 342

Anyone got a clue if that causes it?

Now I had the same problem last year installing 2.0.6 on Windows XP with IIS. Had to change some code for that, but don't remember what I did then. I've got a message at my work containing this workaround. If I find it will try that too. If it works, I'll post it here!

Paul.



14
PaulSinnema
Trying to change my email address with xoops.org

Hi,

I've got a new URL (http:/www.paulsinnema.net) and therefore a new email address. Would like to change that at the www.xoops.org site. How do I do that?

Paul.



15
PaulSinnema
Re: Selected module does not exist!

Jack,

Do the developers read this? Are they going to do something about it or is it going to stay the way it is now?

Paul.



16
PaulSinnema
Re: Selected module does not exist!

Reinstalled XOOPS 2 and changed the code as described above. It now works fine. Something is wrong in the code 'xoops_getenv('REQUEST_URI');'

Paul



17
PaulSinnema
Re: Selected module does not exist!

Debugged a little more. The problem lies in the common.php in the following line:

$xoopsRequestUri = @xoops_getenv('REQUEST_URI');
if (!$xoopsRequestUri) {
$xoopsRequestUri = (!$rq = xoops_getenv('SCRIPT_NAME')) ? getenv('REQUEST_URI') : $rq;
}

if I change it to:

//$xoopsRequestUri = @xoops_getenv('REQUEST_URI');
//if (!$xoopsRequestUri) {
$xoopsRequestUri = (!$rq = xoops_getenv('SCRIPT_NAME')) ? getenv('REQUEST_URI') : $rq;
//}

the $url_arr[0] contains 'system' after execution.

Paul



18
PaulSinnema
Re: Selected module does not exist!

I've been debugging the problem and found something to go wrong in common.php at the line:

$url_arr = explode('/', str_replace(str_replace('https://', 'http://', XOOPS_URL.'/modules/'), '', 'http://'.$HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));

After execution of this line $url_arr[0] contails 'http:'. It tries to find the module 'http:' which of course doesn't exist. I've changed $url_arr[0] to 'system' and now get the 'Site preferences'.

In the database the only row in the xoops_modules table is an entry for the 'system' module. Changing $url_arr[0] to any of the other modules, gives me the 'Selected Module Does Not Exist' text again.

Because there's no comment in the sources, I'm not sure what the 'explode' should deliver. My quess is that it should return the parameter ater the '?' in the URL, but I can't be shure.

I've left the debugging 'echo' statements in the sources. YOu can look for yourself. Go to www.paulsinnema.com and login with 'admin' and 'testing'.

Paul.



19
PaulSinnema
Re: Selected module does not exist!

Yep, it was what you said, a shot in the dark but nobody got hurt, it doesn't work



20
PaulSinnema
Re: Selected module does not exist!

I've read the instructions there, they don't help! I'm not sure if it's IIS related or not. I've scanned through the PHP sources and can't find this message anywhere. How is it generated? If I know where to look, I could dig in and have a look myself.




TopTop
« 1 (2) 3 »



Login

Who's Online

158 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 158


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