+ Reply to Thread
Results 1 to 3 of 3

Thread: Php/Sql Versions requirements for osc
      
   

  1. #1
    azim is offline Sergeant
    Join Date
    Jul 2007
    Posts
    24

    Exclamation Php/Sql Versions requirements for osc

    Hello,
    I have a oscommerce downloaded and i updated with a template of my choice, now i am having trouble with the cart. whenever i enter one item to the cart it shows 10 items in cart.
    I contacted the company i purchased the template from, they said the template requires php and sql version of 4 and i am running version 5.
    How do i change it to version 4 and make it fully functionally with the hosting.

    PLease help!

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,062

    Default Re: Php/Sql Versions requirements for osc

    PHP 5 is superior to 4 and is backwards compatible. So it is not a problem of hosting features.

    Please note that both php and MySQL evolve, and ALL hosting companies update the current versions sooner or later. If the company that created your template used particular php / MySQL functions that only work in version 4, then it is their problem and should update their template.

    However, i consider the above highly improbable so i think there must be a problem with your script somewhere.

    Furthermore, you can't turn the version to something else as this is a shared hosting, so it should be downgraded for all users on the same server.

    I suggest that you try this: install OSCommerce also in another folder on your site, and see if it works correctly. If it does, then it is certainly a problem with the template you installed.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    azim is offline Sergeant
    Join Date
    Jul 2007
    Posts
    24

    Default Re: Php/Sql Versions requirements for osc

    Thanks for your help,
    And you are right that php version 5 is better and soon they are realeasing php 6 and as they do php 6 will be not be used anywhere.
    When i downloaded the oscommerce first it was ok, but when i updated it with my own template. It gave me cart problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49