Jump to content
Latest News: (loading..)

ruden

Members
  • Content count

    18
  • Joined

  • Last visited

1 Follower

About ruden

  • Birthday 04/20/1974

Profile Information

  • Real Name
    Valeriy Rudenko
  • Gender
    Male
  • Location
    Ukraine

Recent Profile Visitors

2,858 profile views
  1. ruden

    HTTP to HTTPS help?

    Code Design Error haraldpdl Problem in $connection function argument tep_href_link function ($ page = '', $ parameters = '', $ connection = 'NONSSL', $ add_session_id = true, $ search_engine_safe = true) { } He's not needed Enough to use ENABLE_SSL = true in includes / configure.php In file includes/functions/html_output.php for function tep_href_link argument $connection = 'SSL' and replace code if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_ADMIN; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_HTTPS_ADMIN; } else { $link = HTTP_SERVER . DIR_WS_ADMIN; } } else { die('</td></tr></table></td></tr></table><br /><br /><font color="#ff0000"><strong>Error!</strong></font><br /><br /><strong>Unable to determine connection method on a link!<br /><br />Known methods: NONSSL SSL<br /><br />Function used:<br /><br />tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</strong>'); } to if ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_HTTPS_ADMIN; } else { $link = HTTP_SERVER . DIR_WS_ADMIN; } } else { die('</td></tr></table></td></tr></table><br /><br /><font color="#ff0000"><strong>Error!</strong></font><br /><br /><strong>Unable to determine connection method on a link!<br /><br />Known methods: NONSSL SSL<br /><br />Function used:<br /><br />tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</strong>'); } This will eliminate all NONSSL in the catalog code.
  2. ruden

    Fake accounts

    In addition 1. Rename file create_account.php 2. Rename in application_top.php tep_session_name -> myNameSid My practice
  3. ruden

    Parse error: syntax error,

    Prior to PHP 5.3, constants may only be defined using the define() http://php.net/manual/en/language.constants.syntax.php
  4. ruden

    Paypal not registering Customer Name

    It seems that given_name and family_name is no longer working My fix In includes/modules/content/login/cm_paypal_login.php After $force_login = false; Add // fixme if (!isset($response['given_name']) && !isset($response['family_name'])) { //code to extract firstname and lastname from name $name = explode(' ', $response['name']); $response['given_name'] = tep_db_prepare_input($name[0]); $response['family_name'] = tep_db_prepare_input((isset($name[count($name)-1]) ? $name[count($name)-1] : '')); } Before tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); Add // fixme if ($this->hasAttribute('date_of_birth') && isset($response['birthday']) && !empty($response['birthday'])) { $sql_data_array['customers_dob'] = tep_db_prepare_input($response['birthday']); }
  5. ruden

    Website not working from past 5 days

    Recover from the most recent backup these files admin/includes/configure.php includes/configure.php
  6. CURLE_SSL_CONNECT_ERROR (35) A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others. try it, but I'm not sure $this->use_exec = '1';
  7. Function "exec" is enabled ? Add file index.php code if(function_exists('exec')) { echo "exec is enabled"; }
  8. onlinetools.ups.com https://onlinetools.ups.com/ups.app/xml/Rate
  9. ruden

    Please Review my Website

    Part of the answers here https://search.google.com/test/mobile-friendly https://developers.google.com/speed/pagespeed/insights/ https://validator.w3.org/
×