Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Profile Information

  1. Kenja


    I've installed the contribution on one of my sites and overall I think it's pretty slick. However, I do have one issue. I've noticed the log file and the reference file in several places now on my server. It appears those files are generated based on where the command is run from or something. In my case, I found copies in the catalog directory, the admin directory, and the directory where my cron script is located. Having those files in the catalog directory is a problem because it exposes the full directory structure and script names of my entire site in a public way. I'm not sure what I did to get the files to show up there, but the script should be modified so that the files are always stored in the admin directory where they can be protected. Also, the reference file is a php file, but if you load it in your browser, it displays the contents of the file. It may as well be a text file if you're going to do it that way... The contents of that file should probably be contained inside php tags so that the information is there, but not accessible directly from the browser. It is possible I've configured my site incorrectly, so maybe this is mute point, but if not, it would be nice to figure out how to solve these issues, as the contribution could potentially make the site less secure.
  2. We're looking at creating customized packages of products for our customers. We'd like the ability to group multiple products into a "package" with it's own price. However, when the package gets added to the cart, I want it to add the individual products and apply a "package discount" to the order. Does anything like this exist? I thought I saw something like this a couple years ago, but can't seem to find it again.
  3. Kenja

    cost of authorize.net services?

    I took a look at Costco's merchant offering and it looks pretty good. Here is what they quoted me: 1.99% + $0.27 for qualified cards 3.51% + $0.31 for non-qualified cards (foreign, gov't, corporate) If you sign up for a costco executive membership, the $4.95 monthly billing fee is waived and the $25 application fee is waived. They make you sign a 2yr agreement and it costs $95 to terminate early. They also require a $20 minimum monthly volume. It's the best I've come across so far and it is a reputable name.
  4. I installed the contribution and am shocked at how the contribution handles adding and deleting pages. I was debugging the contribution in Zend Studio and I kept getting all these "file was modified outside this program" messages. After playing with it for a while and accidentally corrupting the header_tags_controller.php catalog includes file, I figured out what was going on. Each time you add or delete a new file in admin the HTC code actually cuts and pastes code out of the php file. No offense, but isn't this the perfect job for a database table? There is no need to have the server editing php files behind the scenes to account for dynamic content. Just add a new table to the database and store the filenames there instead. I wasn't planning on dedicating time to this contribution other than installing it, but I feel inclined to fix that now. I use my php files across two sites and besides not wanting to have scripts modifying my files in general, I need the files to apply to multiple sites. I also store my php files in SVN, so any changes I make on the live site would be overwritten each time I checked in an update.
  5. Ok. I finally dug into the class and figured out why it wasn't working. Hopefully this will help other unsuspecting installers avoid the nightmare I've been through. If your website is on a shared server and you use PHP CGIwrap this contribution will not work out of the box. The stock redirect functions inside the SEO class generate a $this->parsed_uri['path'] that is nonsensical - i.e. "php4.cgi" instead of "index.php?cPath=34" That path is then compared to the page names managed under the seo contribution and when it doesn't match, the redirect doesn't happen. I ended up hacking it to get it working. Also, the check_seo_page function expects a definition for SEO_URLS, but it is not defined anywhere. Instead of defining it, I just did an if(0) to get around it. Below are the new versions of the functions. function check_seo_page(){ if(0){ //originally was if(!defined( SEO_URLS )) $this->is_seopage = false; //echo "not defined"; //went here. SEO_URLS is not defined }else{ if($this->attributes['SEO_ENABLED'] == 'false'){ $this->is_seopage = false; }else{ if(!in_array($this->uri_parsed['path'], $this->attributes['SEO_PAGES'])){ $this->is_seopage = false; }else{ $this->is_seopage = true; } } } } # end function check_seo_page function check_redirect(){ $this->need_redirect = false; $this->path_info = ltrim(getenv('PATH_INFO'), '/'); $this->uri = ltrim( $_SERVER['REQUEST_URI'], '/' ); $this->real_uri = ltrim( $_SERVER['SCRIPT_NAME'] . '?' . $_SERVER['QUERY_STRING'], '/' ); //generates: cgi-sys/php-cgiwrap/whiteman/php4.cgi?products_id=29 if(strlen($this->path_info) > 0){ //was originally: $this->uri_parsed=parse_url(basename($_SERVER['SCRIPT_NAME']) . '?' . $this->parse_path($this->path_info) ); //generates: php4.cgi?product_info.php which doesn't work $this->uri_parsed=parse_url(basename($_SERVER['REQUEST_URI'])); // generates: product_info.php?products_id=29 which does work... }else{ $this->uri_parsed=parse_url(basename($_SERVER['REQUEST_URI'])); } $this->need_redirect(); $this->check_seo_page(); if ( $this->need_redirect && $this->is_seopage && $this->attributes['USE_SEO_REDIRECT'] == 'true') { $this->do_redirect(); } } # end function
  6. Have you noticed that nobody has replied? Get used to it. If you're looking for support, you are in the wrong forum. This one is only for asking unanswered questions. Lots of them. At least that is what I've found after asking four of them myself without any response what-so-ever. If anyone does find a place where people do offer support for this contrib, let me know, because I could use some, too. Even if it is paid support... Whoever banned Chemo from this forum should be forced to support this damn thing. Way to go dude.
  7. I made the mistake of installing this on a live store. I have not been able to get it to work. I installed 2.1c and the urls were working, but I couldn't get redirects to work properly despite hours upon hours of searching and testing. After two weeks of google seeing my duplicate pages, I finally upgraded to 2.1d off of Chemo's website and now I get "file not found" for every URL in my web directory except for index.php. If I put the rewrite code in the .htaccess code I get internal server errors on every page because the urls aren't there. Needless to say, I am a very unhappy camper. I would like nothing more than to remove this from my website and forget that it ever happened. Does anyone know how to do that? Chemo's wiz-bang installer seems like a great idea until it totally hoses your website and you want to extract it. This is also one of the most popular AND least supported contribs I have ever installed. There are 5x as many questions as there are answers in this forum. If anyone is thinking about installing this I would recommend against it unless you have a couple weeks to futz around with it. I asked three reasonable questions and got exactly zero answers.
  8. I wanted an admin payment module to accompany the Manual Orders contribution but couldn't find one. I finally just wrote it myself. This allows you to have an employee charge a customer without giving them full access to your authorize.net account. It also saves a lot of typing even if you're the one that manually running cards through the authorize.net web terminal. It is a quick and dirty implementation based on code from the Authorize.net module. When I say "quick and dirty", I mean that I didn't internationalize it. I hardcoded in english, US$ currency. It would be easy to adapt to any locale, though. Basically, the module allows you to enter the order number, the CC info, the amount, a description of the purchase, and click "process". The module sends the transaction to Authorize. The results of the transaction are shown on the screen after the card is processed.
  9. Sorry pressed reply by accident. Should now read: case 'deleteconfirm': if ($PHP_AUTH_USER==admin) { $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); tep_remove_order($oID, $HTTP_POST_VARS['restock']); tep_redirect(tep_href_link(FILENAME_ORDERS,tep_get_all_get_params(array('oID', 'action')))); } break;
  10. Find: case 'deleteconfirm': in orders.php and add: if ($PHP_AUTH_USER==admin) { }
  11. Hi. This is my fourth post to this forum without a single response back. I guess I'm either asking dumb questions or people just don't have time anymore. I'm going to ask one more question and hope that someone out there is listening that can help. I installed the contribution and it appears that the automatic redirects do not seem to be working. I have "Enable automatic redirects?" set to true. Here's what I expect the contribution to do: If a user types in http://www.myurl.com/product_info.php?products_id=25 I expect the contribution to forward the link to the new SEO friendly URL. Instead it just goes to the url I typed in. My concern is that google has my old URL and will find duplicate content on my site if I don't get redirects working right.
  12. I investigated some more and the line that is causing the error is: echo '<a href="' . tep_href_link($HTTP_REFERRER, tep_get_all_get_params(array('sort', 'page')), 'NONSSL', true, false) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; If I replace $HTTP_REFERRER with index.php or any other valid page it seems to work okay. Any idea why Ultimate SEO URLs would cause problems with a server variable like that?
  13. I installed this contribution on my site and it seems to work okay except that I now get an "Unable to determine the page link!" error when I try to search for a product in the quick find window. I scanned the forum for a solution, but didn't find one. It finds the product okay, but the error seems to happen after the product is displayed. This problem didn't exist before I installed the contrib. Also, I have "use search-engine safe URLs" set to false in the My Store control panel. Any ideas?
  14. Does this kill your google rank when you install it? I assume all your hard earned positions in google will now all be pointing to the wrong place now, right? I have put a lot of work into optimizing my site and while I'd love to put this contrib on my site, I'm hesitant to start over from ground zero. If I did, it would cause a big problem with my business. Any advice from people in the know?
  15. I didn't find anything that existed already, so I wrote my own module. If anyone is interested it is called - Authorize.net Manual Payment Kenja