Prev Previous Post   Next Post Next
  #11  
Old 15th March 2010, 18:48
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

I used the script to install the service, but I get an error when clicking on the folder icon.

Any help would be appreciated.

Code:
<\?php require_once('../../lib/config.inc.php'); require_once('../../lib/app.inc.php'); $app->auth->check_module_permissions('sites'); if (!isset($_GET['id'])){ die ("No site selected!"); } $domainId = intval($_GET['id']); $dbData = $app->db->queryOneRecord("SELECT server_id FROM web_domain WHERE domain_id = " . $domainId); $serverId = intval($dbData['server_id']); if ($serverId == 0){ die ("No Server found!"); } $serverData = $app->db->queryOneRecord( "SELECT server_name FROM server WHERE server_id = " . $serverId); header('location:/webftp?servername="'.$serverData['server_name'].'"'); exit; ?>
I am pretty sure that it has something to do with the leading slash, but where do I go to change this?
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
net2ftp, webftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drupal + Postfix Integration handheld HOWTO-Related Questions 9 11th January 2010 23:16
net2ftp please Server Operation 1 14th October 2009 14:09
Two Physical Servers for "Zimbra Integration With Samba - Ubuntu Based"? chris.zeman HOWTO-Related Questions 0 13th July 2009 02:29
FileManger, UnZip, installer for CMS mike_phi General 4 4th January 2009 12:39
Installing net2ftp inside ispconfig timaaarrreee General 2 3rd December 2008 10:41


All times are GMT +2. The time now is 01:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.