11
phppp
Re: http:// and http://www double login issues?
  • 2008/4/26 12:46

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


The solution posted by rob777 at
https://xoops.org/modules/newbb/viewtopic.php?post_id=287610#forumpost287610

is the most thorough and valid one.

Another option is to use dynamic or RUNTIME XOOPS_URL, which is designed in XOOPS 3

12
rob777
Re: http:// and http://www double login issues?
  • 2008/4/27 6:48

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Runeher,

The index.html file is there and still having issues.
Thanks for the suggestion, as I did orginally delete it when clearing the templates folder. lol


Tom,

OK, I checked my mainfile.php. The defined address has no index.php at end. The url in there is http: //www.sitename .com


Phppp,

I have no idea how to do, or even what a dynamic or RUNTIME XOOPS_URL is. I'm a noob. I can barely find my way around the php files to tweak littles things.
Thanks for everything!
Later,
Rob

13
rob777
Re: http:// and http://www double login issues?
  • 2008/4/27 6:58

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Update...

When using the htaccess mod to redirect to www I have found another issue.

Besides the module updating issue, new people can not register to the site when I have the redirect in htacess. They get the register screen and everything. But when you click "finish" it says " Could not register new user. "

I'm using a fantasico installed XOOPS v. 2.0.16 with no hacks. Modules I'm using are Protector v 3.16; Newbb v 2.02; My-Iframe v 1.6; Extcal v 2.0; News v 1.56; Smartsection v 2.16; Smart object v 1.0; Smart profile v 1.0

Could the problem possibly be with the Protector?


Using the htaccess Quote:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$http://www .domain.com/$1 [r=301,nc]
is fine for viewing the website. But is causing issuess with the processes in the XOOPS system.
Thanks for everything!
Later,
Rob

14
Peekay
Re: http:// and http://www double login issues?
  • 2008/4/27 12:12

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Is the server path correct in mainfile.php? Every host is different, for example the path may include your account name or number, but it should be something like this:

define('XOOPS_ROOT_PATH''/var/www/vhosts/example.com/httpdocs');

define('XOOPS_URL''http://www.example.com');


Note there should be no trailing slashes and no filenames.
A thread is for life. Not just for Christmas.

15
rob777
Re: http:// and http://www double login issues?
  • 2008/4/27 16:48

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Ok I checked the paths in mainfile.php and here is what I have.

// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/home/myaccountusername/public_html');
    
define('XOOPS_ROOT_PATH''/home/myaccountusername/public_html');

    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://mysitename.com');
    
define('XOOPS_URL''http://mysitename.com');
        
define('XOOPS_TRUST_PATH''/home/myaccountusername/my_trusted_path');


My server info is...
Apache v. 1.3.41 (unix)
PHP V. 5.2.5
Mysql v. 5.0.45


Does the path look right?

Thanks.
Rob
Thanks for everything!
Later,
Rob

16
tom
Re: http:// and http://www double login issues?
  • 2008/4/27 16:53

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Rob,

I'm going to send you my msn via PM, I don't use this address for anything other than MSN messenger, so please don't send E-mails as they won't be answered there.

Once your on MSN with me, we can go through it a little more and see if we can find a solution for you.

Take care
Tom.
Kind Regards.
Tom

http://bassmanthemes.com
http://www.xoopslance.com

17
Peekay
Re: http:// and http://www double login issues?
  • 2008/5/3 11:04

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Have you tried
define('XOOPS_URL''http://www.mysitename.com');

The www is important if people are accessing your site using it.
A thread is for life. Not just for Christmas.

Login

Who's Online

162 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

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

Latest GitHub Commits