gojuryu Posted April 13, 2007 Share Posted April 13, 2007 I tried to install the 1.5.4 version and got the same error. I reinsalled the 1.2 version and it was back to normal. The code is the same code in the 1.5.4 version release on the contribution page. There must be an error in it, but I can't find it. I've searched and come up with the same problem as well. Everything is perfect according to the installation instructions. seems it would be impossible to have such an error in line 1. My code reads as follows <?php /* $Id: contrib_tracker.php,v .9 2007/01/08 11:25:32 lildog Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License _________________________________________________________________ Contribution Tracker MODULE for osC Admin By Admin of www.silvermoon-jewelry.com Based on: Admin_notes: Original Code By: Robert Hellemans of www.RuddlesMills.com RSS News for OSC These are LIVE SHOPS - So please, no TEST accounts etc... We will report you to your ISP if you abuse our websites! note_created- original date added to store contr_last_modified- last time (an update has been issued) modified at OSC Site last_update- last updated in Store. DATE_STATUS_CHANGE--DITCH, WHO CARES? */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'rdf_class.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTRIB_TRACKER); $format = '%Y-%m-%d %H:%M:%S'; function tep_set_contrib_query_status($contr_id, $status,$contr_last_modified) { // IF THERE IS NO LAST MODIFIED DATE USE NOW ELSE USE THE $contr_last_modified (LAST TIME THE CONTRIB APPEARED IN THE RSS FEED) if ($contr_last_modified == NULL){ $last_update_date= strftime($format,time()); }else{ $last_update_date= $contr_last_modified; } if ($status == '0') { return tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set status = '0', date_status_change = NULL where contr_id = '" . $contr_id . "'"); } elseif ($status == '1') { return tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set status = '1', date_status_change = now(), last_update='" .$contr_last_modified. "' where contr_id = '" . $contr_id . "'"); } elseif ($status == '2') { return tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set status = '3', date_status_change = now(), last_update='" .$contr_last_modified. "' where contr_id = '" . $contr_id . "'"); } else { return -1; } } and the error reads as follows Parse error: syntax error, unexpected T_STRING in /home/gojuryun/public_html/osCommerce/catalog/admin/includes/languages/english/contrib_tracker.php on line 1 Quote Link to comment Share on other sites More sharing options...
Leak-Proof Posted April 16, 2007 Share Posted April 16, 2007 Maybe it's the question mark in the comments! Â These are LIVE SHOPS - So please, no TEST accounts etc...We will report you to your ISP if you abuse our websites! Â note_created- original date added to store contr_last_modified- last time (an update has been issued) modified at OSC Site last_update- last updated in Store. Â DATE_STATUS_CHANGE--DITCH, WHO CARES? */ Â Just a thought. Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Â Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
candleman Posted April 16, 2007 Share Posted April 16, 2007 It's the format that it was uploaded on. The author uses a MAC. Tyr uploading it in Binary and that may solve your problem. It worked for me. Quote Currently running 76 contibutions. Link to comment Share on other sites More sharing options...
Maureen Posted April 17, 2007 Share Posted April 17, 2007 and the error reads as follows Parse error: syntax error, unexpected T_STRING in /home/gojuryun/public_html/osCommerce/catalog/admin/includes/languages/english/contrib_tracker.php on line 1 Â The code you posted is from admin/contrib_tracker but your error message is for admin/includes/languages/english/contrib_tracker -- so if you tried to upload the admin/contrib_tracker in binary format and that did not work, try doing the same with ..english/contrib_tracker or checking that file for errors (blank line before the first < ?php or semicolon missing after first define statement, etc) Quote Link to comment Share on other sites More sharing options...
Maureen Posted April 17, 2007 Share Posted April 17, 2007 My problem is with the Edit function. When I edit the information for an installed contribution all fields are re-saved empty. Quote Link to comment Share on other sites More sharing options...
Leak-Proof Posted May 2, 2007 Share Posted May 2, 2007 It's the format that it was uploaded on. The author uses a MAC. Tyr uploading it in Binary and that may solve your problem. It worked for me. Â Switching to binary worked for me too, Thank-you. Â RJ Quote I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting... Â Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database. Link to comment Share on other sites More sharing options...
Maureen Posted May 21, 2007 Share Posted May 21, 2007 My problem is with the Edit function. When I edit the information for an installed contribution all fields are re-saved empty. Â I made changes to the update query in admin/contrib_tracker.php to allow the Edit function to work, these changes have not affected any other function, so far ;) Â From case 'update': if ($old_status!='1' && $status=='1'){ $last_update=date("Y-m-d H:M:S"); } tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $status . "',contrib_name = '" . $contrib_name_new . "', contrib_link = '" . $contrib_link_new . "', config_comments = '" . $config_comments . "', last_update = '" . $last_update . "', contrib_vers= '" . $contrib_vers . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); Â To case 'update': if ($old_status!='1' && $status=='1'){ $last_update=date("Y-m-d H:M:S"); } tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $HTTP_POST_VARS['status'] . "',contrib_name = '" . $HTTP_POST_VARS['contrib_name_new'] . "', contrib_link = '" . $HTTP_POST_VARS['contrib_link_new'] . "', config_comments = '" . $HTTP_POST_VARS['config_comments'] . "', last_update = '" . $HTTP_POST_VARS['last_update'] . "', note_created = '" . $HTTP_POST_VARS['note_created'] . "',contrib_vers= '" . $HTTP_POST_VARS['contrib_vers'] . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); //tep_db_query("update " . TABLE_CONTRIB_TRACKER . " set contr_last_modified = now(), status = '" . $status . "',contrib_name = '" . $contrib_name_new . "', contrib_link = '" . $contrib_link_new . "', config_comments = '" . $config_comments . "', last_update = '" . $last_update . "', contrib_vers= '" . $contrib_vers . "' where contr_id = '" . $HTTP_POST_VARS['contr_id'] . "'"); Quote Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2007 Share Posted August 8, 2007 I just attempted to install Contrib Tracker 1.5.4 and get the following errors. Â Warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\Program Files\xampp\htdocs\catalog\admin\contrib_tracker.php on line 336 Â Warning: reset() [function.reset]: Passed variable is not an array or object in C:\Program Files\xampp\htdocs\catalog\admin\includes\classes\object_info.php on line 17 Â Warning: Variable passed to each() is not an array or object in C:\Program Files\xampp\htdocs\catalog\admin\includes\classes\object_info.php on line 18 Â Can anyone help? Quote Link to comment Share on other sites More sharing options...
golfman2006 Posted August 9, 2007 Share Posted August 9, 2007 (edited) First off, thanks for this great contribution. This is one of the most used contributions we have in our shop. Â Problem is that our hosting company went and changed a couple settings on our server which they intend to keep. These changes now affect this contribution. When we try to access the Contrib Tracker page on the admin side, we get this error "could not open XML input". Â Here are the comments we received from our hosting company after they made the changes: In addition to disabling register_globals, we are also disabling allow_url_fopen global, which cannot be re-enabled unless done globally. You will need to find another solution that does not require allow_url_fopen to work. Â Is there a fix or workaround that someone can recommend to help resolve this issue? This only seems to affect this contribution as the rest of the site os working properly since changes were made by the host. Â We have applied all updates to this contribution up through the fix posted 8/7/07, and still the error "could not open XML input" is issued when trying to pull up this page in admin. Edited August 9, 2007 by golfman2006 Quote Link to comment Share on other sites More sharing options...
lildog Posted September 5, 2007 Author Share Posted September 5, 2007 Golfman, It appears there is an alternative, using the cURL library. I will work on it after I finish my current project. Give me a couple of days. If you know php moderately, which is all I know. google allow_url_fopen alternative and a number of references will come up. It is probably a good thing, it appears it is a minor security issue and my server will probably follow suit soon. Â lildog Quote Link to comment Share on other sites More sharing options...
lildog Posted September 6, 2007 Author Share Posted September 6, 2007 I have updated this contrib for those that have fopen turned off. Â Todd Quote Link to comment Share on other sites More sharing options...
apeofgod Posted September 6, 2007 Share Posted September 6, 2007 I have the 1.5.5 version here (in my machine, not a web server), installed it correctly, but when i try to run i get that error:  Warning: fopen(/www/shop/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in E:\WORK\xampp\htdocs\www\shop\admin\includes\functions\contrib_tracker.php on line 23 Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in E:\WORK\xampp\htdocs\www\shop\admin\includes\functions\contrib_tracker.php on line 24 en [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] osCommerce, Open Source E-Commerce Solutions Copyright © 2006 osCommerce hpdl@oscommerce.com [url="http://www.oscommerce.com/images/oscommerce_88x31.gif"]http://www.oscommerce.com/images/oscommerce_88x31.gif[/url] [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] [url="http://www.oscommerce.com/community/contributions,3009"]http://www.oscommerce.com/community/contributions,3009[/url] Thu, 06 Sep 2007 15:42:58 -0400 [url="http://www.oscommerce.com/community/contributions,2146"]http://www.oscommerce.com/community/contributions,2146[/url] Thu, 06 Sep 2007 14:21:51 -0400 [url="http://www.oscommerce.com/community/contributions,5272"]http://www.oscommerce.com/community/contributions,5272[/url] $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; } if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "' and " . $search . " order by " . $order; und ersetze durch: $where = ' where '; if (isset($HTTP_GET_VARS['search']) && tep_not_null($HTTP_GET_VARS['search'])) { $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " and ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; } else if ($showLinkStatus == 'All') $where = ''; if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "'" . $search . " order by " . $order]]> Thu, 06 Sep 2007 13:43:51 -0400 [url="http://www.oscommerce.com/community/contributions,1642"]http://www.oscommerce.com/community/contributions,1642[/url] $new_image = $product_info['products_image_med']; $image_width = MEDIUM_IMAGE_WIDTH; $image_height = MEDIUM_IMAGE_HEIGHT; } else { $new_image = $product_info['products_image']; $image_width = SMALL_IMAGE_WIDTH; $image_height = SMALL_IMAGE_HEIGHT;}?> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\')">' . tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . $new_image . 'ℑ=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> <!-- // EOF MaxiDVD: Modified For Ultimate Images Pack! //--> 3 -Finished! Note: use squre image proportion for best result. Please email for your question: osi@osicommerce.com Forum topic for UF: [url="http://www.oscommerce.com/forums/index.php?showtopic=275418"]http://www.oscommerce.com/forums/index.php?showtopic=275418[/url] Demo : [url="http://osicommerce.com/demo1/product_info.php?cPath=2&products_id=6"]http://osicommerce.com/demo1/product_info....p;products_id=6[/url] (if you want to customize this to your store please email us. -size, color & buttons-) osicommerce]]> Thu, 06 Sep 2007 13:04:25 -0400 [url="http://www.oscommerce.com/community/contributions,3398"]http://www.oscommerce.com/community/contributions,3398[/url] Thu, 06 Sep 2007 11:50:32 -0400 [url="http://www.oscommerce.com/community/contributions,4815"]http://www.oscommerce.com/community/contributions,4815[/url] Thu, 06 Sep 2007 11:34:05 -0400 [url="http://www.oscommerce.com/community/contributions,160"]http://www.oscommerce.com/community/contributions,160[/url] Thu, 06 Sep 2007 09:17:02 -0400 [url="http://www.oscommerce.com/community/contributions,4061"]http://www.oscommerce.com/community/contributions,4061[/url] Thu, 06 Sep 2007 08:57:57 -0400 [url="http://www.oscommerce.com/community/contributions,2991"]http://www.oscommerce.com/community/contributions,2991[/url] Thu, 06 Sep 2007 07:56:52 -0400 [url="http://www.oscommerce.com/community/contributions,4067"]http://www.oscommerce.com/community/contributions,4067[/url] Thu, 06 Sep 2007 06:47:01 -0400 [url="http://www.oscommerce.com/community/contributions,5402"]http://www.oscommerce.com/community/contributions,5402[/url] Thu, 06 Sep 2007 05:03:02 -0400 [url="http://www.oscommerce.com/community/contributions,4789"]http://www.oscommerce.com/community/contributions,4789[/url] Thu, 06 Sep 2007 03:40:15 -0400 [url="http://www.oscommerce.com/community/contributions,5370"]http://www.oscommerce.com/community/contributions,5370[/url] Thu, 06 Sep 2007 01:59:08 -0400 [url="http://www.oscommerce.com/community/contributions,5308"]http://www.oscommerce.com/community/contributions,5308[/url] Thu, 06 Sep 2007 00:28:04 -0400 [url="http://www.oscommerce.com/community/contributions,5403"]http://www.oscommerce.com/community/contributions,5403[/url] Wed, 05 Sep 2007 13:07:49 -0400 Warning: fclose(): supplied argument is not a valid stream resource in E:\WORK\xampp\htdocs\www\shop\admin\includes\functions\contrib_tracker.php on line 29 could not open XML input  I followed the "Install Contribution Track" file and it's all ok. Could you help me? Quote Link to comment Share on other sites More sharing options...
lildog Posted September 6, 2007 Author Share Posted September 6, 2007 Assuming the problem is in your admin page I would say go into admin/contrib_tracker.php and adjust these lines to match your store.  vWritePageToFile('http://feeds.feedburner.com/osCommerce_Contributions?format=xml', DIR_WS_CATALOG. 'rsscache/contrib_rss.html');  $channel = new rdfFile(DIR_WS_CATALOG. 'rsscache/contrib_rss.html'); //rss cached file path   for some reason, the curl function is not writting the file. Also be sure there is a folder rsscache with write permissions (777) in your catalog folder, check to see that DIR_WS_CATALOG points to your store root in configure.php.  lildog Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted September 11, 2007 Share Posted September 11, 2007 Hey lildog. Â I have drive with this contri since the first version from you. I have update to 1.5.6 but get this error now. Fatal error: Call to undefined function: curl_init() in "MY URL/admin/includes/functions/contrib_tracker.php" on line 22 Â Line 22 is : $sh=curl_init($sHTMLpage); Â Hope you can help me :) Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 Here are the new errors I get with 1.5.6. Â Warning: fopen(/catalog/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 23 Â Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 24 Â Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 29 Â could not open XML input Quote Link to comment Share on other sites More sharing options...
lildog Posted September 12, 2007 Author Share Posted September 12, 2007 Exterminator, You should revert back to version 1.5.5. It seems like curl is not enabled on your server. I will update the contrib with curl versions and no curl versions. i appologize for any inconvenience. I would guess you could go to admin/server_info and see if curl is enabled. You could also ask your server to turn curl on as from what I read is more secure than fopen. Â lildog Quote Link to comment Share on other sites More sharing options...
lildog Posted September 12, 2007 Author Share Posted September 12, 2007 Here are the new errors I get with 1.5.6. Warning: fopen(/catalog/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 23  Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 24  Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\catalog\admin\includes\functions\contrib_tracker.php on line 29  could not open XML input  WOW. I will look into those errors later today. Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted September 12, 2007 Share Posted September 12, 2007 I have my own server. I take a look on curl is enabled  Exterminator, You should revert back to version 1.5.5. It seems like curl is not enabled on your server. I will update the contrib with curl versions and no curl versions. i appologize for any inconvenience. I would guess you could go to admin/server_info and see if curl is enabled. You could also ask your server to turn curl on as from what I read is more secure than fopen.  lildog Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted September 12, 2007 Share Posted September 12, 2007 I have my own server. and curl is disebelet Quote Link to comment Share on other sites More sharing options...
lildog Posted September 28, 2007 Author Share Posted September 28, 2007 I have uploaded a new version that uses curl OR fopen depending on what is available. I am sorry for the confusion. Â lildog Quote Link to comment Share on other sites More sharing options...
mark27uk3 Posted September 29, 2007 Share Posted September 29, 2007 I have tried to install the 2 latest versions of this contribution but both are producing this:  Warning: fopen(/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in /home/*****/public_html/*****/admin/includes/functions/contrib_tracker.php on line 23 Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /home/oscommer/public_html/new/admin/includes/functions/contrib_tracker.php on line 24 en http://www.oscommerce.com osCommerce, Open Source E-Commerce Solutions Copyright © 2007 osCommerce hpdl@oscommerce.com http://www.oscommerce.com/images/oscommerce_88x31.gif http://www.oscommerce.com http://addons.oscommerce.com/info/5198 Sat, 29 Sep 2007 07:42:47 -0400 http://addons.oscommerce.com/info/5272 habe diese tolle constrib mal installiert und bin echt begeistert  die Sprachdateien sind teilweise unvollständig gewesen. Ich habe versucht diese zu ergänzen  ein kleiner Bug in adminbereich behoben wenn Fehlermeldung "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 '-20, 20' at line 1" in admin/link.php  finde: $where = ''; if (isset($HTTP_GET_VARS['search']) && tep_not_null($HTTP_GET_VARS['search'])) { $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; }  if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "' and " . $search . " order by " . $order;  und ersetze durch: $where = ' where '; if (isset($HTTP_GET_VARS['search']) && tep_not_null($HTTP_GET_VARS['search'])) { $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " and ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; } else if ($showLinkStatus == 'All') $where = '';  if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "'" . $search . " order by " . $order;  ]]> Sat, 29 Sep 2007 06:58:33 -0400 http://addons.oscommerce.com/info/3904 Sat, 29 Sep 2007 06:42:45 -0400 http://addons.oscommerce.com/info/5229 Fri, 28 Sep 2007 20:20:59 -0400 http://addons.oscommerce.com/info/4815 This version uses uses fopen if curl lib is not available. I also fixed a couple of problems with the links in the admin part. if a link was empty or not a url errors were generated. Moved functions to fuctions file. When clicking a contrib name in admin it now opens anew window to load OSCommerce page for that contribution. ]]> Fri, 28 Sep 2007 19:25:02 -0400 http://addons.oscommerce.com/info/5448 Fri, 28 Sep 2007 13:54:43 -0400 http://addons.oscommerce.com/info/5422 Fri, 28 Sep 2007 13:43:20 -0400 http://addons.oscommerce.com/info/4397 The email received to admin had no subject and message. The reason was with "require (file name)". I have just moved the line 76 to the top and uploaded the file "product_reviews_write.php" under catalog. All credit goes to the original contributor. Great work! Thanks, ]]> Fri, 28 Sep 2007 03:31:46 -0400 http://addons.oscommerce.com/info/5241 It will bring every new register member to the confirmation page along with the code, this open the system for new member using a false email.  This update will fix so they could only use the link in their email.  Run this update AFTER you have Auto Fill Activation Code Installed!]]> Fri, 28 Sep 2007 03:23:24 -0400 http://addons.oscommerce.com/info/5300 Thu, 27 Sep 2007 22:56:09 -0400 http://addons.oscommerce.com/info/4269 This is a full package. Upgrade instructions assume version 3.2 is installed.]]> Thu, 27 Sep 2007 21:12:48 -0400 http://addons.oscommerce.com/info/4715 1) Acceso al admin del TPV desde el mismo modulo de pago.  2) Ya no se perderan mas los pedidos, ya que el proceso de notificación funciona perfectamente. Aunque no vuelvan a la tienda este pedido se guardará.  3) Nuevo campo de terminal para poder aceptar los dos terminales por excelencia el 1 y el 2 que segun la sucursal puede cambiar. Esto permitirá a la vez trabajar con casi cualquier modulo de servired, con terminal 1 y 2 exceptuando los que trabajen con la firma antigua que cada vez son menos...  Para dudas, errores o informacion, mi mail/msn (atencion_clientes@hotmail.com)  Saludos desde Barcelona España.]]> Thu, 27 Sep 2007 20:48:35 -0400 http://addons.oscommerce.com/info/3998 Change in.. Admin/configure.php and html_output.php. It works for me anyway.  It is just a small txt file inside zip.  Thanks to previous guys.]]> Thu, 27 Sep 2007 18:35:38 -0400 http://addons.oscommerce.com/info/5350 If upgrading from a previous version, the column products_abfs_class in the products table needs to be modified to store up to 6 characters.]]> Thu, 27 Sep 2007 17:04:15 -0400 http://addons.oscommerce.com/info/3661 Thu, 27 Sep 2007 01:09:56 -0400 Warning: fclose(): supplied argument is not a valid stream resource in /home/*****/public_html/*****/admin/includes/functions/contrib_tracker.php on line 29 could not open XML input  anu ideas??? :'(  Thanks  Mark Quote Lifes a bitch, then you marry one, then you die! Link to comment Share on other sites More sharing options...
andes1 Posted September 29, 2007 Share Posted September 29, 2007 same problem as above Quote Link to comment Share on other sites More sharing options...
lildog Posted September 30, 2007 Author Share Posted September 30, 2007 try deleting any existing file in the rsscache folder then try loading the contrib again. Somewhere I omitted the delete function and the file was not getting deleted and generating an error. Â Let me know if this works. Â lildog Quote Link to comment Share on other sites More sharing options...
elcidd Posted September 30, 2007 Share Posted September 30, 2007 try deleting any existing file in the rsscache folder then try loading the contrib again. Somewhere I omitted the delete function and the file was not getting deleted and generating an error.  Let me know if this works.  lildog   I am getting the same problem as above:  Warning: fopen(/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in /homepages/21/d202393536/htdocs/wii/Backup/includes/functions/contrib_tracker.php on line 23  Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /homepages/21/d202393536/htdocs/wii/Backup/includes/functions/contrib_tracker.php on line 24  There is nothing in my rsscache folder. Here is the full code:  Warning: fopen(/rsscache/contrib_rss.html) [function.fopen]: failed to open stream: No such file or directory in /homepages/21/d202393536/htdocs/wii/Backup/admin/includes/functions/contrib_tracker.php on line 23 Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /homepages/21/d202393536/htdocs/wii/Backup/admin/includes/functions/contrib_tracker.php on line 24 en [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] osCommerce, Open Source E-Commerce Solutions Copyright © 2007 osCommerce hpdl@oscommerce.com [url="http://www.oscommerce.com/images/oscommerce_88x31.gif"]http://www.oscommerce.com/images/oscommerce_88x31.gif[/url] [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] [url="http://addons.oscommerce.com/info/1484"]http://addons.oscommerce.com/info/1484[/url] this contribution messes up OSC in unexpected ways. all pages displaying thumbnails will generate a HTTP error 500 (Internal Server Error) on machines running the latest PHP (5.2.4) you won't get the error in a browser, but all robots will be snubbed. test before using!]]> Sat, 29 Sep 2007 18:17:46 -0400 [url="http://addons.oscommerce.com/info/1558"]http://addons.oscommerce.com/info/1558[/url] Sat, 29 Sep 2007 16:13:30 -0400 [url="http://addons.oscommerce.com/info/2896"]http://addons.oscommerce.com/info/2896[/url] =============================== Hi.. i would like to know what is cron & where to set it automatically? i've search in the forum regarding this great contribution but i couldnt find it.. pls help thanx no file attached!]]> Sat, 29 Sep 2007 13:04:01 -0400 [url="http://addons.oscommerce.com/info/1077"]http://addons.oscommerce.com/info/1077[/url] I've attached an updated CGIF class which is available from [url="http://sourceforge.net/tracker/index.php?func=detail&aid=1537502&group_id=114602&atid=668888"]http://sourceforge.net/tracker/index.php?f...amp;atid=668888[/url]]]> Sat, 29 Sep 2007 10:50:20 -0400 [url="http://addons.oscommerce.com/info/5272"]http://addons.oscommerce.com/info/5272[/url] habe diese tolle constrib mal installiert und bin echt begeistert die Sprachdateien sind teilweise unvollständig gewesen. Ich habe versucht diese zu ergänzen ein kleiner Bug in adminbereich behoben wenn Fehlermeldung "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 '-20, 20' at line 1" in admin/link.php finde: $where = ''; if (isset($HTTP_GET_VARS['search']) && tep_not_null($HTTP_GET_VARS['search'])) { $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; } if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "' and " . $search . " order by " . $order; und ersetze durch: $where = ' where '; if (isset($HTTP_GET_VARS['search']) && tep_not_null($HTTP_GET_VARS['search'])) { $keywords = tep_db_input(tep_db_prepare_input($HTTP_GET_VARS['search'])); $where = ' where '; $search = " and ld.links_title like '%" . $keywords . "%' or l.links_url like '%" . $keywords . "%'"; } else if ($showLinkStatus == 'All') $where = ''; if ($showLinkStatus == 'All') $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . $search . " order by " . $order; else $links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_reciprocal_disable, l.links_status from " . TABLE_LINKS . " l left join ( " . TABLE_LINKS_DESCRIPTION . " ld ) on ( l.links_id = ld.links_id ) " . $where . " l.links_status = '" . $showLinkStatus . "'" . $search . " order by " . $order; ]]> Sat, 29 Sep 2007 06:58:33 -0400 [url="http://addons.oscommerce.com/info/3904"]http://addons.oscommerce.com/info/3904[/url] Sat, 29 Sep 2007 06:42:45 -0400 [url="http://addons.oscommerce.com/info/5229"]http://addons.oscommerce.com/info/5229[/url] Fri, 28 Sep 2007 20:20:59 -0400 [url="http://addons.oscommerce.com/info/4815"]http://addons.oscommerce.com/info/4815[/url] This version uses uses fopen if curl lib is not available. I also fixed a couple of problems with the links in the admin part. if a link was empty or not a url errors were generated. Moved functions to fuctions file. When clicking a contrib name in admin it now opens anew window to load OSCommerce page for that contribution. ]]> Fri, 28 Sep 2007 19:25:02 -0400 [url="http://addons.oscommerce.com/info/5448"]http://addons.oscommerce.com/info/5448[/url] Fri, 28 Sep 2007 13:54:43 -0400 [url="http://addons.oscommerce.com/info/5422"]http://addons.oscommerce.com/info/5422[/url] Fri, 28 Sep 2007 13:43:20 -0400 [url="http://addons.oscommerce.com/info/4397"]http://addons.oscommerce.com/info/4397[/url] The email received to admin had no subject and message. The reason was with "require (file name)". I have just moved the line 76 to the top and uploaded the file "product_reviews_write.php" under catalog. All credit goes to the original contributor. Great work! Thanks, ]]> Fri, 28 Sep 2007 03:31:46 -0400 [url="http://addons.oscommerce.com/info/5241"]http://addons.oscommerce.com/info/5241[/url] It will bring every new register member to the confirmation page along with the code, this open the system for new member using a false email. This update will fix so they could only use the link in their email. Run this update AFTER you have Auto Fill Activation Code Installed!]]> Fri, 28 Sep 2007 03:23:24 -0400 [url="http://addons.oscommerce.com/info/5300"]http://addons.oscommerce.com/info/5300[/url] Thu, 27 Sep 2007 22:56:09 -0400 [url="http://addons.oscommerce.com/info/4269"]http://addons.oscommerce.com/info/4269[/url] This is a full package. Upgrade instructions assume version 3.2 is installed.]]> Thu, 27 Sep 2007 21:12:48 -0400 [url="http://addons.oscommerce.com/info/4715"]http://addons.oscommerce.com/info/4715[/url] 1) Acceso al admin del TPV desde el mismo modulo de pago. 2) Ya no se perderan mas los pedidos, ya que el proceso de notificación funciona perfectamente. Aunque no vuelvan a la tienda este pedido se guardará. 3) Nuevo campo de terminal para poder aceptar los dos terminales por excelencia el 1 y el 2 que segun la sucursal puede cambiar. Esto permitirá a la vez trabajar con casi cualquier modulo de servired, con terminal 1 y 2 exceptuando los que trabajen con la firma antigua que cada vez son menos... Para dudas, errores o informacion, mi mail/msn (atencion_clientes@hotmail.com) Saludos desde Barcelona España.]]> Thu, 27 Sep 2007 20:48:35 -0400 Warning: fclose(): supplied argument is not a valid stream resource in /homepages/21/d202393536/htdocs/wii/Backup/admin/includes/functions/contrib_tracker.php on line 29 could not open XML input Quote Link to comment Share on other sites More sharing options...
mark27uk3 Posted September 30, 2007 Share Posted September 30, 2007 try deleting any existing file in the rsscache folder then try loading the contrib again. Somewhere I omitted the delete function and the file was not getting deleted and generating an error.  Let me know if this works.  lildog  No file is being created in the rsscache folder, the permissions are set to 777.  Mark Quote Lifes a bitch, then you marry one, then you die! 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.