PEAK XOOPS - Installing altsys in englishin japanese

Installing altsys

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2007/6/17 21:59
jimbofoxman  惧霹始   Posts: 24
Maybe it's just me who can't understand this....

"- set XOOPS_TRUST_PATH into mainfile.php"

Sorry but that doesn't tell me anything.....does it mean something like this?

define('XOOPS_TRUST_PATH', '/home/flagship/www/www/metroOKC/xoops/xoops_trust_path');
Votes:3 Average:6.67
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/17 22:56
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
yep.

and.
what do you think the instruction should say instead?
Votes:3 Average:6.67
Previous post - Next post | Parent - No child | Posted on 2007/6/18 0:08
jimbofoxman  惧霹始   Posts: 24
something to this effect.....

define('XOOPS_TRUST_PATH', '/home/flagship/www/www/metroOKC/xoops/xoops_trust_path');

granted, would be different for each site.

Just my 2 cents.
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 0:25 | Last modified
jimbofoxman  惧霹始   Posts: 24
Ok, so I added this to the mainfile.php, right after MAINFILE_INCLUDE line.

define('XOOPS_TRUST_PATH', '/home/flagship/www/www/metroOKC/xoops/xoops_trust_path');

I followed the syntax of this line below.

define('XOOPS_ROOT_PATH', '/home/flagship/www/www/metroOKC/xoops');

I then created a directory called 'xoops_trust_path' in the root of the xoops folder. I then uploaded the contents of the libs folder (contains ALTSYS folder) into the 'xoops_trust_path' directory.

I then uploaded the contents of the HTML folder into the modules page. The HTML folder contained a folder called ALTSYS.

Now when I go into the module admin page the display is messed up and the module is not listed to install.

Any thoughts?



I removed the ALTSYS folder from the module directory and the Module Admin page is fine again.


I also tried moving the DEFINE statement to just infront of this line...

if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 0:30
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
so you have the 'xoops_trust_path' in the xoops folder?
define('XOOPS_TRUST_PATH', '/home/flagship/www/www/metroOKC/xoops/xoops_trust_path');


or above the xoops folder (same level as the xoops folder).
define('XOOPS_TRUST_PATH', '/home/flagship/www/www/metroOKC/xoops_trust_path');
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 0:34
jimbofoxman  惧霹始   Posts: 24
in the XOOPS folder
Votes:1 Average:10.00

none Re: Installing altsys

msg# 1.2.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 0:51
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
ok. then lets make a php file and put this in it
<?php
echo "path Is ".getcwd(); 
?>

put that file in the xoops_trust_path folder and see if shows the same path as you defined in mainfile.php
Votes:2 Average:5.00

none Re: Installing altsys

msg# 1.2.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 0:59
jimbofoxman  惧霹始   Posts: 24
path Is /home/flagship/www/www/metroOKC/xoops/xoops_trust_path
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 1:10 | Last modified
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
wow. i dont know whats wrong.

i installed altsys on my site about 15 minutes ago. it took about 5 minutes..
. make folder (xoops_trust_path).. upload the libs folder to that folder
. define the trust path (xoops_trust_path) in mainfile.php
. uploaded the altsys folder (which was in the html/modules folder) to the modules folder on my site.. and install.

maybe try debugging or reuploading the files?
Votes:1 Average:10.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 1:15
jimbofoxman  惧霹始   Posts: 24
at what point in the mainfile.php did you put the define line?
Votes:2 Average:10.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 1:18
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
i put mine right below the line where 'XOOPS_ROOT_PATH' is defined. i could have put it above that line instead.
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 1:24 | Last modified
Bandit-x  办霹始 From: UsA - MiChIgAn  Posts: 17
. he got it working now.
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/6/18 2:55
jimbofoxman  惧霹始   Posts: 24
Yep, upon IM'ing with Bandit-X, I found I uploaded a directory wrong. Thanks again Bandit-X
Votes:1 Average:10.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/7/6 3:01
Stu  企霹始   Posts: 4
Hey jimbofoxman, can you tell me exactly what went wrong? I am having the same problem and haven't figuredit out yet.
Thanks, man.
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/7/6 5:33
GIJOE  黎扦烦菱   Posts: 4110
I dare to ask "why cannot altsys be installed?".

- patch class/smarty/xoops_plugins/resource.db.php if you use XOOPS 2.0.14/15/16
- clear templates_c/
- install/update altsys in module admin

That's all.
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/7/6 13:30
Stu  企霹始   Posts: 4
Hi GIJOE,
Thank you for your help.

I use 12.0.16, indeed. When trying to install altsys (same problem for Protector) I do everything in the README but can't see the module in SYSTEM ADMIN when getting to the installation part.

I created the trust path in /var/xoops_trust_path, updated mainfile.php and copied the files so that I have the following folders:
/var/xoops_trust_path/libs/altsys/...
/var/www/html/xoops/modules/altsys/...

I patched class/smarty/xoops_plugins/resource.db.php, cleared templates_c ... and I still don't see the module in SYSTEM ADMIN.

Can you see anything wrong in what I've done so far? I'd really appreciate your help!
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2007/7/7 3:50
GIJOE  黎扦烦菱   Posts: 4110
hi Stu.

Quote:

I use 12.0.16, indeed. When trying to install altsys (same problem for Protector) I do everything in the README but can't see the module in SYSTEM ADMIN when getting to the installation part.
There are two reasons.

- Turn debug on
-- a fatal error can hidden it

- Check whether XOOPS_ROOT_PATH/modules/altsys/xoops_version.php exists or not
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 .2 | Posted on 2007/7/7 4:09
Stu  企霹始   Posts: 4
Hi GIJOE,

I turned debugging on - no error reported. Just queries.
XOOPS_ROOT_PATH/modules/altsys/xoops_version.php exists.

Is there anything else I can look at?

Thanks a lot.
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2007/7/8 3:36
gigamaster  话霹烦菱 From: Geneva, Switzerland  Posts: 94
I face something similar recently updating demo XCL with Gijoe modules. Some files were lost or corrupt while uploading (ftp issues).

Check if your host allow you to run scripts outside public folder.
Check your folder structure and mainfile links.
Try to re-upload your module files !

Have Fun !
Votes:0 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2
Previous post - Next post | Parent - Children.1 | Posted on 2007/7/8 17:54 | Last modified
GIJOE  黎扦烦菱   Posts: 4110
Quote:

I turned debugging on - no error reported. Just queries.
XOOPS_ROOT_PATH/modules/altsys/xoops_version.php exists.
Really?

Don't you misunderstand XOOPS_TRUST_PATH instead of XOOPS_ROOT_PATH?

Check whether XOOPS_ROOT_PATH/modules/altsys/ have the permission of 700 etc.
Votes:1 Average:0.00

none Re: Installing altsys

msg# 1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1
Previous post - Next post | Parent - No child | Posted on 2007/7/9 23:21
Stu  企霹始   Posts: 4
Hi guys,
Thanks for the help. It was a permissions issue.

I had selinux installed by default with a restrictive configuration.

The permissions looked OK, but the web server couldn't read the sub-folders and files under xoops_trust_path.

It's good now. Thanks again.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!