1
chiho
Urgent Help!! Cannot install XOOPS.
  • 2007/4/19 16:20

  • chiho

  • Just popping in

  • Posts: 14

  • Since: 2007/3/2 4


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.

2
carnuke
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/19 17:22

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


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.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

3
chiho
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/19 17:38

  • chiho

  • Just popping in

  • Posts: 14

  • Since: 2007/3/2 4


Thanks for your kind respond.

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

4
carnuke
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/19 17:50

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


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.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

5
BlueStocking
Re: URGENT HELP!! Cannot install XOOPS.

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

6
carnuke
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/19 18:07

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


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

7
chiho
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/20 7:59

  • chiho

  • Just popping in

  • Posts: 14

  • Since: 2007/3/2 4


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

8
MadFish
Re: URGENT HELP!! Cannot install XOOPS.
  • 2007/4/20 8:28

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


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!

9
chiho
Re: Urgent Help!! Cannot install XOOPS.
  • 2007/4/20 9:00

  • chiho

  • Just popping in

  • Posts: 14

  • Since: 2007/3/2 4


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

10
Quest
Re: Urgent Help!! Cannot install XOOPS.
  • 2007/4/20 11:04

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


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

Login

Who's Online

133 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

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

Latest GitHub Commits