Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adikira

Archived
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Adrian Chira

adikira's Achievements

  1. 1). I don't know. Try to do what amhazing suggested above (install the earlier version 0.5d and do the modifications he suggested - I haven't tried that myself). 2). You don't. Just open install.xml in a text editor or viewer and copy the required portions and go to phpMyAdmin, go into your db and then go to the tab called "SQL" where you paste what you copied previously and then run the SQL statement. But I tried that and it still didn't work. I still recommend to try what amhazing suggested. Merry Christmas, Adrian
  2. I think there is a mispelling, it's probably configuration not gonfiguration in the SQL statement above. Anyway, I don't have configuration_group configuration I don't see the statements that create these tables. I tried to trace back the statements to " function contrib_tep_db_query($query, $link = 'db_link') { " in /admin/includes/functions/contrib_installer_base.php but I couldn't figure out completely how it works. Can you post the information on the structure of these databases? At least I'll try to create them manually. Thanks, Adrian
  3. It seems that there is a statement missing here: <sql> <query><![CDATA[ INSERT INTO `installed_contributions_type` VALUES (1,'Credit Modules',1),(1,'Features',1), (1,'Images',1), (1,'InfoBoxes',1),(1,'Languages',1),(1,'Order Total Modules',1),(1,'Payment Modules',1),(1,'Reports',1), (1,'Shipping Modules',1),(1,'Templates / Themes',1),(1,'Other',1),(1,'Zones',1),(1,'Bookmarks',1); ]]></query> <remove_query>SELECT * FROM `configuration_group` WHERE 1=0;</remove_query> </sql> the <query> statement shold cotinue with a <remove_query> for installed_contributions_type and <remove_query> for configuration_group should go atfer some kind of CREATE statement for configuration_group. Am I right? Adrian
  4. Hi, I have the same problems, I tried the SQL statements in the instal.xml file When I get to: tep_db_query("INSERT INTO configuration_group VALUES (NULL, 'Contrib Installer', 'Configuration for the Contrib Installer', NULL, 1)"); I get: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tep_db_query("INSERT INTO configuration_group VALUES (NULL, 'Contrib Installer',' at line 1 I did not find a configuration_group table in my db and did not find any statement that creates it. Any ideas? I use contrib_Installer_1.0.3 and osCommerce oscommerce-2.2ms2-051113 PS what's the role of " global $contrib_dir; " (right before the statement i get an error at)? I'm not supposed to run it as a sql statement, right? Thanks, Adrian Sandra: Just open the install.xml file with a text editor or viewer and copy the statements that come after <sql> <query><![CDATA[ so, the first thing to copy and runt in as a sql statement in the install.xml file is: CREATE TABLE IF NOT EXISTS `contrib_installer` ( `ID` int(4) NOT NULL auto_increment, `line_number` int(5) unsigned default NULL, `file` varchar(255) default NULL, `contrib_name` varchar(255) default NULL, PRIMARY KEY (`ID`) ); I use phpMyAdmin to run the statements. Hope it helps! Adrian
×
×
  • Create New...