Advance software forum
February 07, 2012, 12:46:43 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: //BOF Inventory addon Step #10 in oscInventory installation  (Read 2911 times)
0 Members and 1 Guest are viewing this topic.
bkherren
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: October 14, 2008, 02:01:54 PM »

I did step 10, (/store/admin/categories.php) but now have this across the top of my Product page:

        //BOF Inventory addon *****************************************************
        require_once('inventory/inventory.php');
        //EOF Inventory addon *****************************************************
 

Help?
Logged
bkherren
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #1 on: October 14, 2008, 02:10:23 PM »

Also getting an SQL error

#1062 - Duplicate entry '149' for key 1
INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
(149, 'Product Info Attribute Display Plugin',

Logged
Zergus
Administrator
Newbie
*****
Offline Offline

Posts: 10


be advanced!


View Profile WWW
« Reply #2 on: October 15, 2008, 03:07:42 AM »

Hello,

Regarding the problem #1:
Change the following text:
Code:
        //BOF Inventory addon *****************************************************
        require_once('inventory/inventory.php');
        //EOF Inventory addon *****************************************************
to
Code:
<?php
        
//BOF Inventory addon *****************************************************
        
require_once('inventory/inventory.php');
        
//EOF Inventory addon *****************************************************
?>



Regarding the problem #2:
Change
Code:
VALUES
(149,
to
Code:
VALUES
('',
this way you will eliminate duplicate errors. You must also repeat this for 150 - 153 values too.

Logged

God, give me the serenity to accept what cannot be changed, give me courage to change what can be changed and give me the wisdom to distinguish one from the other.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!