Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 8 votes

Multi_Vendor_Shipping new thread


4480 replies to this topic

#4361 Joline86

  • Community Member
  • 6 posts
  • Real Name:Joline Acord

Posted 28 July 2011, 17:35

View Postkymation, on 28 July 2011, 17:26, said:

There's a list here. I use Meld and have used WinMerge. Both work well enough for me to recommend.

Regards
Jim

I started comparing using notepad ++, do I just replace everything that is different? I mean if something is completely different between osCommerce and MVS do I overwrite the different part in the osCommerce file? And if something has been deleted in MVS, should I also delete that part or just leave it in the osCommerce file. Sorry still very new to this.

#4362 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 July 2011, 18:33

Replace everything that is marked MVS. Delete only if there is an MVS section marked there. I don't recall any deletes that are not replaced with MVS code, but there might be. Leave everything else alone.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4363 Joline86

  • Community Member
  • 6 posts
  • Real Name:Joline Acord

Posted 28 July 2011, 19:02

View Postkymation, on 28 July 2011, 18:33, said:

Replace everything that is marked MVS. Delete only if there is an MVS section marked there. I don't recall any deletes that are not replaced with MVS code, but there might be. Leave everything else alone.

Regards
Jim


Thank you so much for all of your help. I opted to just install osCommerce 2.2 (hopefully this version is still usable) and then MVS instead of merging the files. I know I would have created more problems for myself if I tried to merge the files. I got further this method than I did the first time. I now have both installed and I am able to login to the admin panel. When I click on vendors I get this:


1054 - Unknown column 'vendors_id' in 'where clause'

select count(*) as total from products where vendors_id = '1'

[TEP STOP]

I did use the same database that I had created for the newer version of osCommece. I don't know if that is an issue or not.

#4364 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 28 July 2011, 19:39

I hope you used 2.2RC2a. Any older version is unusable. Don't forget to apply all of the changes in the Security forum for 2.2. This will be nearly as much work as installing MVS on 2.3.1. Possibly more.

The databases in 2.2x and 2.3.1 are incompatible. You need to install the 2.2 database, then run the changes for MVS.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4365 Joline86

  • Community Member
  • 6 posts
  • Real Name:Joline Acord

Posted 29 July 2011, 18:42

View Postkymation, on 28 July 2011, 18:33, said:

Replace everything that is marked MVS. Delete only if there is an MVS section marked there. I don't recall any deletes that are not replaced with MVS code, but there might be. Leave everything else alone.

Regards
Jim

Ok, So I went ahead and attempted to modify the files in order to install MVS on osCommerce 2.3.1, since installing the security updates would probably be more difficult for me. I started with a fresh install, uploaded the new MVS files and used notepad++ to compare the modify files and replace everything starting with //MVS. Now I am getting the following error when going to the admin panel:

Fatal error: Call to undefined function tep_redirect() in /home/XXXXXXXX/public_html/XXXXXXXXXX.com/admin/includes/application_top.php on line 161

Not sure what I did wrong or where to look to fix this.

#4366 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 July 2011, 18:59

tep_redirect() is a stock osCommerce function in both the 2.2 and 2.3 series. It's defined in includes/functions/general.php. You may have deleted this line in includes/application_top.php:
  require(DIR_WS_FUNCTIONS . 'general.php');
Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4367 Joline86

  • Community Member
  • 6 posts
  • Real Name:Joline Acord

Posted 30 July 2011, 14:14

View Postkymation, on 29 July 2011, 18:59, said:

tep_redirect() is a stock osCommerce function in both the 2.2 and 2.3 series. It's defined in includes/functions/general.php. You may have deleted this line in includes/application_top.php:
  require(DIR_WS_FUNCTIONS . 'general.php');
Regards
Jim

I checked /includes/application_top.php and /admin/includes/application_top.php and that line is present in both files. Line 161 in admin/includes/application_top.php referred to in the error reads as follow:

      tep_redirect(tep_href_link(FILENAME_LOGIN, (isset($redirect_origin['auth_user']) ? 'action=process' : '')));


#4368 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 30 July 2011, 16:06

Then you somehow deleted the definition of tep_redirect() in includes/functions/general.php. MVS doesn't make any changes to that file, so I have no idea how you managed to do that. Perhaps you uploaded the admin file to the catalog side.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4369 crashexpert

  • Community Member
  • 10 posts
  • Real Name:Insert real name here
  • Gender:Not Telling

Posted 06 August 2011, 00:02

What file places the "install" and "edit" buttons on admin/vendor_modules.php? I had everything working and setup but I went to add a new shipping method only to find that the buttons are now gone. I have no idea what I did or how I did it. I compared the vendor_modules file to the one in the contribution and they are identical. All of the shipping methods show but I cannot edit them or install new ones. Also I will add that mvs functions just fine on the store side

Edited by crashexpert, 06 August 2011, 00:03.


#4370 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 06 August 2011, 00:10

You have some sort of error, probably in the shipping module that you just added. Try deleting the module file and see if the Vendor Manager starts working again. If it doesn't, your database is corrupted and will need to be cleaned by hand.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4371 crashexpert

  • Community Member
  • 10 posts
  • Real Name:Insert real name here
  • Gender:Not Telling

Posted 06 August 2011, 00:36

I couldnt install a new one because the install button is gone... I wrote over all of the moduals anyway and it didnt help so now you say it has to be in the DB. I dont know what needs to be "cleaned" so would I be better off dropping vendors, vendors_info, and vendors_configuration tables and starting over. If I do that I will loose what products belong to each vendor wont I?

#4372 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 06 August 2011, 00:41

No, you need to delete the module file. Remove it completely from your server. Nothing that you do in the Admin is going to help.

If that doesn't work, you can then truncate (empty) the vendors_configuration table. This will remove all of your shipping module configuration, so you'll have to reinstall any modules that you need.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4373 crashexpert

  • Community Member
  • 10 posts
  • Real Name:Insert real name here
  • Gender:Not Telling

Posted 06 August 2011, 01:28

Yes thanks a bunch emptied the DB and all is well Thanks again for ALL of your help!!

Edited by crashexpert, 06 August 2011, 01:35.


#4374 xmanflash

  • Community Member
  • 36 posts
  • Real Name:Pete N

Posted 06 August 2011, 06:21

Can anyone who has added this to a customised osc v2.3.1 tell me how long it took? I am pretty proficient with adding modules and adapting code, but this MVS module would replace some home brew code that currently works, but is not quite so functional..

Is there a 2.3.1 version install in the works Jim?

Thanks!

#4375 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 06 August 2011, 17:24

I can't tell you exactly how long it takes, but it wasn't very long. The conversion mostly involves changing the buttons and adding the references to template_top.php and template_bottom.php. Oh, and converting one box. It's not that hard.

Yes, I do intend to make a 2.3.1 release whenever I have the time. I've done the install on 2.3.1, but that is a very heavily modified store, so it's not that simple to extract the files. I'll probably have to do it over on a stock copy of 2.3.1 to get it right.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#4376 xmanflash

  • Community Member
  • 36 posts
  • Real Name:Pete N

Posted 06 August 2011, 18:02

View Postkymation, on 06 August 2011, 17:24, said:

I can't tell you exactly how long it takes, but it wasn't very long. The conversion mostly involves changing the buttons and adding the references to template_top.php and template_bottom.php. Oh, and converting one box. It's not that hard.

Yes, I do intend to make a 2.3.1 release whenever I have the time. I've done the install on 2.3.1, but that is a very heavily modified store, so it's not that simple to extract the files. I'll probably have to do it over on a stock copy of 2.3.1 to get it right.

Regards
Jim

Ok Thanks Jim, I'll have a closer look at it..

#4377 MarkA.Stevens

  • Community Member
  • 3 posts

Posted 27 August 2011, 04:21

Good information

Edited by MarkA.Stevens, 27 August 2011, 04:23.


#4378 MarkA.Stevens

  • Community Member
  • 3 posts

Posted 27 August 2011, 04:23

View Postxmanflash, on 06 August 2011, 18:02, said:

Ok Thanks Jim, I'll have a closer look at it..


Hello There, we hired a programmer had them installed the Ajax single check out page. We can't get the MVS (multi Vendor shipping) on this single page:

http://www.oscommerce.com/community/contributions,6521/page,4


We had to switch off the Ajax check out until we can get it working. Out site is http://www.cottagecraftworks.com Any help is much appreciated We are will to pay somebody to get the job done. We have been using MVS for years and trying to help customers check out faster with user friendly interface.

Mark Stevens
Mark@masgraphics.net

#4379 dafonk

  • Community Member
  • 22 posts
  • Real Name:tero

Posted 29 August 2011, 00:33

Hi, Folks.

I install Oscommerce 2.3.1 and did make some change but only in the layout. Now I'm trying to put and install MSV in that store.
I did updated every file to the server and also the changes in the DB. For me everything was ok. But when I wanted login in the admin I got this error:
Fatal error: Call to undefined function: tep_get_version() in /xxx/xxxx/xx/xx/xxxxxxxx/htdocs/xxxxxxx/catalog/admin/includes/header.php on line 20

This file does not change from the MSV so I don´t now realy what to do with that error.


I'll be grateful for any help ;)

#4380 kymation

  • Community Sponsor
  • 5,650 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 29 August 2011, 00:43

tep_get_version() is a stock osCommerce 2.3 function. It's in catalog/includes/functions/general.php, lines 13-23. If you just replaced the stock file with the one from MVS, that's a bug. Oops. Try adding this near the top of the file:
////
// Get the installed version number
  function tep_get_version() {
    static $v;

    if (!isset($v)) {
      $v = trim(implode('', file(DIR_FS_CATALOG . 'includes/version.php')));
    }

    return $v;
  }
Thanks for pointing that out. I'll fix the distribution and upload a new one.

Regards
Jim
My Addons

Banners Box 2.3.1  Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support