Jump to content
Latest News: (loading..)

dreaminggates

Members
  • Content count

    54
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Kyr
  1. dreaminggates

    Easy Populate & Products Attributes

    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).
  2. Nevermind, I just dug into the php and wrote an exception for discounts. Took me 6 hours but it's done. lol
  3. dreaminggates

    [Contribution] Discount Coupon Codes

    Never mind, I dug deep into the code and wrote something to get it working :)
  4. 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?
  5. dreaminggates

    [Contribution] Discount Coupon Codes

    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
  6. dreaminggates

    KissMT Dynamic SEO Meta & Canonical Header Tags

    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.
  7. dreaminggates

    KissMT Dynamic SEO Meta & Canonical Header Tags

    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 :(
  8. dreaminggates

    KissMT Dynamic SEO Meta & Canonical Header Tags

    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).
  9. dreaminggates

    KissMT Dynamic SEO Meta & Canonical Header Tags

    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?
  10. 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! :)
  11. dreaminggates

    Recover Cart Sales

    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
  12. 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; }
  13. 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 :)
  14. dreaminggates

    ULTIMATE Seo Urls 5 - by FWR Media

    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. :-/
  15. dreaminggates

    ULTIMATE Seo Urls 5 - by FWR Media

    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
×