Jayman007 Posted April 9, 2006 Share Posted April 9, 2006 I also get the response during install.... PHP runtime messages: Done. 1064 - You have an error in your SQL syntax near '; ' at line 7 CREATE TABLE IF NOT EXISTS `contrib_installer` ( `ID` int(4) NOT NULL auto_increment PRIMARY KEY, `line_number` int(5) unsigned default NULL, `file` varchar(255) default NULL, `contrib_name` varchar(255) default NULL ); [CONTRIB INSTALLER TEP STOP]. Seems like there is more than one of us with this problem. Is this a problem with this contrib or is there a conflict that's not being recognized? Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 10, 2006 Share Posted April 10, 2006 PHP runtime messages:Done. 1064 - You have an error in your SQL syntax near '; ' at line 7 Hi! This is an error with sql-statment. What is your version of MySQL? Is Contrib Installer version latest (1.0.15)? Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Jayman007 Posted April 10, 2006 Share Posted April 10, 2006 Hi!This is an error with sql-statment. What is your version of MySQL? Is Contrib Installer version latest (1.0.15)? Running MySQL 3.23.56 as well as Contrib_Installer_1.0.15. Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 10, 2006 Share Posted April 10, 2006 Running MySQL 3.23.56 as well as Contrib_Installer_1.0.15. Try new version of MySQL if it's posible or read about query syntax in your version of MySQL (http://www.mysql.com). Sorry but my native language is not english and reading take time. :blush: This code works fine in MySQL 4.0.17 (tested) and above. When you find a difference in sql-query syntax than I can tell you where you should do changes Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Guest Posted April 11, 2006 Share Posted April 11, 2006 This is the coolest system, i tried installing Contrib_Installer_1.0.15 but i cant seem to install it as everytime i do i get the error message: ---------------- Checking conflicts:findreplace #2 There is a conflict in file: admin/includes/boxes/tools.phpOn line 21 start: 21 end: 21 [r][n] 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));[r][n] This error message means that CIP (Contrib Installer Package) that you are installing tryes to change lines in file that was changed by another CIP before. If file was changed by hand you will see a message that says "Can't find...". What to do? --------------- How do i fix this as it is a fresh install. I try remove option but it gives me a page cannot be displayed issue. please help someone or direct me to a thread related to this Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 11, 2006 Share Posted April 11, 2006 Checking conflicts:findreplace #2 There is a conflict in file: admin/includes/boxes/tools.phpOn line 21 start: 21 end: 21 [r][n] 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));[r][n] This error message means that CIP (Contrib Installer Package) that you are installing tryes to change lines in file that was changed by another CIP before. If file was changed by hand you will see a message that says "Can't find...". This is a conflict. Contrib Installer can't find this string 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));[r][n] in admin/includes/boxes/tools.php Check manually if this file contain this string. If this string exists - try to remove linebreakes ([r][n]) before this string in /admin/contributions/Contrib_Installer_1.0.15/install.xml Or if this string (at line 21) was modified change it in install.xml. Than try to install again. God bless you. Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
artpics Posted April 12, 2006 Share Posted April 12, 2006 (edited) i have just installed the all product contrib, no errors but the link does not appear in the catagories are you sure this bit of code is correct i downloaded the full version. without the installer. "and /catalog/includes/languages/(language)/all_products.php to your /catalog/includes/(language)/all_products.php" in that file this is all it contains define('NAVBAR_TITLE', 'All Products'); define('HEADING_TITLE', 'All Products'); should this not be inserted into another file RT :-" Edited April 12, 2006 by artpics Quote Link to comment Share on other sites More sharing options...
Guest Posted April 12, 2006 Share Posted April 12, 2006 Checking conflicts:findreplace #2 There is a conflict in file: admin/includes/boxes/tools.phpOn line 21 start: 21 end: 21 [r][n] 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));[r][n] This error message means that CIP (Contrib Installer Package) that you are installing tryes to change lines in file that was changed by another CIP before. If file was changed by hand you will see a message that says "Can't find...". This is a conflict. Contrib Installer can't find this string 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));[r][n] in admin/includes/boxes/tools.php Check manually if this file contain this string. If this string exists - try to remove linebreakes ([r][n]) before this string in /admin/contributions/Contrib_Installer_1.0.15/install.xml Or if this string (at line 21) was modified change it in install.xml. Than try to install again. God bless you. Thanks this worked i got the page saying installed, i clicked back and contribinstaller is on my menu on the left but it seems when i click the contrib installer inder tools it gives me a 404 page cannot be found error with "http://adbmarketing.org/catalog/admin/FILENAME_CONTRIB_INSTALLER" in the address line. i noticed while working with other contributions they refer to using a file called "/catalog/admin/includes/filenames.php" but mine somehow recognises the "/catalog/admin/includes/application_top.php" instead. is this correct? Do i take the changes contrib installer makes to "filenames.php" and manually add it to "application_top.php"? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 12, 2006 Share Posted April 12, 2006 Do i take the changes contrib installer makes to "filenames.php" and manually add it to "application_top.php"? | | V I tried this and it still gives me a 404 page cannot be found Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 13, 2006 Share Posted April 13, 2006 About filenames. in install.xml we have: <addcode> <file name="admin/includes/filenames.php"/> <findlinenumbers start="10" end="11"/> <find><![CDATA[Released under the GNU General Public License */]]></find> <add type="php"><![CDATA[ define('FILENAME_CONTRIB_INSTALLER', 'contrib_installer.php'); ]]></add> </addcode> so we use filenames.php to store filenames. Try to remove and than install again Contrib Installer. When you uninstall - this removes all changes and may be bugs. Than do a clean install with changes you have made in install.xml. Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Frank Heinen Posted April 13, 2006 Share Posted April 13, 2006 Regarding the file permissions: Is there some kind of way to change all files to 777 before installing CI and CIPs and when you're done installing modules then change the file permissions back to the original rights? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2006 Share Posted April 14, 2006 Uploaded Contrib Installer 1.0.15 Changes since 1.0.14a: - Added in addcode_xml_check() ($t_array[$loop_index]['FINDLINENUMBERS'][0]['@']['TYPE'] != 'continued' or $t_array[$loop_index]['FINDLINENUMBERS'][0]['@']['TYPE'] != 'new')) So we can use both type="new" and type="continued". - Fixed bug. When register_globals is Off Contrib Installer losts the contrib name at the installation time. Now the contrib name is a function parameter for each function in this files: conflicts_check.php permissions_check.php xml_check.php tag_actions.php (here is a function call) Great stuff.....! this has resolved the "//" issue. I have a further problem trying to install admin access 2.1.1-2. It only displays this message then nothing else happens. I can install admin access manually but then this breaks contrib_installer.. hellp please ******************************************************************************** ********************* Contrib Installer Installing Contribution: Admin_Access-2.1.1-2 From install file: /home/e-sales/netxonline.co.uk/user/htdocs/catalog/admin/contributions/Admin_Access-2.1.1-2/install.xml Author: By Robert Hellemans Updated by MaxiDVD for MS2 Updated by Rinon for PHP5 Comments: Checking config file: No remove query necessary for SQL query: INSERT INTO admin VALUES (1, 1, 'AdminFirstname', 'AdminLastname', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', now(), '0000-00-00 00:00:00', null, 0) No remove query necessary for SQL query: INSERT INTO admin_files VALUES (1, 'administrator.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (2, 'configuration.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (3, 'catalog.php', 1, 0, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (4, 'modules.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (5, 'customers.php', 1, 0, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (6, 'taxes.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (7, 'localization.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (8, 'reports.php', 1, 0, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (9, 'tools.php', 1, 0, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (10, 'admin_members.php', 0, 1, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (11, 'admin_files.php', 0, 1, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (12, 'configuration.php', 0, 2, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (13, 'categories.php', 0, 3, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (14, 'products_attributes.php', 0, 3, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (15, 'manufacturers.php', 0, 3, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (16, 'reviews.php', 0, 3, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (17, 'specials.php', 0, 3, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (18, 'products_expected.php', 0, 3, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (19, 'modules.php', 0, 4, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (20, 'customers.php', 0, 5, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (21, 'orders.php', 0, 5, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (22, 'countries.php', 0, 6, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (23, 'zones.php', 0, 6, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (24, 'geo_zones.php', 0, 6, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (25, 'tax_classes.php', 0, 6, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (26, 'tax_rates.php', 0, 6, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (27, 'currencies.php', 0, 7, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (28, 'languages.php', 0, 7, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (29, 'orders_status.php', 0, 7, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (30, 'stats_products_viewed.php', 0, 8, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (31, 'stats_products_purchased.php', 0, 8, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (32, 'stats_customers.php', 0, 8, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (33, 'backup.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (34, 'banner_manager.php', 0, 9, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (35, 'cache.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (36, 'define_language.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (37, 'file_manager.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (38, 'mail.php', 0, 9, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (39, 'newsletters.php', 0, 9, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (40, 'server_info.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (41, 'whos_online.php', 0, 9, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (42, 'banner_statistics.php', 0, 9, '1,18') No remove query necessary for SQL query: INSERT INTO admin_files VALUES (43, 'contrib_installer.php', 0, 9, '1') No remove query necessary for SQL query: INSERT INTO admin_groups VALUES (1, 'Top Administrator') No remove query necessary for SQL query: INSERT INTO admin_groups VALUES (2, 'Marketing') Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 14, 2006 Share Posted April 14, 2006 No remove query necessary for SQL query: Do you read post above? We discuss this problem. In short: 1. Add remove_query tag content: <remove_query>SELECT 1;</remove_query> Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2006 Share Posted April 15, 2006 Do you read post above? We discuss this problem.In short: 1. Add remove_query tag content: <remove_query>SELECT 1;</remove_query> Hey vlad, sorry i don't understand. Are you saying I should change the code before installing? Any case I have just finished a manual install of Admin Access 22a, http://www.oscommerce.com/community/contri.../download,11962 following the instructions 22a-README.txt for previously altered oscommerce but I would like to know for the future incase I ever need to do it again. Having installed the above I have blank amin pages after the login and the problem seems to be a conflict with contrib_installer's changes to /admin/includes/tools.php. Have you come across this or can you help? :-" Quote Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2006 Share Posted April 15, 2006 Hey vlad, sorry i don't understand. Are you saying I should change the code before installing?Any case I have just finished a manual install of Admin Access 22a, http://www.oscommerce.com/community/contri.../download,11962 following the instructions 22a-README.txt for previously altered oscommerce but I would like to know for the future incase I ever need to do it again. Having installed the above I have blank amin pages after the login and the problem seems to be a conflict with contrib_installer's changes to /admin/includes/tools.php. Have you come across this or can you help? :-" The problem is that contrib_installer has already made changes: /* Begin Contrib_Installer_1.0.15 - installed by Contrib_Installer */ 'link' => tep_href_link(FILENAME_CONTRIB_INSTALLER, 'selected_box=tools')); /* End Contrib_Installer_1.0.15 - installed by Contrib_Installer */ if ($selected_box == 'tools') { $contents[] = array('text' => /* Begin Contrib_Installer_1.0.15 - installed by Contrib_Installer */ '<a href="' . tep_href_link(FILENAME_CONTRIB_INSTALLER) . '" class="menuBoxContentLink">' . BOX_CONTRIB_INSTALLER . '</a><br>' . /* End Contrib_Installer_1.0.15 - installed by Contrib_Installer */ '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' . '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_DEFINE_LANGUAGE) . '" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MAIL) . '" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'); So I'm stuck following the instructions below: FILE NAME: catalog/admin/includes/boxes/tools.php (1 edit) FIND on or about line 24 $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' . '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_DEFINE_LANGUAGE) . '" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MAIL) . '" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'); REPLACE WITH // BOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 1 // reverse comments to below lines to disable this contribution // $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_DEFINE_LANGUAGE) . '" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_MAIL) . '" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>'); $contents[] = array('text' => tep_admin_files_boxes(FILENAME_BACKUP, BOX_TOOLS_BACKUP) . tep_admin_files_boxes(FILENAME_BANNER_MANAGER, BOX_TOOLS_BANNER_MANAGER) . tep_admin_files_boxes(FILENAME_CACHE, BOX_TOOLS_CACHE) . tep_admin_files_boxes(FILENAME_DEFINE_LANGUAGE, BOX_TOOLS_DEFINE_LANGUAGE) . tep_admin_files_boxes(FILENAME_FILE_MANAGER, BOX_TOOLS_FILE_MANAGER) . tep_admin_files_boxes(FILENAME_MAIL, BOX_TOOLS_MAIL) . tep_admin_files_boxes(FILENAME_NEWSLETTERS, BOX_TOOLS_NEWSLETTER_MANAGER) . tep_admin_files_boxes(FILENAME_SERVER_INFO, BOX_TOOLS_SERVER_INFO) . tep_admin_files_boxes(FILENAME_WHOS_ONLINE, BOX_TOOLS_WHOS_ONLINE)); // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 16, 2006 Share Posted April 16, 2006 Do you read post above? We discuss this problem.In short: 1. Add remove_query tag content: <remove_query>SELECT 1;</remove_query> I have decide to remove the manual install of Admin Access 22a and try again to install CIP admin access. I searched and changed all the <remove_query></remove_query> and replaced with <remove_query>SELECT 1;</remove_query> but now I get this error. Contrib Installer Installing Contribution: Admin_Access-2.1.1-2 From install file: /home/e-sales/netxonline.co.uk/user/htdocs/catalog/admin/contributions/Admin_Access-2.1.1-2/install.xml Author: By Robert Hellemans Updated by MaxiDVD for MS2 Updated by Rinon for PHP5 Comments: Checking config file: File install.xml is valid. Checking permissions: Permissions is OK. Checking conflicts: Not original text in find-section. Have been found 6 times!!! (findreplace #4) in the file: /home/e-sales/netxonline.co.uk/user/htdocs/catalog/admin/includes/boxes/catalog.php[/color [/indent]'<a href="' . tep_href_link( .; Quote Link to comment Share on other sites More sharing options...
iscnitzan Posted April 18, 2006 Share Posted April 18, 2006 and what directory you specified ? does you install "contrib installer" with it self? No, I tried installing it following the instructions. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 18, 2006 Share Posted April 18, 2006 I have decide to remove the manual install of Admin Access 22a and try again to install CIP admin access. I searched and changed all the<remove_query></remove_query> and replaced with <remove_query>SELECT 1;</remove_query> but now I get this error. Contrib Installer Installing Contribution: Admin_Access-2.1.1-2 From install file: /home/e-sales/netxonline.co.uk/user/htdocs/catalog/admin/contributions/Admin_Access-2.1.1-2/install.xml Author: By Robert Hellemans Updated by MaxiDVD for MS2 Updated by Rinon for PHP5 Comments: Checking config file: File install.xml is valid. Checking permissions: Permissions is OK. Checking conflicts: Not original text in find-section. Have been found 6 times!!! (findreplace #4) in the file: /home/e-sales/netxonline.co.uk/user/htdocs/catalog/admin/includes/boxes/catalog.php[/color [/indent]'<a href="' . tep_href_link( .; Has anyone any ideas? please...... Quote Link to comment Share on other sites More sharing options...
Guest Posted April 19, 2006 Share Posted April 19, 2006 What contribs is this able to install? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 19, 2006 Share Posted April 19, 2006 What contribs is this able to install? http://www.oscommerce.com/community/contri...,all/search,cip Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 19, 2006 Share Posted April 19, 2006 Not original text in find-section. Have been found 6 times!!! This means: string that must be replaced found not just one time. you know in Contrib Installer now don't used line numbers to found string. I will fix it soon. This is a mistake. Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2006 Share Posted April 24, 2006 This means:string that must be replaced found not just one time. you know in Contrib Installer now don't used line numbers to found string. I will fix it soon. This is a mistake. Thanks for replying Vlad. Is there a temporary fix to resolve my issue or do I have to install Admin Access Level manually for now. If so, then this will be hard when it comes to the edits for "html_output.php" The Contrib_Installer entries that are already there make it difficult :( Quote Link to comment Share on other sites More sharing options...
Vlad Savitsky Posted April 24, 2006 Share Posted April 24, 2006 Is there a temporary fix to resolve my issue or do I have to install Admin Access Level manually for now. If so, then this will be hard when it comes to the edits for "html_output.php" The Contrib_Installer entries that are already there make it difficult Ok. You can find this tag by id in install.xml. Than copy text between <find> and </find> Open file which name is in <file name="..."> and find copied string in it. Problem is that this code exists in file in more that one place. Use line numbers from install.xml to find correct piece of code. Than try to make this piece of code different from other in this file. When you do it copy this text to install.xml and try to install agian. Quote =============================== Never give up! Never give up! Never give up! Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2006 Share Posted April 24, 2006 Ok. You can find this tag by id in install.xml.Than copy text between <find> and </find> Open file which name is in <file name="..."> and find copied string in it. Problem is that this code exists in file in more that one place. Use line numbers from install.xml to find correct piece of code. Than try to make this piece of code different from other in this file. When you do it copy this text to install.xml and try to install agian. ------------------------------------------------------------------------- Vlad Does this look like it might work? Original install.xml section <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href="' . tep_href_link(]]></find> <replace><![CDATA[ /* Begin Admin_Access-2.1.1 - installed by contrib_installer */ tep_admin_files_boxes(]]></replace> <originallinenumbers start="24" end="29" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a>');]]></find> <replace><![CDATA[)); /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> Original catalog.php entries $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> Changed install.xml section <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href=' . tep_href_link0(]]></find> <replace><![CDATA[ /* Begin Admin_Access-2.1.1 - installed by contrib_installer */ tep_admin_files_boxes(]]></replace> <originallinenumbers start="24" end="29" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href="' . tep_href_link1(]]></find> <replace><![CDATA[ tep_admin_files_boxes(]]></replace> <<originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href=' . tep_href_link2(]]></find> <replace><![CDATA[ tep_admin_files_boxes(]]></replace> <<originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href=' . tep_href_link3(]]></find> <replace><![CDATA[ tep_admin_files_boxes(]]></replace> <<originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href=' . tep_href_link4(]]></find> <replace><![CDATA[ tep_admin_files_boxes(]]></replace> <<originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA['<a href=' . tep_href_link5(]]></find> <replace><![CDATA[ tep_admin_files_boxes(]]></replace> <<originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL0') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL1') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL2') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL3') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL4') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[, '', 'NONSSL5') . '" class="menuBoxContentLink">' . ]]></find> <replace>, </replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a0><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a1><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a2><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a3><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a4><br>' .]]></find> <replace><![CDATA[) . /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> <originallinenumbers type="continued" /> </findreplace> <findreplace> <file name="admin/includes/boxes/catalog.php" /> <find><![CDATA[ . '</a>');]]></find> <replace><![CDATA[)); /* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace> *** here, may I remove all instances of (/* End Admin_Access-2.1.1 - installed by contrib_installer */]]></replace>) except one at the end?*** Changed catalog.php section $contents[] = array('text' => '<a href="' . tep_href_link0(FILENAME_CATEGORIES , '', 'NONSSL0') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a0><br>' . '<a href="' . tep_href_link1(FILENAME_PRODUCTS_ATTRIBUTES , '', 'NONSSL1') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a1><br>' . '<a href="' . tep_href_link2(FILENAME_MANUFACTURERS , '', 'NONSSL2') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a2><br>' . '<a href="' . tep_href_link3(FILENAME_REVIEWS , '', 'NONSSL3') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a3><br>' . ***etc*** class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2006 Share Posted April 24, 2006 (edited) ------------------------------------------------------------------------- Vlad Does this look like it might work? ----snip---- hmmm... tried it and got this now Error in findreplace section #5: no linenumbers start, end or type. file: admin/includes/boxes/catalog.php find: '<a href="' . tep_href_link1(replace: tep_admin_files_boxes( Edited April 24, 2006 by bosey Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.