Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dreaminggates

Pioneers
  • Posts

    66
  • Joined

  • Last visited

Everything posted by dreaminggates

  1. The Fast Checkout page loads the shopping cart itself, but nothing else. It gives an error: " Fatal error: Cannot declare class flat, because the name is already in use in /home/coyoteas/www/www/store/includes/modules/shipping/flat.php on line 13 ". Any ideas on how to fix this? I like the look of the Ajax cart and would like to use it.
  2. I have a question about this Addon. I've installed it in a v. 2.3.4.1, heavily modded site. It is running... sort of. My customers are racking up points by referring, doing reviews, and making purchases... but the points are all "pending." How do I approve them? (I set the auto-approve to 0 in the settings, so they would automatically be approved, but that does not work.) Also, isn't there somewhere I can view my customers' points, and add/subtract them?
  3. No, it's a fresh install. I made some active coupons, although once made they won't let me edit them (strange). And I made sure to put $50 in the shopping cart to test (since that was the minimum purchase for the coupons). I also found a bug that's very strange. I emailed myself a gift voucher, but when I clicked the link to redeem it, I received this error: Parse error: syntax error, unexpected ';' in /home/dreaming/www/coyoteas-store/catalog/gv_redeem.php on line 29 this is the line it's referring to: $gv_query = tep_db_query("select c.coupon_id, c.coupon_amount from coupons c, coupon_email_track et where coupon_code = '" . tep_db_input(($voucher_number) . "' and c.coupon_id = et.coupon_id");
  4. Thank you, that got the textbox to appear. However, the codes don't seem to work.
  5. okay I fixed that by manually adding those rows to the "coupons" table. I've installed all the rest of it, and now my question is.... Where do customers enter the discount code? Shouldn't there be a textbox on the checkout page?
  6. I am getting this error when I click "Coupon Admin": 1054 - Unknown column 'c.restrict_to_manufacturers' in 'field list' select c.coupon_id, c.coupon_code, c.coupon_amount, c.coupon_type, c.coupon_start_date, c.coupon_expire_date, c.uses_per_user, c.uses_per_coupon, c.restrict_to_products, c.restrict_to_categories, c.restrict_to_manufacturers, c.apply_method_products, c.apply_method_categories, c.apply_method_manufacturers, c.date_created, c.date_modified, cd.coupon_name, UNIX_TIMESTAMP(c.coupon_expire_date) as tmp_date from coupons c left join coupons_description cd on c.coupon_id = cd.coupon_id order by cd.coupon_name DESC limit 0, 24
  7. I have the same problem as the above person, and the posted code above this doesn't fix it. I have to manually enter the product's "Product Model" before Easy Populate will update from my external file. Easy Populate is only updating, not creating. I'm running osCommerce v.2.3.4.1 on Windows 10. EasyPopluate version 2.77a (although I've installed several versions and none of them function).
  8. Nevermind, I just dug into the php and wrote an exception for discounts. Took me 6 hours but it's done. lol
  9. Never mind, I dug deep into the code and wrote something to get it working :)
  10. Does anyone know if this creator is still around, for support, please? It looks like his website (myqbi.com) is gone. I've heavily modified this to work with my current installation, but no matter what I do, I cannot get it to recognize discount codes. It lists the discount code as an item (or perhaps a payment?), on the exported IIF file, but that line has no item name/description/account so QB cannot import it. Help, please? Anyone?
  11. Please can you help me install a simple popup that confirms, "Yes, that is a valid discount code." ? If it is NOT a valid code, it reloads the page with the error message. But if it IS valid, it says nothing... just goes to the next page. Where can I edit checkout_payment.php to put in such a confirmation popup? Thank you <3
  12. Thank you, I will look again at the SEO Reloaded "OpenGraph" module. But don't you have to have the entire mod installed and working, before the OpenGraph part will work? In the meantime, I just cobbled together a new chunk called happy_headers.php. lol It has yet another database call in it ... but all the other header modules I looked at do as well :-/ I wish I could combine all those database calls into one, but I simply don't know how.
  13. Update: Ok to add OpenGraph meta tags, I have modified this file :... /includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php and managed to output the OpenGraph tags using the existing code there, as follows: /** * Output the final meta tags */ public function output() { echo '<title>' . $this->title . '</title>' . PHP_EOL . '<meta name="description" content="' . $this->description . '"' . $this->html_end . PHP_EOL . '<meta name="keywords" content="' . $this->keywords . '"' . $this->html_end . PHP_EOL; $this->canonical(); // Added for OpenGraph echo '<meta property="og:title" content="' . $this-> title . '"' . $this->html_end . PHP_EOL . '<meta property="og:site-name" content="' . STORE_NAME . '"' . $this->html_end . PHP_EOL . '<meta property="og:type" content="product"' . $this->html_end . PHP_EOL . '<meta property="og:url" content="' . $this->canonical . '"' . $this->html_end . PHP_EOL . '<meta property="og:description" content="' . $this->description . '"' . $this->html_end . PHP_EOL . '<meta property="og:image" content="' . DIR_WS_IMAGES . $this->products_image . '"' . $this->html_end . PHP_EOL; } That works okay..., except the last line (in bold) does not create a valid image link. How do I pass image information to that chunk of code? I did update the database query to include the image name, in this file: .../includes/modules/kiss_meta_tags/modules/product_info.php. But I do not understand how to pass the retrieved image name into the kiss_meta_tags_class.php . What sort of syntax do I use, please? $this->products_image does not seem to work :(
  14. Thank you, but I've looked at header tags reloaded in the recent past, and cannot get it to work with this USU5 SEO Pro (or whatever they call it).
  15. Question, I would like to add additional meta-tags to my website, such as Opengraph. Which file(s) do I need to edit, in order to add extra tags please?
  16. This is a very useful contribution. Thank you! I have installed it in my store, which is running OSC v.2.3. There are a few issues, though. I'm not sure how to make it appear in the right or left-hand column. Any help will be greatly appreciated! :)
  17. Does anyone have a fix for this? I'm using v.3.1 and getting these errors at the top of the recover part page in Admin: Warning: mysql_num_rows() expects parameter 1 to be resource, object given in /home/...admin/recover_cart_sales.php on line 348 Warning: mysql_num_rows() expects parameter 1 to be resource, object given in /home/.../admin/recover_cart_sales.php on line 391 Warning: mysql_num_rows() expects parameter 1 to be resource, object given in /home/.../admin/recover_cart_sales.php on line 413
  18. Also I thought it might be helpful to post the part of the code which is triggering the errors, so here goes: (from admin > includes > functions > general.php, ) // Retreive server information function tep_get_system_information() { global $HTTP_SERVER_VARS; $db_query = tep_db_query("select now() as datetime"); $db = tep_db_fetch_array($db_query); @list($system, $host, $kernel) = preg_split('/[\s,]+/', @exec('uname -a'), 5); $data = array(); $data['oscommerce'] = array('version' => tep_get_version()); $data['system'] = array('date' => date('Y-m-d H:i:s O T'), 'os' => PHP_OS, 'kernel' => $kernel, 'uptime' => @exec('uptime'), 'http_server' => $HTTP_SERVER_VARS['SERVER_SOFTWARE']); // this is line 872 VV $data['mysql'] = array('version' => (function_exists('mysql_get_server_info') ? mysql_get_server_info() : ''), 'date' => $db['datetime']); $data['php'] = array('version' => PHP_VERSION, 'zend' => zend_version(), 'sapi' => PHP_SAPI, 'int_size' => defined('PHP_INT_SIZE') ? PHP_INT_SIZE : '', 'safe_mode' => (int) @ini_get('safe_mode'), 'open_basedir' => (int) @ini_get('open_basedir'), 'memory_limit' => @ini_get('memory_limit'), 'error_reporting' => error_reporting(), 'display_errors' => (int)@ini_get('display_errors'), 'allow_url_fopen' => (int) @ini_get('allow_url_fopen'), 'allow_url_include' => (int) @ini_get('allow_url_include'), 'file_uploads' => (int) @ini_get('file_uploads'), 'upload_max_filesize' => @ini_get('upload_max_filesize'), 'post_max_size' => @ini_get('post_max_size'), 'disable_functions' => @ini_get('disable_functions'), 'disable_classes' => @ini_get('disable_classes'), 'enable_dl' => (int) @ini_get('enable_dl'), 'magic_quotes_gpc' => (int) @ini_get('magic_quotes_gpc'), 'register_globals' => (int) @ini_get('register_globals'), 'filter.default' => @ini_get('filter.default'), 'zend.ze1_compatibility_mode' => (int) @ini_get('zend.ze1_compatibility_mode'), 'unicode.semantics' => (int) @ini_get('unicode.semantics'), 'zend_thread_safty' => (int) function_exists('zend_thread_id'), 'extensions' => get_loaded_extensions()); return $data; }
  19. Hi I've got a couple of issues. I'm trying to install EasyPopulate_v2_8_231 in my store, which is v. 2.3.3.4. Inside the admin console, when I click Catalog > Easy Populate, I get these errors at the top of the screen: Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'dreaming'@'localhost' (using password: NO) in /.(domain)./admin/includes/functions/general.php on line 872 Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /.(domain)./admin/includes/functions/general.php on line 872 (^ Note: ".(domain)." above is actually the correct domain for my store.) I checked the configure.php file, and the database settings there look correct. The store itself runs smoothly, so it looks like the system CAN access the database. Also, when I try to export the existing products (that is, the original ones that come with the installation package) I get the above two errors, plus these: Warning: Cannot modify header information - headers already sent by (output started at /home/dreaming/www/shop/admin/includes/functions/general.php:872) in /.(domain)./admin/easypopulate.php on line 1057 Warning: Cannot modify header information - headers already sent by (output started at /home/dreaming/www/shop/admin/includes/functions/general.php:872) in /.(domain)./admin/easypopulate.php on line 1064 Warning: Cannot modify header information - headers already sent by (output started at /home/dreaming/www/shop/admin/includes/functions/general.php:872) in /.(domain)./admin/easypopulate.php on line 1069 Warning: Cannot modify header information - headers already sent by (output started at /home/dreaming/www/shop/admin/includes/functions/general.php:872) in /.(domain)./admin/easypopulate.php on line 1071 (^ Note again: ".(domain)." above is actually the correct domain for my store.) Help please! Can anyone give me a hint what might be the problem? Thank you :)
  20. Ok after several more hours I think I have figured out what is going on. Here is the problem: There are so many "SEO" addons, and revisions of the same (without making clear WHICH version they are revisions of). I -THINK- I have somehow installed two entirely different SEO add-ons into my shopping cart... or else the first one was a modification of the second, and it was trying to call to functions that I had not yet installed. LOL. Here are the two SEOs I currently have installed: HeaderTags_SEO_V_3.3.0 Ultimate_Seo_Urls_5_PRO_r205 I no longer know if these are revisions of each other or completely different add-ons. I am so overwhelmed by this mess. And now comes the fun part: I must disentangle these two, by keeping the second... and deleting all the bits of code and files from the first that #2 does not need. Orrrrrrrr maybe just say "screw it" and do a completely fresh install, and just reinstall all my other add-ons over again. :-/
  21. I have seen this problem mentioned a few times before in this thread. But there is no fix given, so far. I have thoroughly read the installation instructions, several times, and have been working on this for four and a half hours, now. I am getting two errors: On the Admin page, Configuration > SEO 5 Warning: call_user_func() expects parameter 1 to be a valid callback, function 'tep_reset_cache_data_usu5' not found or invalid function name in /home/dreaming/www/shop/admin/includes/functions/general.php on line 1247 I have checked all the installation files, even copied the "general.php" file to be sure. There is no reference to any "tep_reset_cache_data_usu5" in general.php nor in any included files that I can find. What is the fix for this, please? It is causing the add-on not to work. :( Also, I am getting a second error, on Admin page, header_tags_test.php Warning: mysql_num_fields() expects parameter 1 to be resource, object given in /home/dreaming/www/shop/admin/header_tags_test.php on line 303 In this case it appears to be getting an object, rather than useful data, out of the mysql_get_fields call. Help, please. This is driving me crazy. lol
  22. This is probably a dumb question but... where do I get a "Mobile" directory? I do not have one, in my installation. v.2.3)
×
×
  • Create New...