xoops forums

chiho

Just popping in
Posted on: 2007/4/19 16:20
chiho
chiho (Show more)
Just popping in
Posts: 14
Since: 2007/3/2 4
#1

Urgent Help!! Cannot install XOOPS.

Dear all,

I really need your urgent help.

I have tried to install XOOPS in our web server that provided by my web service provider. When I tried to setup XOOPS for my web site, I got a blank page after several steps.

http://www.pchk.org

My server info.

Apache version 1.3.36 (Unix)
PHP version 4.3.9
MySQL version 4.0.27

You can also see my php settings,

Moderator edit: this link removed for security
Moderator edit: shouting removed

Please help me, thanks in advance.

carnuke

Home away from home
Posted on: 2007/4/19 17:22
carnuke
carnuke (Show more)
Home away from home
Posts: 1955
Since: 2003/11/5
#2

Re: URGENT HELP!! Cannot install XOOPS.

I can only get to the 2nd stage of installation. Looks like your files maybe corrupted. Re download the archive, and upload all files again before installing.
http://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

chiho

Just popping in
Posted on: 2007/4/19 17:38
chiho
chiho (Show more)
Just popping in
Posts: 14
Since: 2007/3/2 4
#3

Re: URGENT HELP!! Cannot install XOOPS.

Thanks for your kind respond.

However, I have tried to re-upload the files for 5 times already. :(

carnuke

Home away from home
Posted on: 2007/4/19 17:50
carnuke
carnuke (Show more)
Home away from home
Posts: 1955
Since: 2003/11/5
#4

Re: URGENT HELP!! Cannot install XOOPS.

Ok,

1- Have you had any problems with the FTP of files?
2- Time outs?
3- failed connections?

These will possible corrupt or miss out some files.
http://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

BlueStocking

Home away from home
Posted on: 2007/4/19 18:00
BlueStocking
BlueStocking (Show more)
Home away from home
Posts: 1191
Since: 2007/2/16
#5

Re: URGENT HELP!! Cannot install XOOPS.

I may be late here, but I get your page fine... 1:34pm central time zone usa
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

carnuke

Home away from home
Posted on: 2007/4/19 18:07
carnuke
carnuke (Show more)
Home away from home
Posts: 1955
Since: 2003/11/5
#6

Re: URGENT HELP!! Cannot install XOOPS.

me too. Your on the air!
http://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

chiho

Just popping in
Posted on: 2007/4/20 7:59
chiho
chiho (Show more)
Just popping in
Posts: 14
Since: 2007/3/2 4
#7

Re: URGENT HELP!! Cannot install XOOPS.

Apparently I can able to install XOOPS in our web server successfully. However, I found that there are a tons of problem when installing it.

Problem 1
I don't know why my web server cannot return a value by function call "getcwd()". I need to reach out all entry in XOOPS package and replaced it by "dirname($_SERVER['PATH_TRANSLATED'])". I don't know if it is a bug from XOOPS and any improvement in future.


Problem 2
Under administrator page -> "Modules", whenever I click on one module for setup, an error message will be prompted.

XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

I checked the code in mainfile.php and I found the following code segment leaded to such problem.

if ( strcasecmpsubstr($xoopsScriptPath0strlen(XOOPS_ROOT_PATH)), str_replaceDIRECTORY_SEPARATOR'/'XOOPS_ROOT_PATH)) ) {
    exit(
"XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
        }


I tried to print the result on page,

substr($xoopsScriptPath, 0, strlen(XOOPS_ROOT_PATH) -> "../../../include/cp_hea"

str_replace( DIRECTORY_SEPARATOR, '/', XOOPS_ROOT_PATH) -> "/home/pchk1/public_html"

However, if I delete the code segment everything went good.

Does anyone have any suggestion? Thanks

MadFish

Friend of XOOPS
Posted on: 2007/4/20 8:28
MadFish
MadFish (Show more)
Friend of XOOPS
Posts: 1056
Since: 2003/9/27
#8

Re: URGENT HELP!! Cannot install XOOPS.

Quote:
XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.


Check this line in mainfile.php:

define('XOOPS_ROOT_PATH', 'blah blah blah');

You are probably getting the path check error because you have set this wrong. It is probably something like /home/youraccountname/public_html or whatever folder you actually uploaded the site to.

Also check this is right:

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

Suggest you change your passwords if you posted them here, even briefly. Don't post your whole mainfile here either, as it contains your database username and password!

chiho

Just popping in
Posted on: 2007/4/20 9:00
chiho
chiho (Show more)
Just popping in
Posts: 14
Since: 2007/3/2 4
#9

Re: Urgent Help!! Cannot install XOOPS.

MadFish, thanks for your kind reply.

I quite sure that I set variables XOOPS_ROOT_PATH and XOOPS_URL in the case. I comment the segment of code and everything going well.

Do you know that's the usage of $xoopsScriptPath?

Thanks for your help again

Quest

Friend of XOOPS
Posted on: 2007/4/20 11:04
Quest
Quest (Show more)
Friend of XOOPS
Posts: 1034
Since: 2005/11/19
#10

Re: Urgent Help!! Cannot install XOOPS.

You look up and running. What version of xoops? I think Carnuke had a very good suggestion I have had to it myself before and it worked. I read where you tried to reupload 5 times but did you get rid of the copy of XOOPS version completely which you were trying to install and download a fresh .zip or .rar of the XOOPS version you want and then try to istall again?

Quest