Jump to content
Latest News: (loading..)

mbuist

Members
  • Content count

    30
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Martin
  1. Still nog working. I will send you the files
  2. Does not work either. But it is not a css problem Go to http://www.shoptuin.nl/mobile and press on the account button. The page goed blank. and the url is http://www.shoptuin.nl/mobile_account.php I think the problem is that it needs to check if you logged in or not. If you are not logged in it needs to redirect you to the login page and this does not happen. Same problem when you go directly to the login page and try to login. The page goed blank aswell. but if I refresh the page after the login attempt everthing works well. Even If I press on account. So as far as I can tell. The problem is this function or something related with it. Maybe in application top if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL')); } the server is running on PHP Version 5.3.10
  3. Did not work. Tried it on IE and firefox. Even tried it with my smartphone. Still not working on 2.3.3 and I can't get my head around it why
  4. I already did that but no results. It would be great if somebody could take a look and make this 2.3.3 compatible. The only thing that does not work is redirect if user is no logged in
  5. Does not work. Still have a blank page. This version really does not work with oscommerce version 2.3.3 The code now looks like this require_once('mobile/includes/application_top.php'); require_once('includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { // $navigation->set_snapshot(); tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL')); } Any other suggestions?????????? If i load the require_once('includes/application_top.php'); first. Then I get this error Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/deb55833/domains/shoptuin.nl/public_html/includes/functions/compatibility.php:18) in /home/deb55833/domains/shoptuin.nl/public_html/includes/functions/compatibility.php on line 30
  6. Any one???? This support is nog very active
  7. mbuist

    v2.4 Cleanup and Minimum PHP Requirement

    The process is oke. But could be shorter (change adres is not very clear). And I think there should be an option for user to checkout without login or checkout with login. the best checkout I ever came across is here http://www.blurayspelershop.nl It has the delivery next to the shopping cart and in the next screen you choose login/create account or checkout without account. It is very very clear
  8. has to be in the function once it need to redirect SessionID enabled pages it goed blank (tep_session_is_registered('customer_id')is <?php function tep_mobile_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = false) { return tep_href_link($page, $parameters, $connection, $add_session_id,false); } This is the funtion in the normal site for tep_href_link // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $request_type, $session_started, $SID; $page = tep_output_string($page); if (!tep_not_null($page)) { die('</td></tr></table></td></tr></table><br /><br /><font color="#ff0000"><strong>Error!</strong></font><br /><br /><strong>Unable to determine the page link!<br /><br />'); } if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG; } else { $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG; } } 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</strong><br /><br />'); } if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1);
  9. if I do this then it works <?php require_once('includes/application_top.php'); //require_once('mobile/includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); //tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL')); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } But then I get errors once logged in. because it does not reconize tep_mobile_link (obvious)
  10. mbuist

    Product Info Page Box

    @hornetnz Do you load multiple Jquery or other scripts? All scripts that are in the product info page added by product box. Move it to the end of the product_info.php file. I think I had the same problems with those buttons
  11. I took al ook at the code in mobiel_account.php I think it has something to do with <?php require_once('mobile/includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_mobile_link(FILENAME_LOGIN, '', 'SSL')); } Either is is not regestering a session or the tep_redirect function is not working I found this in one of the classes I had to change the function split() was decapracated and use explode function redirect() { global $mobile_site; if(isset($mobile_site)) { $path = explode("/" ,$mobile_site); $file = $path[sizeof($path)-1]; } else { $path = explode("/" , $_SERVER['SCRIPT_NAME']); $filename = $path[sizeof($path)-1]; $file = $this->mobileDir . $filename; } $qstring = $_SERVER['QUERY_STRING']; $SSL = ($_SERVER['HTTPS']) ? "SSL" : "NONSSL"; tep_redirect(tep_href_link($file, $qstring, $SSL, false, false)); } } Can somebody please help me with this
  12. Wierd problem, I'm using the latest version os IOS and Oscommerce 2.3.3 with php 5.3 www.shoptuin.nl/mobile Once I go to my account. The page goes blank If I go directly to the mobile_login.php I'm able to login but it will not process. After a refresh I see the My account page Does this have something to to with the redirect My hist server uses php 5.3
  13. Nice work, Can this be made admin compatible. That you only have to fill the API keys on the admin side. Not in de code. Same as URL?
×