Results 1 to 10 of 10

templating tutorials

This is a discussion on templating tutorials within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; anyone got any templating tips or tutorials, i am a begginer, ive only made a simple theme in STS for ...

      
  1. #1
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default templating tutorials

    anyone got any templating tips or tutorials, i am a begginer, ive only made a simple theme in STS for OSc but not BTS...

  2. #2
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    i am getting problems when i add products
    Code:
    1054 - Unknown column 'p.products_id' in 'on clause'
    
    select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials_retail_prices s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '1'
    
    [TEP STOP]
    any idea?

  3. #3
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    anyone know what could cause this?

  4. #4
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    okeys i'll give a better description of the situation, i have created a catergory, and then i've placed a product inside this... all goes fine, no errors, then i browse the category from the menu on the side, and that error occurs.

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: templating tutorials

    Your database is not set up correctly. You are missing the products_id field. Re-create your database.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    here are some screenshots of the errors





    i am running on xampp if that makes any difference

  7. #7
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    i ran the installer to install and then added a sample cat and sample product inside the cat...

  8. #8
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default RE: templating tutorials

    1054 - Unknown column 'p.products_id' in 'on clause'

    select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials_retail_prices s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '1'

    [TEP STOP]
    I think you're using MySQL5, and osC is not ready for it. But I might be wrong.

  9. #9
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    mysql
    MySQL Support enabled
    Active Persistent Links 0
    Active Links 0
    Client API version 5.0.18

    i got that from PHP INFO.

    It works with Oscommerce, just Osmax seems to come up with Errors =(... i'll try installing on my remote web server to see if that changes it.

  10. #10
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default RE: templating tutorials

    okeys i installed using mysql 4 database live and it's working... however two products are being displayed in each cat, like one on top of the other.. same as the screenshot shows, is this menna happen?

Similar Threads

  1. templating: osCommerce vs. osMax 2.x vs. ZenCart
    By gravyface in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-19-2006, 09:27 AM
  2. OSCMax templating system
    By laluna in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 11-14-2005, 08:34 AM
  3. Templating
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 09-05-2003, 12:59 AM

Bookmarks

Posting Permissions

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