Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. Hotclutch

    KissIT Image Thumbnailer Support

    I change the order of the parameters: protected function _output( $quality, $save_in = null, $filters = null ) { and return imagejpeg ( $this->_image, $quality, $save_in ); and return imagepng ( $this->_image, $quality, $save_in, $filters );
  4. Hotclutch

    KissIT Image Thumbnailer Support

    protected function _output( $quality, $save_in = null, $filters = null ) { switch ($this->_mime_type) { case self::IMAGETYPE_GIF : return imagegif ( $this->_image, $save_in ); break; case self::IMAGETYPE_JPEG : case self::IMAGETYPE_JPG : $quality = is_null ( $quality ) ? 75 : $quality; return imagejpeg ( $this->_image, $quality, $save_in ); break; case self::IMAGETYPE_PNG : $quality = is_null ( $quality ) ? 0 : $quality; $filters = is_null ( $filters ) ? null : $filters; return imagepng ( $this->_image, $quality, $save_in, $filters ); break; default : trigger_error ( 'Image cannot be created.', E_USER_NOTICE ); break; This works for me.
  5. Special Expire Date: https://apps.oscommerce.com/aLIAl&special-expire-date-in-product-page
  6. Psytanium

    SMTP Authentication and OSCommerce

    Hi, I don't have catalog/includes/classes.php file in my OSC2.3.4 I have catalog/includes/classes/email.php Is that the same ? I copy paste your code into my catalog/includes/classes/email.php ? I tries this but i get an error it says fatal erro PHPMAILER class not found
  7. Jack_mcs

    Incorrect datetime value

    If this just started happening then the host has probably upgraded the mysql version. But regardless, the easiest way to fix it is to run this command UPDATE customers SET customers_fob = '1970-01-02' WHERE customers_dob = '0000-00-00 00:00:00'
  8. Last week
  9. Subject is fine as is. Working now. I checked the admin email class after reading Henry's post and then checked it against Bootstrap osCommerce. The difference is here in the send function. $additional_parameters = ''; if ((PHP_VERSION > '5.3') || ((bool)ini_get('safe_mode') === false)) { $additional_parameters = '-f' . $from_addr; } return mail($to, $subject, $this->output, implode($this->lf, $headers), $additional_parameters);
  10. ArtcoInc

    Incorrect datetime value

    @aespinal2 Is this a new problem? Has something changed on your friend's host/server? I had a similar issue with the configuration on my in-house development server. I was able to fix the configuration as described here: That said, I don't know how your friend's server is set up. You may have to talk to their host about this. HTH M
  11. Read through that thread. It seems that Gmail spam filters are blocking the subject line.
  12. Psytanium

    [Development] Products Specifications

    I changed this in includes/functions/general.php function tep_get_all_get_params( $exclude_array = 'allow' ) { global $HTTP_GET_VARS; if ( !is_array( $exclude_array ) )$exclude_array = array(); $get_url = ''; if ( is_array( $HTTP_GET_VARS ) && ( sizeof( $HTTP_GET_VARS ) > 0 ) ) { reset( $HTTP_GET_VARS ); while ( list( $key, $value ) = each( $HTTP_GET_VARS ) ) { if ( is_string( $value ) && ( strlen( $value ) > 0 ) && ( $key != tep_session_name() ) && ( $key != 'error' ) && ( !in_array( $key, $exclude_array ) ) && ( $key != 'x' ) && ( $key != 'y' ) ) { $get_url .= $key . '=' . rawurlencode( stripslashes( $value ) ) . '&'; } } } return $get_url; } To this function tep_get_all_get_params($exclude_array = '') { global $HTTP_GET_VARS; if ($exclude_array == '') $exclude_array = array(); $get_url = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if (($key != tep_session_name()) && ($key != 'error') && (!in_array($key, $exclude_array))) { if (is_array($value)) { while (list($key2, $value2) = each($value)) { $get_url .= $key . '['.$key2.']=' . rawurlencode(stripslashes($value2)) . '&'; } } else { $get_url .= $key . '=' . $value . '&'; } } } return $get_url; } Now the filter arrays work fine when changing currency. Hopefully I didn't mess with something else.
  13. Psytanium

    [Development] Products Specifications

    Hi, If i choose some multiple selection in the filters, then change the currency, the page load and the selected specifications are unchecked. You have a quick fix for this ? I think the default osc2.3.4 tep_get_all_get_params function can't handle arrays in the url. For example this url https://www.domain.com/products_filter.php?f28[3]=Samsung&f22[1]=Blue&cPath=220_83_97 Become like this after I change currency: https://www.woodandgas.com/products_filter.php?cPath=220_83_97&currency=EUR The filter parameters disappeared.
  14. The solution is not clear.
  15. aespinal2

    Incorrect datetime value

    osCommerce V2.3. The store of my friend does not take new costumers. When they try to create an account, the store shows: 1292 - Incorrect datetime value: '0000-00-00 00:00:00' for column 'customers_dob' at row 1
  16. I started noticing about a week ago. Its definitely some code in the Admin, because I have at least 2 sets of Admin files to test with. On the one set everything is fine, then on the other the mails bounce back. Its only order status update mails. The create account welcome email is fine. It's only gmail addresses also. I think it has to be admin/order.php -> maybe the tep_mail function. I will keep looking.
  17. @Hotclutch Did this just start in the last week or so, or did you only just notice it in the last week or so? If it just started, you may need to speak to who is hosting your site(s), and ask what's changed. I do recall that there has been a long history of email issues if the 1) sending email address, 2) reply to email address, and 3) your web site's address .... are not the same. You can search the forum for this. IIRC, it happened with both GMail and Yahoo email addresses. HTH M
  18. I installed KissIT Image Thumbnailer by the original author (14 July 2012), on php8, and everything appears to work fine. https://apps.oscommerce.com/Get&39J0f
  19. Anyone notice the same? The last week or so I started noticing my order status updates bouncing back customers with gmail addresses. Something to do with multiple addresses in the from field.
  20. This does appear to be a valid problem when you turn the ACCOUNT_DOB setting to false. I change to: if (ACCOUNT_DOB == 'true') $customers_dob = tep_db_prepare_input($_POST['customers_dob']); then everything works fine.
  21. Hello, Sorry if my question has already been asked, but I did not find the answer in the forum. English is not my native language, I apologize if I'm clumsy. Actuellement je fais un site sur Joomla avec Virtuemart mais je pense devoir changer mon CMS car je bloque. My specific need: A module that allows you to adjust the price according to weight, surface, height / width. And who can manage the stock and the falls (well that's a lot)! Do you know of a module that does the job or in my case precise no chance and I have to go to a specific dev? Here is the expected behavior> https://www.glassfonster.fr/double-vitrage-standard/3439-double-vitrage-standard-4164-24mm.html Is OsCommerce suitable for my project? Thank you in advance for your suggestions and the opportunity to do this.
  22. Sorry, false alarm. The DOB problem is specific to one of my sites. Tested on a stock installation and cannot replicate the problem there.
  23. Just wrap that in... if (is_array($customers_dob) && isset($customers_dob)) { ..... } Try it without the is_array() function.
  24. Required or not, still throws the error.
  25. In Admin/customers.php If your DOB is set to not required in the Admin settings, then this line of code throws an error when trying to update the customer in Admin. $customers_dob = tep_db_prepare_input($_POST['customers_dob']); Warning: Undefined array key "customers_dob" approx line 32
  26. Personally, I replaced the sessions.php files from Ms2.2 by those from Osc 2.3. As a precaution, rename the old sessions.php files to sessions_old.php for example to be able to go back if things are wrong.
  1. Load more activity
×