Latest News: (loading..)

Ethan1701

Members
  • Content count

    172
  • Joined

  • Last visited

1 Follower

About Ethan1701

  • Birthday 07/17/1980

Profile Information

  1. I'm having the same problem. I don't at the moment have the option of testing, but I suspect this might only occur when a customer logs in and goes directly to the checkout. No way of confirming this - this is what happened now. I'm getting a confirmation email about the order, and I am getting the money. However, the order doesn't appear in the database. Please help! -Ethan
  2. I've been having the same problems. My server doesn't print the error messages to the screen, so I never know what the problem was until now. After reading your error message, I found a solution to the problem: replace <?php for ($i=1; $i<32; $i++) { line378: $dob_day[] = array('id' => sprintf('%02d', $i), 'text' => sprintf('%02d', $i)); } for ($i=1; $i<13; $i++) { $dob_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); } $today = getdate(); $first_year = $today['year'] - 77; $last_year = $today['year'] - 10; for ($i=$first_year; $i < $last_year; $i++) { $dob_year[] = array('id' => sprintf('%02d', $i), 'text' => sprintf('%02d', $i)); } echo tep_draw_pull_down_menu('dob_day', $dob_day); echo tep_draw_pull_down_menu('dob_month', $dob_month); echo tep_draw_pull_down_menu('dob_year', $dob_year); echo tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''; ?> with <?php for ($i=1; $i<32; $i++) { $dob_day_arr[] = array('id' => sprintf('%02d', $i), 'text' => sprintf('%02d', $i)); } for ($i=1; $i<13; $i++) { $dob_month_arr[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); } $today = getdate(); $first_year = $today['year'] - 77; $last_year = $today['year'] - 10; for ($i=$first_year; $i < $last_year; $i++) { $dob_year_arr[] = array('id' => sprintf('%02d', $i), 'text' => sprintf('%02d', $i)); } echo tep_draw_pull_down_menu('dob_day', $dob_day_arr); echo tep_draw_pull_down_menu('dob_month', $dob_month_arr); echo tep_draw_pull_down_menu('dob_year', $dob_year_arr); echo tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''; ?> What I did was replace the arrays dob_day[], dob_month[] and dob_year[] with arrays by the same name with the suffix _arr. The reason for this, is that when the page calls for itself (as it does if the email address exists), it receives variables from your browser by the same names as the arrays. The error you got tells us that it can't turn a string variable into an array. It was trying to, because they have the same name. So giving the arrays a new, distinguishing name, solved the problem. You can replace your code with the one I put here. I'll ad a new version to the contribution for the next generations. -Ethan, doing my share.
  3. Hi, I just installed this contribution, and it went perfectly! I'm releived, grateful, and rather surprised that the default for osCommerce is globals = on. It's so simple to deactivate them. Thanks a million to all those who worked on this! -Ethan
  4. maniac101, it's good to know I'm not the only one with this problem. I think I'm using MS2 (how could I check?). Let me know if you make any progress, or if you'd like me to do anything to help. -Ethan
  5. I've installed a 'who's online' enhancement, and it has given me a few ideas for additional enhancements I'd like to see, but I'm not sure how to do on my own. Here are the ideas I've had: compair user ID to robots.txt. If the user is a bot, color the line is color A detect my IP. color my sessions in color B Control these colors via stylesheet. onder the list, summerise with: ........................distinct..............total customers.............5......................7 search engines......2......................3 Administrator........1......................2 total.....................8......................12 If a customer has something in his shopping cart, color session in color C Can this be done? I'd be happy to help, but I have no idea where to start. -Ethan
  6. I don't have the sID killer installed. Might this have to do with one of the settings in admin-> configuration-> Sessions? I have everything set to false, except for 'Prevent Spider Sessions', which is true. -Ethan
  7. could you link to your thread? maybe one of the folks who had not had this problem could share their file sources, and we could find the problem... -Ethan
  8. Jeese, I didn't expect so many replies... ;-) I'm sure other folks here use this contrib, and have encountered this problem. Can anyone please lend a hand? -Ethan
  9. Hi, In the past couple of weeks, my SE raing has been dropping, till now it's all gone. I traced the problem to the autologin contribution: if there's no cookie (which SE won't have), they get forwarded to the logoff page The hearders here suck, and that's besides there not being any products on this page. Can someone please briefly explain to me why the user is directed to the logoff page in the first place? Is there a nkown fix for this issue? for the meantime, I'm disabling the autologon, but I'd like to get it to work properly, so I could reactivate it. Please help, -Ethan
  10. I find this site useful for IP whois's: http://www.arin.net/whois/ works better then Ripe... -Ethan
  11. A quick question: In the current version, clicking on a customer's name will open the customer list page, searching for his last name. How can this be altered so instead it goes into the specific customer's info page, based on the customer ID? -Ethan
  12. oakhill, I installed the enable/disable contribution a few weeks ago, over a very moded osC. I had to edit the code of all the contributions i had previously installed, but it's not too dificult. This will take some basic SQL understanding, and a lot of patience: The enable/diasable contribution (from here on to be known as E/D), adds a column to the categories table, called categories_status. In all the queries you run, you have to make a condition on this column, as the E/D SQL statements would show. any query you wish to edit, which already refers to TABLE_CATEGORIES is easy to fix. In it's WHERE clause, add the following condition: c.categories_status = '1' Most queries do in fact read from this table, among others, but if you encounter one that doesn't you will have to add the table to the FROM clause (from " . TABLE_CATEGORIES . " c, " ), and in the WHERE clause, use the code I gave you above, and link the table to any other tables by the common fields, usually being the categories_id (WHERE c.categories_id=cd.categories_id, for example) This ought to fix all the problems you have in this matter. -Ethan
  13. Hi, I installed the enable/ disable category contribution. It has you alter the Queries to the database, to reflect the change it made. It verifies that the cetegory status is '1'. This works great, but not perfect. I've installed some other contributions, and I need to incorporate this change into them. I'm haveing a hard time especialy with the all_prods contribution. the query in it is $listing_sql = "select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' order by p.products_price, pd.products_name"; I need to somehow add to this a line basically saying where c.categories_status = '1' and... , where as usual, C is TABLE_CATEGORIES. I will also need help finding how to add this change to the categories dropdown list in the advanced search. Thanks! -Ethan
  14. THat's the beauty of open source (or Free software, as you like). leave the code lieing around, and someone else is bound to use it and make something even better out of it! Glad to have helped. -Ethan (who the fog is Ed?)
  15. Ed, I could never get the search engine safe URLs to work. it would do what you described to every parameter it would pass... I don't know how it's meant to work, but it shouldn't be to hard to fix this.. -Ethan