1
martineagle
Re: Error on page (many pages), object expected
  • 2014/1/6 5:29

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


This error wsa fixed up with the latest release of I.E. Explorer.



2
martineagle
Error on page (many pages), object expected
  • 2007/2/11 6:05

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


Hi, hoping someone can shed some light on my problem.

I'm getting an error on page (in IE bottom left corner) which tells me object expected. I get the error when I try to view the "more" of who's online and also when I try to use the size, font, color, link, etc options when writing or modifying a message (like the options available above this box I'm writing the message in [only available when writing a message]). It's possible that performing other functions might generate similar errors, if you need me to try please ask.

Two major changes have occurred since this was working properly: 1) I've changed hosting companies, and 2) after migrating the site I upgraded the version of XOOPS from v2.0.13 to 2.0.16. The upgrade went without a problem and I got no errors during the upgrade process.

I've turned on debug mode (inline mode) so you can see all the errors being generated. Most of them look like this kind of thing...

Notice: Constant _MI_WFSCHANNEL_ADMENU2 already defined in file /apache/modules/myanmar/language/english/modinfo.php line 21

Notice: Constant _MI_CHAN_USESPAW already defined in file /apache/modules/myanmar/language/english/modinfo.php line 23

Notice: Constant _MI_CHAN_MAXFILESIZE already defined in file /apache/modules/myanmar/language/english/modinfo.php line 24



Thanks in advance,
Martin



3
martineagle
Re: cant view user profiles
  • 2006/6/29 14:09

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


I reposted your question about "is there a way I can set it so that a user *must* be logged in to view another users profile?" in this post as I was keen for an answer and your post here seemed to be being ignored or missed or who knows. Anyway, I got the answer we've been looking for.

Courtesy of user "Bender" ... Protecting UID Information.

Isn't XOOPS the best?


All the best,

Martin



4
martineagle
Re: 2 questions: disallow viewing other members unless logged in & view a list of all users
  • 2006/6/29 14:03

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


Thank you guys for your fast and accurate replies, much appreciated.

Another satisfied noob


Regs,

Martin



5
martineagle
Re: protecting UID information
  • 2006/6/29 14:00

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


Thanks heaps for this information, it's going to be a huge help.

To assist anyone else who's not 100% clear on what the previous post means (it took me a little while to figure it out) here's what to do.

The filename to edit is userinfo.php and that should be in the root of your XOOPS directory.

You don't quite enter the code "at the top" but it's pretty close. Here's where to put it...

Just after this code...
$xoopsOption['pagetype'] = 'user';
include 
'mainfile.php';
include_once 
XOOPS_ROOT_PATH.'/class/module.textsanitizer.php';

include_once 
XOOPS_ROOT_PATH '/modules/system/constants.php';

And just before this code...
$uid intval($_GET['uid']);
if (
$uid <= 0) {
    
redirect_header('index.php'3_US_SELECTNG);
    exit();
}


So the final thing looks like...
$xoopsOption['pagetype'] = 'user';
include 
'mainfile.php';
include_once 
XOOPS_ROOT_PATH.'/class/module.textsanitizer.php';

include_once 
XOOPS_ROOT_PATH '/modules/system/constants.php';

if ( !
is_object$xoopsUser ) ) {
    
redirect_headerXOOPS_URL0_NOPERM );
}

$uid intval($_GET['uid']);
if (
$uid <= 0) {
    
redirect_header('index.php'3_US_SELECTNG);
    exit();
}


Hope this helps save someone a little time.


Regs,

Martin



6
martineagle
2 questions: disallow viewing other members unless logged in & view a list of all users
  • 2006/6/29 4:31

  • martineagle

  • Just popping in

  • Posts: 6

  • Since: 2006/5/6 1


The below Question 1 was raised by a different user in this post but was never addressed or answered and I'd be really keen to know if there is a solution of any kind. Question 2 is from my own brain and I couldn't find an answer to it anywhere.

Question 1
"is there a way I can set it so that a user *must* be logged in to view another users profile? ... i dont want anyone on the internet who knows how to type in the URL for a user profile to be able to troll through that information without being a member"

QUESTION 2
Is there a way to view a list of all users in either a popup window or a module of it's own?


------
For me, I'm running with the following:
XOOPS Version: 2.0.13.1
PHP Version: 4.3.11
MySQL Version: 4.0.27-standard
Web Server Software (Apache/IIS/Other): Apache 1.3.33 (Unix)
Operating System: Linux
Theme you are using: hack of thinline
------


Thanks in advance,
Martin




TopTop



Login

Who's Online

262 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 262


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