1
mrcan
XOOPS Physical Path
  • 2004/3/24 2:15

  • mrcan

  • Just popping in

  • Posts: 4

  • Since: 2004/3/24


ok, I'm new to this thing, and I can't figure out what my physical path is. It is hosted on a OpenBSD server with apache and everything else running good, I just don't know what the physical path should be, thanks.

2
mrcan
Re: XOOPS Physical Path
  • 2004/3/26 5:30

  • mrcan

  • Just popping in

  • Posts: 4

  • Since: 2004/3/24


Ok, so I double checked the physical path with my host, but XOOPS still says its wrong, but the url checks out fine. Any ideas?

3
Dave_L
Re: XOOPS Physical Path
  • 2004/3/26 6:26

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


What's the exact error message you get?

4
mrcan
Re: XOOPS Physical Path
  • 2004/3/26 19:19

  • mrcan

  • Just popping in

  • Posts: 4

  • Since: 2004/3/24


Could not detect the physical path to your XOOPS directory.
Virtual path is a valid URL.

The server path to your XOOPS root directory: /home/***/www
URL to your XOOPS root directory: http://www.***.com

5
mrcan
Re: XOOPS Physical Path
  • 2004/3/30 1:57

  • mrcan

  • Just popping in

  • Posts: 4

  • Since: 2004/3/24


Ok, just for an update, I did get the site working, but it still says that the physical path doesn't work.

6
goldfish
Re: XOOPS Physical Path
  • 2004/5/4 15:51

  • goldfish

  • Just popping in

  • Posts: 4

  • Since: 2004/5/4 1


I am having the exact same problem except I am trying to install on a UNIX system. I know that the physical path is correct and I have checked it with my host, but XOOPS still says "Could not detect the physical path to your XOOPS directory."

Any ideas on how to solve this problem?

7
mktwain124
Re: XOOPS Physical Path
  • 2004/5/4 16:37

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Try this. Save the code below as a new file titled rootpath.php and upload it to your main directory (same directory where you find files like mainfile.php, index.php, backend.php, user.php) Then point your browser to this file - http://yoursite/rootpath.php and it will display your physical root path. Make sure that this is exactly the same as you have defined in mainfile.php for XOOPS_ROOT_PATH

// Use this script to get the physical root path of your server
// Just upload this file to the main directory and point your browser to it
// http://your_xoops_directory/rootpath.php

echo "Your root path is ".str_replace("\","/",getcwd()).""
;
echo 
"without string replace: ".str_replace("\","/",getcwd())."";
?>

8
goldfish
Re: XOOPS Physical Path
  • 2004/5/4 17:20

  • goldfish

  • Just popping in

  • Posts: 4

  • Since: 2004/5/4 1


Thanks for your quick reply. I tried your script in the subdirectory that I have XOOPS loaded into and it did not work, but I tried it again in the main root directory and it showed me the physical path for that directory.

It added a /home/ level to the /www/**** path that my host gave me ( so it says /home/www/**** ). I am trying to install it into a subdirectory( /home/www/****/**** ) but neither your rootpath.php script or the XOOPS installer recognize the physical path there.

I have tried many possible combinations for the physical path to the subdirectory and nothing seems to work. Do I have to install XOOPS at the root level instead of a subdirectory for it to work? Is there a way around this?

9
Dave_L
Re: XOOPS Physical Path
  • 2004/5/4 21:43

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I wonder if something in the PHP configuration for the server is blocking getcwd(). You might ask your web host about that, or look at the output of phpinfo() and see if any of the safe mode directives are enabled.

() ?>

10
goldfish
Re: XOOPS Physical Path
  • 2004/5/4 23:08

  • goldfish

  • Just popping in

  • Posts: 4

  • Since: 2004/5/4 1


I checked phpinfo and all visible safe mode settings are set to "Off" or "no value" except the "safe_mode_allowed_env_vars" is set to "PHP_" and the "safe_mode_protected_env_vars" is set to "LD_LIBRARY_PATH"

???

Login

Who's Online

165 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 165


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