Jump to content

judkels

Member
  • Posts

    25
  • Joined

  • Last visited

judkels's Achievements

Newbie

Newbie (1/14)

-1

Reputation

  1. I have the username and password and want to update a website but when I connect with ftp using dreamweaver or zilla I don't see the site files or the public_html folder. I do get a directory with a folder (chilli - copy) but it doesn't help me - the site is live and there but I can't get to it now. As an experiment I tried to upload a test file which was just added but not to the site properly. This is the log I get - I'd be glad of a few ideas. < 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- < 220-You are user number 5 of 50 allowed. < 220-Local time is now 09:12. Server port: 21. < 220-This is a private system - No anonymous login < 220 You will be disconnected after 15 minutes of inactivity. > USER xxxx@xxxx.co.uk < 331 User xxxxe@xxxx.co.uk OK. Password required > PASS < 230-User xxxx@xxxx.co.uk has group access to: chillie < 230 OK. Current restricted directory is / > PWD < 257 "/" is your current location > PWD < 257 "/" is your current location > CWD / < 250 OK. Current directory is / > PORT 192,168,1,65,208,192 < 200 PORT command successful > TYPE A < 200 TYPE is now ASCII > LIST -al < 150 Connecting to port 53440 < drwxr-xr-x 3 chillie chillie 4096 Mar 17 13:32 . < drwxr-xr-x 3 chillie chillie 4096 Mar 17 13:32 .. < -rw------- 1 chillie chillie 4 Mar 1 04:30 .ftpquota < drwxr-xr-x 2 chillie chillie 4096 Mar 17 14:11 chilli - Copy < 226-Options: -a -l < 226 4 matches total > CWD / < 250 OK. Current directory is / > PORT 192,168,1,65,208,194 < 200 PORT command successful > TYPE A < 200 TYPE is now ASCII > LIST -al < 150 Connecting to port 53442 < drwxr-xr-x 3 chillie chillie 4096 Mar 17 13:32 . < drwxr-xr-x 3 chillie chillie 4096 Mar 17 13:32 .. < -rw------- 1 chillie chillie 4 Mar 1 04:30 .ftpquota < drwxr-xr-x 2 chillie chillie 4096 Mar 17 14:11 chilli - Copy < 226-Options: -a -l < 226 4 matches total
  2. I've been setting up a fat free shopping cart (www.e-junkie.com) and it works ok but I am wondering how to alter the postion of the 'view cart' icon. It is presently set to be in the top left hand corner of the website and it's addition pushes the banner and heading down the page as the 'view cart' icon adds to the vertical height. This has the affect of making the page be 'out of kilter' with all the other pages in my navigation bar - where the banner isn't pushed down. Secondly can I use a different image for 'add to cart' and 'view cart' or must I use the ones provided by fat free? Below is the code they suggest using. I know this is perhaps not as good as a 'proper' shopping cart php code but for me as a beginner it seems a useful start to get an idea of how these things work. Also it is free and I'm not sure yet if I want to pay out large sums. Any ideas? Many thanks Judy <!-- ADD TO CART button code. --> <form action="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2&quot;'>https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2" target="ej_ejc" method="POST"> <!-- paypal email(remove if not using PayPal) --> <input type="hidden" name="business" value="your_paypal_email"/> <!-- google merchant id (remove if not using Google Checkout) --> <input type="hidden" name="merchant_id" value="your_google_merchant_id"/> <!-- site url --> <input type="hidden" name="site_url" value="http://yoursite.com"/> <!-- contact email (where we can notify of the updates) --> <input type="hidden" name="contact_email" value="your@email.address"/> <!-- item name --> <input type="hidden" name="item_name" value="Test Item"/> <!-- item number (should be different for each product)--> <input type="hidden" name="item_number" value="1"/> <!-- item price --> <input type="hidden" name="amount" value="1.00"/> <!-- initial quantity --> <input type="hidden" name="quantity" value="1"/> <!-- item options (can be removed if not required) --> <input type="hidden" name="on0" value="Size"/> <select name="os0" > <option value="S">S</option><option value="M">M</option> </select> <input type="hidden" name="on1" value="Color"/> <select name="os1" > <option value="Orng">Orng</option><option value="Blk">Blk</option> </select> <input type="hidden" name="on2" value="Message"/> <input name="os2" type="text" value="Hello World"/> <!-- shipping cost --> <input type="hidden" name="shipping" value="1"> <!-- shipping cost of each additional unit --> <input type="hidden" name="shipping2" value="0.5"> <!--handling cost --> <input type="hidden" name="handling" value="0.5"> <!-- tax (flat amount, NOT percentage)--> <input type="hidden" name="tax" value="0.50"/> <!-- following options are applicable to whole cart--> <!-- you thank you page --> <input type="hidden" name="return_url" value="http://www.e-junkie.com/"/> <!-- any custom info you want to pass for the whole order --> <input type="hidden" name="custom" value="anything"/> <!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports --> <input type="hidden" name="currency_code" value="USD"/> <input type="image" src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" onClick="javascript:return EJEJC_lc(this.parentNode);"> </form> <!-- VIEW CART button code. --> <a href="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2& merchant_id=your_google_merchant_id&business=your_paypal_email" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_view_cart.gif" border="0"></a> <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } // --> </script> <script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>
  3. Yes i think that must be it - I trawled through google for something similar and found this which seems plausable from a thread here a couple of years ago http://www.webhostingtalk.com/showthread.php?t=703306 the answer being to remove the domain listed in /etc/localdomains. I shall have to refer to the web host as you suggest and see what they do as a solution - I can see all sorts of folders and one called etc but nothing in it that I can alter. thanks for your advice Judy
  4. No that didn't make any difference and yes the enquiries@mysite.com email address works fine. I have sent and received messages using this on outlook - to make sure it was spelt correctly I cut and pasted the address into the php code. The words used in the error message I receive say 'No Such User Here' does that imply I have to add it somewhere and if so why do the other email addresses not with the domain name work? I know these do work as I've checked this with a friend. Quite odd.
  5. I am most grateful for all the advice and I'm sorry to be asking all these questions. Should it ever happen that I know the answer to someone else's query I shall jump in - a bit unlikely just at the moment! This is the problem I now have. My contact php form is working thanks to help from falkencreative. However I am finding that if I use the address I'd like to use ie enquiries@xxxx.com where xxxx.com is the domain name (and this email address seems to work everywhere else) the form doesn't work and I get an undelevered reply as below. If I use any other email address ie hotmail yahoo and so on it seems to work fine. Why is this happening - is it my code or something else I have done wrong. This is the undelivered message I get This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: enquiries@mysite.com No Such User Here ------ This is a copy of the message, including all the headers. ------ Return-path: <me@hotmail Received: from chilli by sv14.premiumwebserver.com with local (Exim 4.69) (envelope-from <me@hotmail>) id 1OvGmA-0000OD-5c for enquiries@mysite.com; Mon, 13 Sep 2010 16:41:22 -0500 To: enquiries@mysite.com Subject: Feedback from website From: me@hotmail Reply-To: me@hotmail Message-Id: <E1OvGmA-0000OD-5c@sv14.premiumwebserver.com> Date: Mon, 13 Sep 2010 16:41:22 -0500 Name: ..... Message: \....\' ... do hope these are now arriving ok No virus found in this incoming message. Checked by AVG - www.avg.com This is my php code that seems to work if I use any other address in place of the enquiries@mysite.com <?php $email_to = "enquiries@mysite.com"; $name = $_POST["name"]; $email_from = $_POST["email"]; $message = $_POST["message"]; $email_subject = "Feedback from website"; $headers = "From: $email_from" . "\r\n" . "Reply-To: $email_from"; $message = "Name: ". $name . "\r\nMessage: " . $message; ini_set("sendmail_from", $email_from); $sent = mail($email_to, $email_subject, $message, $headers, "-f" .$email_from); if ($sent) { header("Location: http://www.mysite.com/thankyou.html"); } else { echo "There has been an error sending your comments. Please try later."; } ?> Can you see where I have gone wrong?
  6. Thanks for all your help on this - I think I have now got it working - removing the code at the top of the page seemed to do the trick as much as anything. I am surprised about this as I'm sure it is on another page in another site and works fine but I'm going to double check this! I am going to get a couple of friends to send messages just to see if all is going ok. I shall now be on to the next snag before too long it's one little problem after another with this kind of stuff!. Many thanks for helping me. Judy
  7. No luck I.m afraid - well worse really Further below is my process.php page and this is the warning I'm now getting Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/chilli/public_html/process.php on line 15 Parse error: syntax error, unexpected ':' in /home/chilli/public_html/process.php on line 15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>process</title> </head> <body> <?php $email_to = "email@xxxx.com"; $name = $_POST["name"]; $email_from = $_POST["email"]; $message = $_POST["message"]; $email_subject = "Feedback from website"; $headers = 'From: $email_from' . "\r\n" . 'Reply-To: $email_from; $message = "Name: ". $name . "\r\nMessage: " . $message; ini_set("sendmail_from", $email_from); $sent = mail($email_to, $email_subject, $message, $headers, "-f" .$email_from); if ($sent) { header("Location: http://www.xxxxxx/thankyou.html"); } else { echo "There has been an error sending your comments. Please try later."; } ?> </body> </html> Bit of a mystery to me but this may make more sense to you thanks Judy
  8. This what I'm getting Warning: Cannot modify header information - headers already sent by (output started at /home/chilli/public_html/process.php:8) in /home/chilli/public_html/process.php on line 22
  9. I've changed as you suggested and it has sorted out the email sent to look better but I'm still getting no thankyou page and the warning about the header as before. many thanks
  10. I have checked that and know there must be something else since the same file works ok with a test site - goes straight to the thankyou page. Any other ideas I can try?
  11. I am very much a beginner with php and must be making a simple mistake. On one web host this seems to work ok for my contact form but not with another. I am getting the message warning cannot modify headers ...already sent... and so on. Can anyone point out where I am going wrong. I want the viewer to be redirected to my thank you page. This is my process.php - the actual message arrives ok but they are not redirected to the thank you page. <?php $email_to = "webmaster@xxxxxx"; $name = $_POST["name"]; $email_from = $_POST["email"]; $message = $_POST["message"]; $email_subject = "Feedback from website"; $headers = "From: $email_from .\n"; "Reply-To: $email_from .\n"; $message = "Name: ". $name . "\r\nMessage: " . $message; ini_set("sendmail_from", $email_from); $sent = mail($email_to, $email_subject, $message, $headers, "-f" .$email_from); if ($sent) { header("Location: http://www.xxxxxxxxxx/thankyou.html"); } else { echo "There has been an error sending your comments. Please try later."; } ?> I've already tried a few solutions but not any that have worked! Many thanks Judy
  12. This really shows my ignorance - but what is the best way to make my text line up properly. I have a simple 'contact us' page with the address to the left in one div floated and the email and website details in another div floated to the right side of the page (well actually I may have them both floated left but with a margin set) Anyway this seems effective except lining up the text correctly with in the divs. Indenting just the 4 lower lines but keeping them nicely lining up with 'name of company' bit above. I'd be grateful for ideas on the best way to do this - I'm sure I shouldn't be using all those spaces which don't work perfectly anyway. <p><strong>Post: </strong>name of company<br /> address line 1<br /> address line 2<br /> address line 3<br /> postcode </p> many many thanks Judy
  13. I've been editing in dreamweaver cs4 and after creating a template to create new pages more quickly I have done quite a bit of redesigning. What seems to happen now is that in dreamweaver local view there is a large amount of white space and the background image looks as if it has slipped down the page. However when I load it in the browser the page appears to be correct. What am I doing wrong? It is so disconcerting seeing it look all wrong when I'm trying to edit it. This only seems to have happened recently - is it using templates or is it the image? I set the css property for the body as below because otherwise the image repeated in an annoying way. The bamboo image was not my choice but requested by the friend I'm attempting to do the website for.The image is 500kb and 1920x981. ps what is the significance of line height? body { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 24px; color: #000; background-repeat:no-repeat; background-image: url(images/bamboo.gif); background-position: center; background-attachment: fixed; } Many thanks Judy
  14. Hi Stefan Thanks for suggestion re mouse out. I redid all the behaviours while I was a bit more alert this morning and now have everything working fine. It was a case of 'muddled thinking' by me - easy when you know how! Yes shall try and learn a bit more about php etc as you suggest. Thanks again for your reply Judy
  15. I want to hover over one area of text (div = id recipeKit ) and to reveal an area of text in a different area of the page (ie second div called recipe selection). Using show and hide on mouse over and mouse out this works fine. The snag I notice is that I would like to include a hyperlink in the second div but as I move the mouse towards the block of information I trigger mouse out and the div hides again. What is my best way to achieve this. It is similar to a menu situation with about five items each with text associated but not adjacent and each div has different colours and so on. Any ideas? Thanks Judy
×
×
  • Create New...