Koozali.org: home of the SME Server

[Announce] osCommerce for SME 7.x

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« on: June 07, 2007, 07:33:51 PM »
Hi everyone,

I've made an rpm installation for osCommerce 2.2MS2 on SME 7.x
You will be able to download it here as soon as the mirrors will sync.

Any comments appreciated!


Best regards,
Sylvain

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #1 on: June 08, 2007, 03:41:28 PM »
Hi!

A new release of osCommerce is available here.
A minor bug was fixed so Admin panel is now only accessible with https.
Thanks to wdepot who pointed me to this.

I've also updated the wiki page


Best regards,
Sylvain

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #2 on: August 05, 2007, 07:36:39 AM »
I have installed the rpm following the instructions in the wiki, set an admin user and password. I can log into the admin page and after that all I get is

Quote
The requested URL /oscommerce/admin/configuration.php was not found on this server.


Any suggestions ?? SME is Server only V7.2

Peter
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #3 on: August 05, 2007, 07:40:54 AM »
Another interesting observation is that if I go https://server/oscommerce/admin with firefox it opens up in English but if I do the Same in IE6, it opens in French.

Trying to change the language with either browser results in the same message as above.
...

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #4 on: August 05, 2007, 08:51:15 AM »
Hi Peter,

I've just take a look at the RPM under SME 7.2 and I can't reproduce the error. I've tested it with both IE 7 and Firefox 2.0.0.6 with no problem. I also can switch languages.
My SME 7.2 is a fresh install one with all updates and no contribs and it's in server-only mode.

Have you tryed to delete your browser cache/cookies?

Sylvain

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #5 on: August 06, 2007, 08:38:14 AM »
OK - a closer look and I can see the problem but I cannot see the solution.

I actually have two SME servers on my network, server2 and server3.

Server2 is my "main" server configured in server-gateway mode and server3 is in server only mode. I have  installed OSCommerce on server 3 and it delivers me the setup page but when I click any option, it is using my FQDN which is redirecting it to server2.

I need to change a config somewhere so it points to localhost on the installed server or to server3 (which are the same)  rather than the FQDN which will redirect it to server2. I just cannot work out where....
...

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #6 on: August 08, 2007, 12:00:29 AM »
Hi,

Could proxypass do the job?

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #7 on: August 08, 2007, 06:15:54 AM »
Dont know about proxypass and 7.2
...

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #8 on: August 08, 2007, 06:26:04 AM »
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #9 on: August 08, 2007, 12:13:33 PM »
Ray

Thanks for the link.  I am not sure what I should have searched before asking.

I am already aware of the caveat regarding proxy-pass

Quote
This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see bugzilla:1612.  


and I dont really want to hack my main server in this way at this time.
...

Offline cool34000

  • *
  • 339
  • +0/-0

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #11 on: August 08, 2007, 02:28:06 PM »
p-jones

Quote
I am not sure what I should have searched before asking


how about ummm, proxypass

Quote
I dont really want to hack my main server in this way at this time


It's not a hack, it's a feature that the developers designed into sme7.0 !
Search bugzilla if you don't believe me.

They have not yet got around to adding the server manager panel for it, so it's only configurable by db commands at this time.
There are lots more settings under the bonnet of sme7 that do not have a server manager panel.

db domains set internal.server.com domain Nameservers internet
db domains setprop internal.server.com ProxyPassTarget http://xxx.xxx.xxx.xxx/
db domains setprop internal.server.com TemplatePath ProxyPassVirtualHosts
signal-event domain-create internal.server.com

The old saco proxypass app is buggy and probably will never be developed further, as sme 7 has built in support for proxypass & a panel will be added later.
...

Offline p-jones

  • *
  • 594
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #12 on: August 08, 2007, 10:43:40 PM »
Thanks again Ray for the info. If you have a look at the thread again, I think you will see that I didnt ask any questions. It was suggested as a solution

I have already read the threads on proxypass and it is my understanding this feature has its best uses for in situations where the pages are accessible from inside the network but not from outside the network and/or there is a different virtual domainname to the primary domain name. Of course I conceed that my understanding may not be right but...

My problem is quite simple, all the links refer http://domainname/oscommerce and I need them to refer to http:/server.domainname/oscommerce to progress. (or http://servername/oscomerce) I dont have any additional virtual domains on my system, the server I am trying this out on is simply a test server that sits on my network. I havent found it necessary to make any changes on my production server to accomodate other application running on the test server and I dont want to do it for this application.

Reconfiguring my test server so does have a virtual domainname may in fact be my solution, at the expense of other applications.

Thanks for your input.
Peter
...

Offline raem

  • *
  • 3,972
  • +4/-0
[Announce] osCommerce for SME 7.x
« Reply #13 on: August 09, 2007, 05:37:47 AM »
peter

I counted and you asked at least 3 questions, that's why I was answering.

Proxypass can be used for situations where you have a main gateway box that receives internal &/or external requests for valid domains configured on the gateway, but the web site for one (or more) of those domains is hosted on another box, either internal or external to your network.  
eg you may host the mail for the domain but not the web site.

As you have oscommerce on a second test server, then you could give that server a different domain name to your main domain.
Then configure proxypass to send requests to the second server.

Alternatively configure a hostname (server3 or whatever name preferred) in the main server hostname & addresses panel, which points to the IP of server3, and call that hostname up when accessing oscommerce. The problem is what you have experienced already, oscommerce is confgured with the same URL as your main domain, so internally oscommerce keeps calling your main server.
Within the config files of oscommerce is where you set the domain name that oscommere is using (usually set at install/first config time), so change that too. It must be a setting that will resolve on your network of course, and as your server2 is acting as gateway/DNS for the local network, that URL needs to be known to server2 eg as a proxypass entry or a hostname.
I'm assuming here that when you setup server3 you told it to use server2 as the gateway & DNS server (in Configure this server during initial setup).
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #14 on: August 11, 2007, 08:17:27 PM »
Sylvain

Quote
I've made an rpm installation for osCommerce 2.2MS2 on SME 7.x


I see there is a new version released
oscommerce-2.2rc1
It appears to have the admin login module installed, so seperate password protection of the admin login is not required.

Perhaps you could update your contrib.

Thanks
Ray
...

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #15 on: August 11, 2007, 10:30:41 PM »
Hi,

Thanks Ray, I've just downloaded it (and the doc) to see what's new.
I'll try to make the RPM tomorrow.

Offline cool34000

  • *
  • 339
  • +0/-0
[Announce] osCommerce for SME 7.x
« Reply #16 on: August 12, 2007, 06:25:59 PM »
Hi all

I've just finished the RPM install based on osCommerce 2.2rc1
I'm uploading the files right now... As soon as the mirors will sync, you will be able to download the last version here : http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/oscommerce/smeserver-oscommerce-2.2rc1-1.noarch.rpm


BE CAREFUL, this new RPM doesn't support upgrade in any way.
If you want to update an existing version (MS1 or MS2) please follow the doc instructions on their website.

Please also note that there are at the moment no addon language available. Defaults languages are english, german and spanish - That's all!

[edit]
I've also updated the wiki


Regards,
Sylvain

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #17 on: June 06, 2008, 10:45:35 AM »
Hi Sylvain

Just thought I'd post this here to get your attention. I assume you are an oscommerce user, so have possibly experienced this same issue.

After the April upgrade to sme7.3, emails sent from oscommerce are garbled (the body text is odd characters & unreadable). I assume the problem is to do with the change to utf-8, but although I have searched on the oscommerce site (and forums and bugzilla) and made changes to the .../includes/languages/english.php file, I have not had success fixing this. I'm not really sure what to change to fix this.

Do you have any clues or have you experienced this issue and fixed it.

Thanks
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Announce] osCommerce for SME 7.x
« Reply #18 on: June 06, 2008, 11:36:43 AM »
After the April upgrade to sme7.3, emails sent from oscommerce are garbled (the body text is odd characters & unreadable). I assume the problem is to do with the change to utf-8
I seriously doubt that as the UTF8 encoding only has to do with the server-manager locale encoding.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cool34000

  • *
  • 339
  • +0/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #19 on: June 06, 2008, 03:23:42 PM »
Hi,

Quote
I assume you are an oscommerce user
No, in fact I use none of the RPM I've made as I don't use SME at work anymore !
I'm a simple home user now, still having a lot of fun with SME !!!

Try to play around with mail options of osCommerce in the admin panel, there are not many optins so it should be quick to test.
As Cactus, I doubt that this is due to UTF8.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #20 on: June 07, 2008, 03:08:42 PM »
Cactus, Sylvain

I noticed the problem some time after the April update was done (a month or more) as the store has very little use, so it's hard to pinpoint what was done to the server immediately before the problem occurred.
I do not recall any changes being made to oscommerce for many months now.

I have compared the problematic site with a test install on my own server (which works correctly), and as both are upgraded at the same time, then inherently the upgrade does not seem to be the direct cause of the issue. Email settings in oscommerce are the same, I did try changing settings without any improvement.
I have also compared config files between the 2 systems and they are identical except for site specific names & other details etc.

I looked at the email headers of messages sent from each site.

A partial header from the site with email problems shows:

MIME-Version: 1.0
X-Mailer: osCommerce
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64

dGVzdCBtZXNzYWdlIGZyb20gb3Njb21tZXJjZSBzdG9yZSB3aXRoIHByb2JsZW0K


The garbled text is supposed to be the message body which originally said
"test message from oscommerce with problem"


A partial header from the site that is working OK shows:

MIME-Version: 1.0
X-Mailer: osCommerce
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

test message from oscommerce without problem


Clearly there is additional info in the header for messages coming from the  "faulty" system eg
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64

I don't really know what to look at to discover where this is coming from.
Can anyone assist/explain a bit more about that additional info in the header ?
Thanks
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: [Announce] osCommerce for SME 7.x
« Reply #21 on: June 12, 2008, 04:35:03 PM »
zen-cart is much better and works with no hacking on the SME server you just need to setup the mysql database and away you go
and way easer to use
have a look at these 2 website running on SME server and zen-cart which i did a while ago
www.mailorderink.com.au
www.gemjewels.com.au
« Last Edit: June 12, 2008, 04:42:01 PM by zatnktel »