Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Inherited a broken site, finding it difficult to fix

This is a discussion on Inherited a broken site, finding it difficult to fix within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, a friend of mine has bought a site but he doesnt have the developer skills to fix two bugs ...

      
  1. #1
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Inherited a broken site, finding it difficult to fix

    Hi, a friend of mine has bought a site but he doesnt have the developer skills to fix two bugs (despite the info contained on this forum):

    1. Paypal redirect / confirmation page doesnt work.

    2. SSL certificate doesnt work properly.

    I had a look at the site for him but also have been unable to fix it. What we need is a osCMax guru to have a look at the outstanding issues and fix them (for a fee of course).

    How would one go about finding such a person?

    Many thanks.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Inherited a broken site, finding it difficult to fix

    1. What error do you get when paypal redirects back to your site.

    2. SSL cert may not be related to osCMax, but rather a server issue. Again what error message do you get when visiting ssl pages.

    Post a link to your site if you have one.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Re: Inherited a broken site, finding it difficult to fix

    Hi michael_s, very kind of you to respond so quickly.

    The site URL is: Wirelesss Network Shop - Freedom Wireless

    interestingly, you can also reach it at:

    https://www.freedom-wireless.co.uk/shop/index.php

    (though when you click a product it returns you to the non-secure version until you goto the checkout!

    The error on returning from paypal to the checkout success is:

    Cannot redeclare class order_total in /home/freedom/domains/freedom-wireless.co.uk/public_html/shop/includes/classes/order_total.php on line 13

    There are plenty of posts on the forum about this but we've been unsure of exactly how we go about dealing with it (assume very amateur knowledge!).

    The SSL issue comes up in various places depending on what browser you use (IE6 is good at reporting the error). The site itelf seems to switch between https:// and http:// with seemingly no apparent reason why.

    I hope this helps in your understanding of the problem.

    Once again, many thanks.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Inherited a broken site, finding it difficult to fix

    For issue 1, you need to follow these instructions, and they are pretty clear. Let me know what you don't understand:
    http://www.oscmax.com/forums/oscmax-...html#post17967

    For issue 2, your ssl is working fine for me when I visit your site... Oh wait a minute... Give me a sec to do a little checking.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Re: Inherited a broken site, finding it difficult to fix

    That's great. I had seen this before but unfortunately the code lines don't match with the file on his server.

    He's running

    $Id: checkout_process.php,v 1.6.2.1 2005/06/12 00:03:41 Michael Sasek Exp $

    In this file there is only one instance of:

    $payment_modules->before_process();

    and it is uncommented.

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Inherited a broken site, finding it difficult to fix

    The problem is still the same. You just need to move the
    $payment_modules->before_process(); up so that it is just below:

    $order = new order;

    Try it and let me know if that works.

    Also, your weird ssl issues are due to how your server is reporting ssl as being active. You may want to try this:
    SSL Security warning when using HTTPS
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Re: Inherited a broken site, finding it difficult to fix

    I've changed both of the items. Just waiting for the site owner to check to see if it is working properly now.

    Ive tested in IE and i only get one security warning - saying that ive not yet chosen to trust the site. Once i click 'ok' the message doesnt appear again. So fingers-crossed it might be fixed.

    Will be interesting to see if the paypal return works ok. I think he can sandbox it or something like that to test it.

    I will let you knwo how we get on. Many many thanks for your help. I really like osCMAX. Just need to spend a little time familiarising myself with it!

  8. #8
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Re: Inherited a broken site, finding it difficult to fix

    The paypal fix worked a treat! Just waiting for some confirmation about the security thing.

    Michael, you are a star!

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Inherited a broken site, finding it difficult to fix

    Click the Thanks! button if you please... See the gigantic gaudy graphic pointing to it at the bottom of my post...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    New Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    6
    Rep Power
    0


    Default Re: Inherited a broken site, finding it difficult to fix

    I changed:

    1. Change:
    (getenv('HTTPS') == 'on')
    to
    (getenv('HTTPS') == '1')
    in
    includes/application_top.php
    includes/functions/general.php
    admin/index.php

    Using IE i get messages like 'this page contains secure and non-secure items - do you want to display the non-secure items?' See: https://freedom-wireless.co.uk/shop/index.php

    But maybe that's normal browser behaviour?

Page 1 of 2 12 LastLast

Similar Threads

  1. SSL is broken
    By midwestwebsites in forum osCmax v1.7 Discussion
    Replies: 26
    Last Post: 07-12-2005, 04:47 PM
  2. finding username/password of administration page in osc ?
    By digitalmelody in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-17-2004, 02:12 PM
  3. Broken heading
    By h4ppy_girl in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-08-2004, 09:23 AM
  4. ALL LINKS BROKEN, Please Help!
    By greg_pdq in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-25-2004, 01:37 PM
  5. Not finding configuration.php in directories
    By metricbikes in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-21-2003, 08:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •