Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My installation experience


cobeman

Recommended Posts

Posted

Hello,

 

Today i searched on the net for an online e-commerce application and found OSCommerce. I immediatly fell in love with it, it has a stable product and a huge community, so problems and suggestions will be answered.

 

So I moved on and downloaded OSC 2.2 Milestone.

Now i needed a webserver etc on my Windows XP Pro pc. Personally i love WAMP5 because it's stable, it has everything you need for OSC and the control is very easy. You can download it here.

 

Installed it, let the services run and move onto the OSC itself.

 

I followed the installer of OSC, my personal impression was, hmm is it that easy?

 

Now i will explain the problems that I bumped into, hopefully my experience will help other people from losing their interest in OSC.

 

1)The first problem was that i called the admin page and it was a blank page. Searched on the forum and found the solution.

PHP5 does not allow you to assign values to the reserved variable $this.

Comment out line 31

//$this = null;

 

2)The second problem was the -20,20 error when i for example deleted all the manufacturers and wanted to add them again.

I searched again on the forum and found the solution.

The actual problem was that that new versions of mysql refuse to accept negative values.

Here is the thing you need to do:

edit /includes/classes/split_page_results.php

find

$this->sql_query .= " limit " . $offset . ", " . $this->number_of_rows_per_page;

(line about 66)

insert before it

if($offset <0 ) $offset = 0;

the same in admin//includes/classes/split_page_results.php

do the same, but this time it's line about 38

 

Hopefully this helped you and you can put your online shop into production as soon as possible.

 

Greetz from Belgium :)

Posted

Wamp5 installs PHP5 by default, but also has PHP4 add-on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...