osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-18-2007, 03:39 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-18-2007, 06:39 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,069
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-18-2007, 07:24 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-18-2007, 07:33 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,069
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-18-2007, 07:41 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-18-2007, 07:49 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,069
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-18-2007, 08:06 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-18-2007, 08:22 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 01-18-2007, 08:30 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,069
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 01-18-2007, 08:39 AM
New Member
 
Join Date: Jan 2007
Location: UK
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
guyweb is on a distinguished road
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to guyweb For This Useful Post:
scorche (11-08-2007)
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 03:26 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax