Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rabbitseffort

Archived
  • Posts

    1,339
  • Joined

  • Last visited

Everything posted by rabbitseffort

  1. yep--sorry, I missed adding that in the directions I guess--thanks again
  2. did you make sure that jims suggestion was not the issue--if you could post the file here that will help
  3. Thanks for the post Jim--I thought a space may have been his issue
  4. a quick thought would be did you change the number 2 to match your status id? Maybe post the file here that is giving you trouble
  5. The new download has been added--it is now only a read-me file with complete install directions--ignore the first downloads--the files I had included were based on my shop and had some mods--now the install directions will easily walk you thru changing your own files
  6. Until I upload the new file, here is the jist of it, You can make a copy of your orders.php and name it orders2.php for this to work with your specific file structure: in orders.php find this: where o.orders_status = s.orders_status_id change to this: where o.orders_status != 2 and o.orders_status = s.orders_status_id and in orders2.php find this: where o.orders_status = s.orders_status_id and change to: where o.orders_status = 2 and o.orders_status = s.orders_status_id in both files you will make the change two times. Change the number 2 in the changes to match the order_status_id to match the id for your status.
  7. Yes--sorry there are mods--thanks for bringing it to my attention--I will post the manual changes in a new package later tonight--I will update here when I do
  8. In case a support thread is needed, here it is--the contribution can be downloaded HERE
  9. actually, at least temporarily, you can go to HERE to download the psd files
  10. Hi Eric--if you PM me your email I could email the psd to you--just to note, yes osplayer will work nicely with this page--but he is also working on a very nice one (different look) that has osplayer installed already, so you may wish to wait---or not, go ahead and have fun with it!
  11. Thanx--it is set now--the only thing I noticed now is the button_search which you include should be in includes/languages/english/images/buttons/ you have it in catalog/images right now--but most people will figure that out Good work
  12. the arrow gif's are in the wrong folder... the corner_left.gif and the rest of those gifs should be uploaded to the images/infobox folder
  13. Hello--he has asked me to make a support thread for this contribution, it can be downloaded HERE: There are a few small issues with it so we felt best to make all the needed comments here for others to have the help they need.
  14. nevermind, it didnt go well, I undid all the file changes--until there is a newer complete version writtin up I will have to leave this alone, not enough support here really, thanks though, looks to be a great contribution once I can get it to work.
  15. Hello, I just installed version 1.1.5 and all seemed to go well except the sql query, this is what sql said with the error: #1062 - Duplicate entry '16' for key 1 and this is the line it refers to: SQL query: INSERT INTO configuration_group VALUES ( 16, 'Slave Products', 'Slave Product Listing - configuration options', 16, 1 ) any thoughts? Is there a proper sql file that I need from an update? I didnt see one. Thanks in advance!
  16. so here is my current problem--I am sure to discover more but this is what I have noticed so far--please tell me where to change this text--I cant find it for the life of me
  17. all it seemed to be was application top didnt get written properly, it is good now after re-writing it, thanks
  18. so here is my error--all seems to work ok though--the shop still seems to function although my footer is gone and this is the error on the footer section now: Fatal error: Cannot redeclare tep_update_whos_online() (previously declared in /home/mindzeye/public_html/catalog/includes/functions/whos_online.php:14) in /home/mindzeye/public_html/catalog/includes/functions/whos_online.php on line 13 I didnt touch the whos online file so It must be one of the includes files that I did touch. You can see at My Webpage there are a couple other small errors but I think I can work those out--what might I have missed to cause this error? I used my original english.php file and just added what needed to be added from the file in the package so I dont think that is it. Any guidance is definitely appreciated! :thumbsup:
  19. can someone tell me which contrib I should use from the crazy list on the ccgv contribution page? It looks like a lot of updates and corrections and very confusing--I just want to do a fresh install of ccgv on my shop that will work the first time---please advise me, thanx in advance! Or all I really want to do is give my customers a code to use at checkout for something like 10% off--is there a contrib that does that? I dont need to sell gift coupons but do want to offer a discount at checkout :thumbsup:
  20. here is the code from the database file, maybe you can look and see what is wrong? I have a feeling that maybe it is in application_top that may be causing trouble? Please help if you can! Thanx <?php /* $Id: database.php,v 1.23 2003/06/20 00:18:30 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { global $$link; if (USE_PCONNECT == 'true') { $$link = mysql_pconnect($server, $username, $password); } else { $$link = mysql_connect($server, $username, $password); } if ($$link) mysql_select_db($database); return $$link; } function tep_db_close($link = 'db_link') { global $$link; return mysql_close($$link); } function tep_db_error($query, $errno, $error) { die('<font color="#000000"><b>' . $errno . ' - ' . $error . '<br><br>' . $query . '<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>'); } function tep_db_query($query, $link = 'db_link') { global $$link, $logger; if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { if (!is_object($logger)) $logger = new logger; $logger->write($query, 'QUERY'); } $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { if (mysql_error()) $logger->write(mysql_error(), 'ERROR'); } return $result; } function tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') { reset($data); if ($action == 'insert') { $query = 'insert into ' . $table . ' ('; while (list($columns, ) = each($data)) { $query .= $columns . ', '; } $query = substr($query, 0, -2) . ') values ('; reset($data); while (list(, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= 'now(), '; break; case 'null': $query .= 'null, '; break; default: $query .= '\'' . tep_db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ')'; } elseif ($action == 'update') { $query = 'update ' . $table . ' set '; while (list($columns, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= $columns . ' = now(), '; break; case 'null': $query .= $columns .= ' = null, '; break; default: $query .= $columns . ' = \'' . tep_db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ' where ' . $parameters; } return tep_db_query($query, $link); } function tep_db_fetch_array($db_query) { return mysql_fetch_array($db_query, MYSQL_ASSOC); } function tep_db_result($result, $row, $field = '') { return mysql_result($result, $row, $field); } function tep_db_num_rows($db_query) { return mysql_num_rows($db_query); } function tep_db_data_seek($db_query, $row_number) { return mysql_data_seek($db_query, $row_number); } function tep_db_insert_id() { return mysql_insert_id(); } function tep_db_free_result($db_query) { return mysql_free_result($db_query); } function tep_db_fetch_fields($db_query) { return mysql_fetch_field($db_query); } function tep_db_output($string) { return htmlspecialchars($string); } function tep_db_input($string) { return addslashes($string); } function tep_db_prepare_input($string) { if (is_string($string)) { return trim(stripslashes($string)); } elseif (is_array($string)) { reset($string); while (list($key, $value) = each($string)) { $string[$key] = tep_db_prepare_input($value); } return $string; } else { return $string; } } ?>
  21. My store does seem to function just fine, but the admin area is completely unusable right now...I really need help asap. I dont want to restore the backup, I want to use the contribution. I have orders coming thru just fine, but I have to access them thru phpmyadmin, I can not use the admin area of my osc!!!! Please help me with the above error someone!
  22. I just tried to install the header tags controller and all seemed fine until I went to my admin at the end of the install and I get this error when I click anything and also there is no link to click for header tags in the left column like there should be--here is the exact error Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/mindzeye/public_html/catalog/admin/includes/functions/database.php:13) in /home/mindzeye/public_html/catalog/admin/includes/functions/database.php on line 13 what might I need to do? Please advise, thanx
  23. you will need a merchant account at least, then a card processor. I suggest contacting one of the bigger banks like Wells Fargo and letting them know what you need and they will be more than happy to help you. Hope this helps! :thumbsup:
×
×
  • Create New...