1
River
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2009/3/8 19:57

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


I checked the site that I having problems, I found that the XOOPS_ROOT_PATH of my old mainfile is home/ as the server changed my sites to home4 I get "XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run." error and the browser address shownhttp://mysite.com. Howevery, AFTER I modified the main file (Chnage home/ to home4/) I still het the same error but the browser address this time shown "http://mysite/modules/news/".

Any ideas please?

Cheers



2
River
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2009/3/5 12:47

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Hi

I have 2 XOOPS site hosted on the same server (same account), they changed my home to home4, so I have the same problem as above. I changed the mainfile for both sites, and one is ok now but the other still have the problem. Any ideas how this happend?

Thanks



3
River
Re: successful login but no rights
  • 2008/11/8 12:48

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


sometimes later, this problem comes back, so I change url path fromhttp://mydomain.com tohttp://www.mydomain.com and it worked. Strange!!



4
River
Re: successful login but no rights
  • 2008/10/4 8:51

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Mamba,

Thanks for your help. this solved the problem. In fact it's another way round. Originally in the mainfile is:

define( 'XOOPS_URL', 'http://www.mydomain.org' );
And after I changed to:

define( 'XOOPS_URL', 'http://mydomain.org' );

And it worked!

Great!



5
River
Re: successful login but no rights
  • 2008/10/3 9:33

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Firefox on the computer I am working with having "profilemanager" problems, in fact I have too many software problems to sort out for now, so I gave up on Firefox for now.

However, I am having with or without "www." problem (Opera and IE the same problem). Whatever the address I use (www.mydomain.com or justhttp://mydomain.com) to login, it will lead to the www.mydomain.com and logged in without problems. When I click any links my address changed tohttp://mydomain.com (may be because the way the site setup?), as soon as the url showing without "www." I am NOT log in. If I at this point add "www." to the address bar, then I am back in again.

Can anyone see the problems?

Thanks



6
River
Re: successful login but no rights
  • 2008/9/27 16:10

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


I tried Firefox on another computer, and I can login without problem. I will reinstall my firefox now.



7
River
Re: successful login but no rights
  • 2008/9/27 15:58

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Quote:

mboyden wrote:
Can you turn on debugging and see what error messages you get if any? Look at all of them and see if anything is failing, and where.


Login via Firefox, after "Thank you for login in..." message, it sends me back to before login page. I can login through Opera and I can see the error message below:

Warning: Functions in /include/old_theme_functions.php are deprecated, should not be used any more in file /include/old_theme_functions.php line 32

(Opera) I can also see the browser address bar such :"http://www.mysite.com/main/index.php/main/modules/index/index.php"

The correct address should be "http://www.mysite.com/main/index.php/index.php". Not sure if this would make any different.

I will try to login in other machines.

Cheers




8
River
Re: successful login but no rights
  • 2008/9/22 16:52

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


I am still having this problem. I can login if I use Opera browser, but when I use firefox, I will get "welcome..." then send back to "before-login" page.

Can someone help?



9
River
Re: successful login but no rights
  • 2008/9/15 19:57

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


Hi

My version of XOOPS is 2.3 whatever users login, I get "Thank you for loging in..." message,then sent me back to "Un-login" user page. This only happen in Firefox though, I don't have any problems with Opera. So I login via Opera and enable debug mode, and I got this:

SET NAMES 'utf8'
SELECT * FROM xxx_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM xxx_session WHERE sess_id = '75c128cfe4c439eecc60fd79c0cb00b4'
SELECT * FROM xxx_users WHERE uid=1
DELETE FROM xxx_protector_access WHERE expire < UNIX_TIMESTAMP()
SELECT COUNT(*) FROM xxx_protector_access WHERE ip='xxx.xxx.xxx.xxx' AND request_uri='/main/admin.php'
SELECT COUNT(*) FROM xxx_protector_access WHERE ip='xxx.xxx.xxx.xxx'
INSERT INTO xxx_protector_access SET ip='xxx.xxx.xxx.xxx',request_uri='/main/admin.php',expire=UNIX_TIMESTAMP()+'60'
SELECT * FROM xxx_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))

Can someone help please.

River



10
River
Re: New/old installation
  • 2008/8/2 18:35

  • River

  • Just popping in

  • Posts: 39

  • Since: 2006/2/27


OK I changed my plan. I installed v2.3 then I run old SQLs on the new installation table by table. Apart from a few cases I need to add extra files most tables imported without problems. However, I am having difficulties to import "users" table. The new one has so many added fileds.

Can someone point me to the right direction on how to import the users table?

Thanks

LJ




TopTop
(1) 2 3 4 »



Login

Who's Online

155 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 155


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