11
landry
Anonymous users cannot register
  • 2005/9/5 19:55

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


I'm running XOOPS v.2.2.2, love the improvements.

When an anonymous user comes to my site and tries to register, they get a permissions error, "You don't have permission...," Registration is turned on in the db -- even if it was off, it would generate a different error, "We are temporarily closed to registration," right?

How does one control permissions for the registration page?



12
landry
Re: Adding Fields in Registration
  • 2005/8/25 2:27

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


This thread is very helpful but I've noticed some differences in the file tree in v.2.2.2. Could someone post an update on the process? I would like to add several fields (address, phone, etc) to the db.

Thanks
LB



13
landry
missing documentation
  • 2005/8/25 2:24

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Hello

I'm looking for current documentation for v.2.2.2. Have noticed that bothhttps://xoops.org/misc/api/ andhttp://docs.xoops.org/ show only a blank page. Have the URLs changed?

thanks
LB



14
landry
Re: Fatal error: Call to a member function on a non-object
  • 2005/8/21 19:23

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Interesting that an upgrade to 2.0.13 produced a different error but an upgrade to 2.2.2 solved the issues. The upgrade FAQ was very helpful.

Am now repopulating the database. Then will reinstall my hacks.

Thanks for the help.

Best
Landry



15
landry
Re: Fatal error: Call to a member function on a non-object
  • 2005/8/18 2:31

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


I am not sure what I did to cause this error. I was searching for a way to force users to log out when they visited an external link. Although I don't remember changing anything, apparently I did as the site no longer works.



16
landry
Can't login - URLs in login module are wrong
  • 2005/8/17 2:08

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


I am unable to login to my site because the links in my login module (submit button, Lost Password and Register now) have incorrect URLs. The virtual path and physical path are correct in mainfile.php. They do *not* include a trailing slash. Other links on the page (home page and XOOPS logo) point to the correct URLs.

For example:
"Register now!" should link to
www.domain.com/xoops/register.php
but instead it links to
www.domain.com/register.php

Any ideas what is going on?



17
landry
Fatal error: Call to a member function on a non-object
  • 2005/8/12 0:44

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


How do I troubleshoot this error? Normally I have a pretty good idea of where to begin but this leaves me clueless. I have not changed header.php. Line 138 reads: $xoopsLogger->addBlock($block_arr[$i]->getVar('name'));

From the context (see below), it looks like the error is happening when the template is first loaded...something about addBlock() or getVar() is not right but I'm unsure as to where to look from there.

Any suggestions?

Fatal error: Call to a member function on a non-object in header.php on line 138

xoops 2.0.9.2


$btpl = $block_arr[$i]->getVar('template');
if ($btpl != '') {
if (empty($bcachetime) || !$xoopsTpl->is_cached('db:'.$btpl, 'blk_'.$block_arr[$i]->getVar('bid'))) {
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'));
$bresult =& $block_arr[$i]->buildBlock();
if (!$bresult) {
continue;
}
$xoopsTpl->assign_by_ref('block', $bresult);
$bcontent =& $xoopsTpl->fetch('db:'.$btpl, 'blk_'.$block_arr[$i]->getVar('bid'));
$xoopsTpl->clear_assign('block');
} else {
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'), true, $bcachetime);
$bcontent =& $xoopsTpl->fetch('db:'.$btpl, 'blk_'.$block_arr[$i]->getVar('bid'));
}
} else {
$bid = $block_arr[$i]->getVar('bid');
if (empty($bcachetime) || !$xoopsTpl->is_cached('db:system_dummy.html', 'blk_'.$bid)) {
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'));
$bresult =& $block_arr[$i]->buildBlock();
if (!$bresult) {
continue;
}
$xoopsTpl->assign_by_ref('dummy_content', $bresult['content']);
$bcontent =& $xoopsTpl->fetch('db:system_dummy.html', 'blk_'.$bid);
$xoopsTpl->clear_assign('block');
} else {
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'), true, $bcachetime);
$bcontent =& $xoopsTpl->fetch('db:system_dummy.html', 'blk_'.$bid);
}
}



18
landry
Re: getting an error! version : 2.0.13
  • 2005/8/11 0:40

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


I'm getting the same error. What did you do to get the site back?



19
landry
Re: How to customize the Contact Form?
  • 2005/7/30 5:18

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Hello

I want to change the email that the contact form is sent to. Can I do that w/o installing Liase?

thanks



20
landry
Re: Custom Registration Form
  • 2005/6/12 17:47

  • landry

  • Just popping in

  • Posts: 22

  • Since: 2005/6/7 2


Hmm, I think this should have been posted in the Beginner's Corner. Sorry about that. Please refer to my post there.




TopTop
« 1 (2) 3 »



Login

Who's Online

247 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

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

Latest GitHub Commits