1
hnic_spanks
physical path for XOOPS_ROOT_PATH ??

i read in the "starting a new XOOPS site" topic you had to make a php-file with content "<?php phpinfo(); ?>" and upload it to your ftp, then open it and you should get "a page full of information".
but when i do that it just displays "<?php phpinfo(); ?>", nothing more..
what am i doing wrong?
thanks

2
NovaSmart
Re: physical path for XOOPS_ROOT_PATH ??
  • 2007/9/26 9:58

  • NovaSmart

  • Module Developer

  • Posts: 158

  • Since: 2007/6/1 2


2 posiibilities:

1) Your file name is not ".php"
2) PHP not setup correctly

Are u setup server yourself ?
Malaysia R&D Company (Reg No: 001614159-X)
http://www.NovaSmartTechnology.com

NovaSmart XOOPS Module & Hack Website
http://xoops.NovaSmartTechnology.com

3
hnic_spanks
Re: physical path for XOOPS_ROOT_PATH ??

i've installed XAMPP yesterday, so i don't think anything's wrong with that. But does that even matter, cuz doesn't the host have its own apache/php/ etc?
i could post the url of the file here but i'm not sure if that's safe

4
JMorris
Re: physical path for XOOPS_ROOT_PATH ??
  • 2007/9/26 10:39

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


If you are using XAMPP, the configuration should be correct right out of the box.

Make sure the file has the right extension, like phpinfo.php, make sure you have the file in the correct location (XAMPP's web root), and make sure the URL you are accessing in your browser is correct, likehttp://localhost/phpinfo.php.

HTH
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
Dave_L
Re: physical path for XOOPS_ROOT_PATH ??
  • 2007/9/26 11:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


With XAMPP, if you browse tohttp://localhost/, there should be a phpinfo() item in the menu on the left side.

6
hnic_spanks
Re: physical path for XOOPS_ROOT_PATH ??

but i need the "physical path" of my online host, not the local host..
or is that just my ftp adress?

7
pod
Re: physical path for XOOPS_ROOT_PATH ??
  • 2007/9/26 12:21

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


This little script may be of some use to you. I believe there is a readme instructions file included in the package.


Hope this helps!
www.myxoops.com - MyXoops Is Your XOOPS!

8
hnic_spanks
Re: physical path for XOOPS_ROOT_PATH ??

look it's just this part that doesn't work for me:
Quote:
the quickest way to find your physical path and get your full site online is to create a new text file using a general text editor (also found in the Useful Programs FAQ). In that file, type the following <?php phpinfo(); ?> Save that file with a name like path.php (use a different name!). Upload this file to your web root using your FTP program. Then open your browser and type www.yoururl.com/path.php (or, whatever your filename was). You should get a page full of information - scroll down the page to the section labeled 'Apache Environment'. Look for the variable DOCUMENT_ROOT, the value of that variable will be your physical path for XOOPS_ROOT_PATH


and a little further it says "In your web host's control panel, go to phpMyAdmin" how do i do that?
or isnt this possible with the webspace i got from my internet provider (the 50mb you get free with your internet connection)...


9
Dave_L
Re: physical path for XOOPS_ROOT_PATH ??
  • 2007/9/26 14:53

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It depends on whether the webspace is configured to allow running PHP scripts. My guess is "no", but you could ask your internet provider.

10
hnic_spanks
Re: physical path for XOOPS_ROOT_PATH ??

thanks, that was the problem, it doesnt allow php

Login

Who's Online

220 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

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

Latest GitHub Commits