Jump to content

TCH-Andy

Members
  • Posts

    4,700
  • Joined

  • Last visited

Everything posted by TCH-Andy

  1. You can simply add >Options -Indexes in the .htaccess file in your public_html folder, and it will then apply to all folders.
  2. I'd suggest trying a live version of Ubuntu and Kubuntu ( to see which you prefer, the Gnome of the KDE interface) and also trying PCLinuxOS. You will probably have to use the windows driver for the bar-code scanner, but the rest should be fine. I'd suggest OpenOffice instead of M$ Orifice. These flavours of linux will network fine using samba.
  3. phplist should work fine for you. It's pretty easy to use, and you don't really need to know any php. I would suggest once you have installed it, open a ticket at the help desk and let us know where you have installed it, and ask us to adjust the throttle to our server limits for you.
  4. I'd suggest just putting one robots.txt file in the root folder (public_html directory) of your account ( and in subdomains, if you have subdomains)
  5. You have to cover the travel costs I'm afraid ... in the same way as any competitor going for a major competition crown ... but the honour is worth it when you win
  6. Thanks Bruce I'm sure there will be a rematch demanded at some point - so I may well lose the crown again
  7. They were very tasty though
  8. I know I've put on a bit of weight ... but not sure that's me in that second one
  9. I'm OK until we get into double figures - by Level 10 it's getting nasty LOL
  10. Do you know what the exact error was ? Any beeps ? Have you tried booting from a stand alone CD - to see if it's hardware or software ?
  11. Congratulations Ryan All the best to Jesse in his new role
  12. on the mbstia site, it looks as if you have some redirects looping round .... I'll have a quick look for you where that is.
  13. "danuta" is our server - so it's already propagated for you
  14. When is he likely to be back ? He is the only person who can initially get it back, when it goes into the redemption period. It will be a couple of months before it becomes available for you to pick up, so I'd strongly suggest you get him to pay for it ( or hopefully he has it on automatic renewal, and it will be renewed). Failed backorder costs are floating for future backorders.
  15. I agree, a great voice. Another one I liked, from Britain's got Talent .... a 6 year old .... youtube.com/watch?v=MndLRdPsuJE talk about talent at that age - if she continues to develop she will be some singer If you want a rather older amazing voice .... a mobile phone salesman .... youtube.com/watch?v=1k08yxu57NA just look at the judges faces at the beginning when he says he's going to sing opera He was the one who beat 6 year old Connie in the final.
  16. Welcome back Pizza party - excellent ... I'll bring the beer if you'll come along and give us a song
  17. Welcome to the forums LaurieWeb Yes, that's perfectly possible to combine them, simply open a ticket at the help desk and ask.
  18. From the original post; >Line 292 in admin/categories.php must be changed from: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input ($product['products_quantity']) . "', '" . tep_db_input($product ['products_model']) . "', '" . tep_db_input($product ['products_image']) . "', '" . tep_db_input($product ['products_price']) . "', now(), '" . tep_db_input($product ['products_date_available']) . "', '" . tep_db_input($product ['products_weight']) . "', '0', '" . (int)$product ['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); to: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input ($product['products_quantity']) . "', '" . tep_db_input($product ['products_model']) . "', '" . tep_db_input($product ['products_image']) . "', '" . tep_db_input($product ['products_price']) . "', now(), " . (empty($product ['products_date_available']) ? "null" : "'" . tep_db_input($product ['products_date_available']) . "'") . ", '" . tep_db_input($product ['products_weight']) . "', '0', '" . (int)$product ['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); Remember to scroll down fully.
  19. Basically your page has all the header / outline information ( including the top menu and left panel), then the content, then the footer information. So you will need to include all the content part of your site within the 'else' part of the site, yes ( just move where the brackets are, so they are round your content).
  20. Looking at this, I think there may be confusion over what pages are found .... The link you provided ( www.moviemansguide.com/reviews/DVD/read.php?id=doesntexist ) The page ( reviews/DVD/read.php ) does exist ... hence you will not get a 404 error for that page The 'id' ( doesntexist ) that you pass to the read.php script though does not exist. Hence you need to check within read.php to see if that exists, and if not provide the error page. Reading your question at the top, I think this is what you were asking about - but it has become confused because of the title of the thread ( about 404 errors ). I've summarised your code here but where you have >$titleinfo = @mysql_query("SELECT title, year, edition, hddvd FROM dvd_reviews WHERE id='$id'"); if (!$titleinfo) { exit('<p>Error retrieving information from database.<br />'. 'Error: ' . mysql_error() . '</p>'); } while ($info = mysql_fetch_array($titleinfo)) { ***print out title info *** } I would change it to something like >$titleinfo = @mysql_query("SELECT title, year, edition, hddvd FROM dvd_reviews WHERE id='$id'"); if (!$titleinfo) { exit('<p>Error retrieving information from database.<br />'. 'Error: ' . mysql_error() . '</p>'); } $num_rows = mysql_num_rows($titleinfo); //if query result is empty, returns NULL, otherwise, returns an array containing the selected fields and their values if($num_rows == NULL) { *** print out whatever you want on your 'not found' page *** } else { while ($info = mysql_fetch_array($titleinfo)) { ***print out title info *** } }
  21. On your account, I would add the following to your .htaccess >RewriteEngine On RewriteCond %{HTTP_HOST} !^your_domain_name.com$ [NC] RewriteRule ^(.*)$ http://your_domain_name/$1 [R,L] Which basically says, if the person hitting your site is not using your_domain_name.com then it redirects to use that domain name. ( Of course you need to change your_domain_name.com to swiftbooks or whatever it is.
  22. Thanks for the update - I'm glad things are working reliably for you now
  23. It takes a few weeks for the latest stable versions to make their way into fantastico.
  24. Your files can be moved from a subdomain here, to a new account and domain here fairly easily - yes.
  25. For the host put 'localhost' And yes, the username and password are as you created in cpanel. Remember that the database and user both have your cpanel prepended to them Database = 'cpanelusername_dbname' user = 'cpanelusername_dbuser'
×
×
  • Create New...