Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited


Profile Information

  1. Open "includes/functions/html_output.php" and find "tep_href_link('imagemagic.php'". On this line, replace all three "&" by "&". That sould do it! ;-)
  2. Here is my few comments and remarks about this beautiful new OsCommerce3.0a4! It may includes things that will be fixed in beta 5 and 6, but anyway I still wrote everything I remarked. Sorry for my poor English... INSTALLATION - Should list _all_ directories that have to been writeable by the server. In my cases "images/" was writable, but not all its sub-directories. Step 1 - Database - Add an example text for each fields. "Server: localhost or", "Username: root", etc. - Pre-input "localhost" in the Database Server field - Explain how to choose between Database Types (MyISAM, InnoDB, MySQLi) Step 3 - Store Settings - Explain where Store Owner Name will be used (in mails header, in store information pages) Step 4 - Finished - Is opening links in a new window really needed? ADMINISTRATION General - Clicking on any row should do a default action. In my case, I think it would be really easier if clicking, a single time, anywhere on the row could edit it. (icons are small, we loose time to move mouse until them! ^_^) - Pages should have their icon (shown in the horizontal menu) shown at the left to their name. - HTML <title> should be defined after the page name for each pages, not a single "osCommerce Administration Tool" but a "GeoIP Modules - osCommerce Administration Tool". Administrators > Edit - When "Global Access" is checked, others options should be disabled, no? Configuration: My Store Country - Inform (and link to) that we may also want to change "Country of Origin" (in Configuration: Shipping/Packaging) Zone: - It would be quicker to have two menu: one for the country and one for the zone of the selected country. (just like how it's in Zone Groups: Florida) - Country should be automatically selectioned from current country and its zones showned. Configuration: Customer Details - City Minimum requirement should be of 1 or 2 by default, but not 4. There is a city in France named "Pau", and name of cities in Japanese may have a single or two characters (in kanji, for example "燕") (Source Wikipedia) Configuration: Stock - Instead of marking with "***" out-of-stock products, why not simply add a CSS class to product name in cart? Credit Card Types, Payment Modules - Explain what is the meaning of background red color. Or make it easy to understand: disable all the line (light grey). Or show status by displaying an icon (red/green) left to the name? Languages - Explain the date format (%Y = Year "2007", %m = Month "12", %d = Day "31", etc.) - Accept the space as a valid Thousands Separator (French language: "12 345,67"). But replace a single " " by the HTML code " " - This new language system is great. But we cannot anymore include some PHP code in our languages definitions... Is there no way? For example I used it to display cheers for Christmas. Languages: English - Should provide a search field to find strings without having to open all definition groups. Countries - Add a search field to find entries without having to display each pages one after another. - Explain the Address Format (somes entries have a empty field) Categories - Adding a shortcut "add a new product to this category" could be helpful. - Category image is resized by HTML, not by the new thumbnail system. - "maximum_file_upload_size" is not defined. (already noticed in the second post of this thread, ok) - Just like we have for products, it would be great to define a keyword for categories which would be used in the URL instead of cPath. (again, this keyword should be automatically defined after the category/product's name until user change it eventually) - [bUG]: Moving a category to itself failed with: Products - If there is only one language, maybe it's not needed to display languages flags and various code (toggleDivBlocks() & toggleClass() in previous mode) - When duplicate a products, it should by default select the current main category and propose to duplicate (instead of link) the product. (We can already link products directly inside the products edit page) - We would like to be able to batchEdit, at least status, names, prices and basic data. Products > Edit mode: - explain what are the meanings of not obvious fields like "Keyword", "Tags", "URL". Also explain how/where they will be used. This could be done by adding a "?" icon near the field label. - [bUG]: Calendar (for Date Available:) is shown below the div (class="tab-page") which have a "z-index: 2" when the calendar don't have it defined. - [bUG]: images are not showing at all ("[icon_progress_ani] Loading images from server.." is displayed instead). Because of this, I can't add/change image to new products. (But catalog side does display the sample product's image (Pro PHP Security) without problem) - [bUG]: if when saving there is an error ("This product keyword is already in use"), the updated product description is lost and reset to the previous one! - [bUG]: A product can have an empty name! - Product Key should be automatically defined (from the title or the model?) if user don't specify it or until he specify it. - (Pressing "Enter" when focus is in a field does not validate the editing. Must click on Save button.) Customers new management is great! - [bUG]: In address book, icon's title text is not defined "icon_telephone" (for phone) and "icon_print" (for fax!) - In the same way we can insert a customer by ourself, it should be also possible to insert an order for him. - Having a way to know how many orders (and a link to them) a customers done would be great. Image Groups - Should have an option for watermarking somes images sizes Services - Reviews: explain what is the "Review Level" and their codes 0, 1 and 2. Same for codes for "Moderate Reviews". - Session: Explain why we would like to Check SSL Session ID, User Agent and other things. Same for Regenerate Session ID. - [bUG]: Category Path: even if we disable Number Of Products In Each Category, there is still a "(0)" displayed after the category name! Orders - We should be able to edit every parts of an order (add/remove/edit products, address, payment method, prices, etc.) Templates - [bUG]: When I tried to make the Table Based Template the default one, it replied this (but made it the default template anyway) - [bUG]: Anyway, it seems table based template is not finalized, as the catalog site is quite broken! All the page is full of: Templates Modules: Boxes - [bUG]: After installing "Ordering Steps", all boxes names strings becames "box_best_sellers_heading" or "box_order_history_heading", both admin and catalog sides (all languages strings in boxes are not find, others -- not in boxes -- are ok). In the admin, only "Ordering Steps" and "Templates" are still translated in the list of boxes. If I install this two modules, their names become "box_tell_a_friend_heading" and "box_ordering_steps_heading". The page "Template Modules Layout: Boxes" does not have this problem. (going to index.php?languages=1 and updating "modules-boxes" and "modules-content" restored languages definitions) Template Modules Layout: Boxes - [bUG]: Page Specific icon's title is not defined: displays "icon_checkbox". (same on "Template Modules Layout: Content") Administrators Log - Sometimes it does not provides enought information on what has been changed: "osc_configuration.configuration_value 2 1" don't help me so much. (but most are well defined) - All of this fields should provide a way to directly go to the page where we could change back the value. - Maybe its not consistent with the rest of the admin interface to have both the "i" icon and the module name (with a folder icon in front) linking to the same page. Database Backup Manager - If available it could also provide the TAR, TAR.GZ and TAR.BZ2 compression. Banner Manager - I wonder if there is a real need for a banner system, when great offer like http://www.openads.org/ exists. It would be more efficient to include this system. - Anyway, one point that could be usefull is that the banner could be displayed after the current language of the customer. Display the English version banner for en_US and the French one for fr_FR, but still it's the same banner, only image change. File Manager - Just like it does for "Upload" and "New Directory", deny to create "New File" when directory is not writable. Newsletter Manager - Again, it should at least have a language separation feature (maybe in beta5 or 6?) - I have one customer subscribing to newsletter, but it still shows "Recipients receiving this newsletter: 0" when I want to send the newsletter (products notifications) and I have only choice of "Back" or "Cancel" buttons. Isn't this used to notify customers of a choice of new products? (it worked when I changed module to "newsletter" instead of "product notifications"). Price or availability update notification should be done automatically once a day (per exemple). Who's Online - [bUG]: Display this before the visitors table: Maybe because my IP is Statistics - Again, isn't it wrong with the admin interface logics in others pages to have both module name and action's icon who goes to the same page? - It would be very useful if there is also an automatic mail notification for low stock products. CATALOG CSS: - CSS classes should have a meaningful name (ex. not "smallText" but "products_model" for the products model on products page) Create an Account - Should confirm account creation by sending a link by mail: many customers don't know their own mail, make mistake when they input it or simply just want to play with your shop and write a false email (like "aaaa@aaa.com"). We don't want to count thoses accounts as potential customers. - if "Gender" is optional, it should have a third option givint the customer an option to pass the question (if he clicked on Male or Female then he couldn't cancel this whithout reloading the whole page) - State should be displayed as soon as Country field is changed (with some javascript magic) Account - Should display the "My Orders" box only if the customer have actually made one or more orders. Shopping Cart - [bUG]: In the product listing: "Pro PHP Security (Top Category)". But why "Top Category" is diplayed? (this product is in "Books > PHP" category) Checkout - There should be a "chronological ruler" when ordering, showing current step among total steps ("Step 2 of 5"). OsC2.2 had this -- but it was hard to see (too low in page layout) and not so well designed (choice of colors and images) - "Your Recent History" should not be shown while customer is ordering! This moment is crucial, so we must not give him any way to stop in the middle of the order. ;) - Should include order number in the subject of all mails related to orders, from the first confirmation mail (not "Order Process" but "Shop Name: Your Order #34 in process") but also for any mail sent from the admin related to this order (not "Order Update" but "Shop Name: Update to Your Order #34"). - [bUG]: If there is no products model then there should not have " ()" right to the product name in the confirmation mail (cf. includes/classes/order.php line 374) - [bUG]: For a new order, the Status History (both in admin and catalog) show two status made at the same time: The default status is "1/4 Pending" (osID:1), ok, but why "4/4 Shipped" (osID:4) also appears?? This two status are done on any new order, even if the customer did not write a comment. - [bUG]: Mail sent about an order from admin is bad formatted (end-of-line "\r\n" seems to be dropped): Reviews - [bUG]: When writing a review the constant ENTRY_NAME is not defined (products.php?reviews=new) Cookies - When trying to access checkout.php/shipping I'm redirected to info.php/cookie - Should also provide information on how to enable cookies for Firefox and Opera, at least, no? (remark that this message is displayed to me althought I have cookies enabled without any restriction. I also had this problem with OsC2.2... I have to disable "Force Cookie Usage" for being able to create an account, checkout, etc.) Debug - Is it normal that there are two SQL queries not included in the "Number of queries" counter? Questions - Where is the "Display Cart After Adding Product" option? (it was in "My Store" in OsC2.2) - Will it be easily possible, and via admin interface, to make as much info.php's pages as we want? (just like "info.php?contact" and so on) Sorry for this long post, but I hope it will help! Anyway, I didn't said it earlier, but as far as my coding level let me see, that's a wonderful work! Gokurosama!
  3. Have you a file named "includes/languages/english/FILENAME_LOGIN" on your server? No, of course, and the error message tells you. Did you defined FILENAME_LOGIN in the "includes/filenames.php" file? Mine contains this: [...] define('FILENAME_LOGIN', 'login.php'); [...] I guess you forget to update this file. And maybe other. Check your installation of this contrib, it don't seems to be complete.
  4. In my "admin/includes/database_tables.php" I have the following: define('TABLE_ADMIN', 'admin'); define('TABLE_ADMIN_FILES', 'admin_files'); define('TABLE_ADMIN_GROUPS', 'admin_groups'); Good luck.
  5. Did you search in the forums? A simple search gives this: http://forums.oscommerce.com/index.php?act...min_members.php that gives you this: http://forums.oscommerce.com/index.php?sho...70entry383009 noisebox wrote: HTH
  6. You probably forget to upload the file admin/includes/functions/password_funcs.php which is supposed to contains the function tep_validate_password() Or you didn't updated your admin/includes/application_top.php with a line like require(DIR_WS_FUNCTIONS . 'password_funcs.php');
  7. Have you tried this? http://forums.oscommerce.com/index.php?sho...ndpost&p=265353
  8. I don't know if this could be of any help to anyone, but hey, at least it's here. If you want to directly go to a page of your admin directory and are not yet identified, then you are redirected to login.php and have to say again where you want to go after being autenthificated. Here is a little patch for remembering where you wanted to go and taking you there. admin/includes/functions/general.php Modify the tep_admin_check_login() function like this: Before: if (!tep_session_is_registered('login_id')) { tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } else { After: if (!tep_session_is_registered('login_id')) { $redir = urlencode("http://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"]); tep_redirect(tep_href_link(FILENAME_LOGIN, 'redir=' . $redir, 'SSL')); } else { admin/login.php Around line 50, modify like this: Before: tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT)); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } After: tep_redirect(tep_href_link(FILENAME_ADMIN_ACCOUNT)); } else { $redir = urldecode($HTTP_POST_VARS['redir']); tep_redirect("$redir"); } And around line 100, modify like this: Before: <tr bgcolor="#080381"> <td colspan="2" align="center" valign="middle"> <?php echo tep_draw_form('login', 'login.php?action=process'); ?> <table width="280" border="0" cellspacing="0" cellpadding="2"> <tr> After: <tr bgcolor="#080381"> <td colspan="2" align="center" valign="middle"> <?php echo tep_draw_form('login', 'login.php?action=process'); ?> <?php if ($HTTP_GET_VARS['redir']) { $redir = urlencode($HTTP_GET_VARS['redir']); echo '<input type="hidden" name="redir" value="' . $redir . '">'; } ?> <table width="280" border="0" cellspacing="0" cellpadding="2"> <tr> If someone see a better way to know the $redir contents (if https and not http, etc.), please say it. Hope this will help. (sorry for my english...)
  9. You simply have to change in the file admin/login.php tep_redirect(tep_href_link(FILENAME_DEFAULT)); With something like this //tep_redirect(tep_href_link(FILENAME_DEFAULT)); tep_redirect(tep_href_link(FILENAME_CATEGORIES)); Where you'll change "FILENAME_CATEGORIES" by the constant name of where you want to take your admins. (cf. the file admin/includes/filenames.php) And if you have time, you can not so hardly tweak the admin/index.php file for showing only the authorized areas. Testing can be done by using the code in admin/includes/functions/general.php, the function named "tep_admin_check_login()". But I have no time... ^_^; HTH -- moku
  10. I think you should not comment out this lines if you use SSL: # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> I dream a World where only free software like Mozilla were used... but actually, we also have to look at MSIE... :(
  11. See there: http://forums.oscommerce.com/index.php?sho...60entry265353 HTH
  12. I'm not sure it's a good way to do it, but try this: Replace in admin/includes/functions/sessions.php: if (STORE_SESSIONS == 'mysql') { if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { $SESS_LIFE = 1440; } With: if (STORE_SESSIONS == 'mysql') { # if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { # $SESS_LIFE = 1440; // 3600 is 1 hour, so 36000 is 10. $SESS_LIFE = 36000; # } It works. There is time out after 10 hours of idle time (I tried with 10 secondes, but it must be equal with 36000)
  13. Right, very useful idea! Thanks! but... ;-) > Oh one more thing: in header.php it says tep_output_warning( twice, this gives me an error message on 2.2 ms2. I think it should say tep_output_string( , > at least it works for me that way Okay, I notice this think me too (replace tep_output_warning with tep_output_string) but tep_output_string returns nothing at all! This will return null chain: tep_output_string(TEXT_BEFORE_DOWN_FOR_MAINTENANCE . PERIOD_BEFORE_DOWN_FOR_MAINTENANCE); and this will work well: echo TEXT_BEFORE_DOWN_FOR_MAINTENANCE . PERIOD_BEFORE_DOWN_FOR_MAINTENANCE; I think it's not very "osCommerce's way" to do thinks, but I don't understand why tep_output_string doesn't work with me ? The strings are : TEXT_BEFORE_DOWN_FOR_MAINTENANCE = "AVERTISSEMENT : Le site sera ferm? pour maintenance dans la p?riode du " PERIOD_BEFORE_DOWN_FOR_MAINTENANCE = "28/07/2003 01h -> 02h" If anybody have any explication, it'll be appreciated :-) (sorry for my bad english...)