Hi,
I am trying to get a php slideshow script to run and I cant get it to work. I am confused on this vps account as to what my ftp web root dir. I have the script working on a shared server account because the ftp web root dir is public_html. I think my problem is I am not entering the right ftp web root dir. I have tried all combos of the following and I cant get it to work.
The script is located in the /mls-slideshows/ dir here:
/var/www/vhosts/mypanamacitymls/mls-slideshows/
The script asks for:
// ftp web root directory (httpdocs, wwwroot, webroot etc.)
// this is the directory that your website is located in on your FTP login.
// (no slashes needed)
$ftp_web_root = "/var/www/vhosts/mypanamacitymls/";
A good link to the page where it should be working is http://www.mypanamacitymls.com/mls-s...y=vestavia-215
Please advise and thank you for your time and attention.
Kind regards, Capt. Mike
Results 1 to 6 of 6
Thread: What is my ftp web root dir?
-
06-24-2007, 01:10 PM #1Junior Member
- Join Date
- Dec 2006
- Location
- Panama City Beach, FL
- Posts
- 17
What is my ftp web root dir?
Last edited by Capt. Mike; 06-24-2007 at 01:49 PM.
-
06-24-2007, 05:36 PM #2
It looks like you got it working. What did you end up useing?
Shawn
Please remember your charity of choice: http://www.redcross.org
Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson
-
06-24-2007, 06:55 PM #3Junior Member
- Join Date
- Dec 2006
- Location
- Panama City Beach, FL
- Posts
- 17
Hi Shawn...I hope you are doing well man. Sorry for not posting back...I had to go to the webhost tech support. Seems like somewhere in the shuffle they got register globals turned off in the php.ini...I have no idea how or when they did that...anyways the dir path I used is /var/www/vhosts/mypanamacitymls/mls-slideshows/
Ya see the whole thing was working for a long time..then I checked on it today and it wasnt so i didnt know why it wasnt or for how long it wasnt...that set off a chain of events ...i started changing things in the php script and couldnt get it to work...and i couldnt get back to square one. Grant in tech support was kind and got it going again...although we dont know how register globals in the php.ini file ever got changed.
Have a GREAT week Shawn you are a GREAT guy and deserve a good week if not more!
Kind regards, Capt. Mike
-
06-25-2007, 06:43 AM #4
By default on a php installation rigistered_globals is turned off for security reasons. I bet that somewhere along the line you updated php to a new version which would have switched the setting back to off.
If you didn't then it may be with the upgrades they are makeing to move to WH3.0 that there may have been the switch made.
You do know that haveing it set to on can be a risk right?
http://php.net/manual/en/security.registerglobals.php
Shawn
Please remember your charity of choice: http://www.redcross.org
Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson
-
06-28-2007, 07:32 AM #5Junior Member
- Join Date
- Dec 2006
- Location
- Panama City Beach, FL
- Posts
- 17
Hi Shawn,
Thank you for bringing that to my attention. I think the tech guy may have got it wrong. I went back in this morning edited the php.ini file to register global Off and the script is still working I think. See it here:
http://www.mypanamacitymls.com/mls-s...ne-log-landing
Kind regards, Capt. Mike
-
06-28-2007, 01:46 PM #6
Yep seems to be working. Did you go in to your Site Manager and restart your VPS? Just to make sure that if the VPS is restarted that it won't happen again.
Shawn
Please remember your charity of choice: http://www.redcross.org
Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson
Similar Threads
-
Creating multiple sub-domains problem 1
By shw in forum Account MaintenanceReplies: 11Last Post: 05-06-2007, 04:49 AM -
Password Protect Web Root
By jrtowell in forum General DiscussionReplies: 5Last Post: 01-07-2007, 07:40 AM -
FTP to web site - Other User? (Newbie)
By AWCdesigner in forum Account MaintenanceReplies: 7Last Post: 02-16-2005, 10:34 PM -
including files from a root dir in a sub dir
By ali in forum PHP / MySQLReplies: 4Last Post: 10-26-2004, 08:18 AM -
Lots of directories in /proc...?
By humuhumu in forum General DiscussionReplies: 7Last Post: 10-09-2003, 05:31 PM
Reply With Quote