25-10-07, 10:59 | # 3 |
חבר בקהילה
דירוג מסחר: (0)
|
__________________
Ahoy - אופקים חדשים באינטרנט אסטרטגיית אינטרנט | קניית דומיין | קולנוע ישראלי | מאמרים ודעות | מערכת ניהול תוכן בעברית |
29-10-07, 17:05 | # 6 |
חבר בקהילה
דירוג מסחר: (0)
|
לא צריכה להיות שום בעיה -
יש לך כנראה בעיה בהגדרות הרשאות שרת או משהו דומה.
__________________
Ahoy - אופקים חדשים באינטרנט אסטרטגיית אינטרנט | קניית דומיין | קולנוע ישראלי | מאמרים ודעות | מערכת ניהול תוכן בעברית |
30-10-07, 09:43 | # 7 | |
חבר חדש
דירוג מסחר: (0)
|
סוף סוף הצלחתי להתקין איזה מערכת נחמדה
ahm היא בדיוק גם מתאימה, התקנתי אותה והכל הלך בסדר הטבלאות הותקנו במסד נתונים ההגדרות נכנסו לקובץ של הגדרות (config.php) והמערכת קיבלה גישה ל-whm (WHM Remote Access Key). רואים את החבילות מה-WHM בפנהל ניהול של המערכת וכל נראה תקין. אבל כאשר מנסים לפתוח חשבון חדש באיחסון אז בסוף ההרשמה זה רושם את השגיעה הבאה... ציטוט:
אני יודע שזה שגיאת sql אבל למה יש שגיעה מה יכול להיות לא בסדר? זה הקובץ שרשום שיש בו את השגיעה - freecomplete.php: קוד:
<? $status = $_POST['st']; $custom = $_POST['custom']; if (strcmp($status,"Completed")==0) { require '../includes/accounting.php.inc'; require '../includes/config.php.inc'; $get_datafields = mysql_query("SELECT * FROM tblOrders WHERE id='$custom'"); $get_sitedata = mysql_query("SELECT * FROM tblConfig"); $sitename = mysql_result($get_sitedata,0,"sitename"); $sitemail = mysql_result($get_sitedata,0,"email"); $acctdomain = mysql_result($get_datafields,0,"domain"); $acctplan = mysql_result($get_datafields,0,"pack"); $acctuser = mysql_result($get_datafields,0,"username"); $acctpass = mysql_result($get_datafields,0,"password"); $custid = mysql_result($get_datafields,0,"custid"); $get_userdata = mysql_query("SELECT * FROM tblCustomers WHERE id='$custid'"); $to = mysql_result($get_userdata,0,"email"); $from = $sitename."<".$sitemail.">"; $headers = "From: $from\r\n" . "MIME-Version: 1.0\r\n" . "Content-Type: multipart/mixed;\r\n" . " boundary=\"{$mime_boundary}\""; $subject = "Your New Hosting Account"; $body = "Hi!\n\nThese are the instructions for your new hosting account.\n\nFTP Details:\n\nFTP Url: ftp.".$acctdomain."\nUsername: ".$acctuser."\nPassword: ".$acctpass."\n\nTo configure all other services on your account, such as emails:\n\nURL: http://www.".$acctdomain."/cpanel\n\nEnter the same username and password as your FTP details above.\n\nThank you for choosing ".$sitename." as your hosting provider."; mail($to,$subject,$body,$headers); $createacct = createacct ($host,$user,$accesshash,0,$acctdomain,$acctuser,$acctpass,$acctplan); } include 'includes/header.php'; ?> <center> <h3>COMPLETE!</h3> Your payment was processed successfully!!<br><br> You will shortly be receiving an email with confirmation of your account details.<br><br> Please follow the instructions in the email closely. <?include 'includes/footer.php';?> |
|
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|