

lowkey704
Members-
Content count
196 -
Joined
-
Last visited
Profile Information
-
Real Name
lonny m.
-
Gender
Male
-
Location
NC
- Website
-
KerkChzePerng started following lowkey704
-
lowkey704 started following KerkChzePerng
-
Support thread for the Image Magic contribution
lowkey704 replied to tomjmul's topic in General Add-Ons Support
where can I get the contrib? I can't find it... can someone post it in community / contribs? or send it too me I would be grateful! Thanks, Lonny -
I have a question... I use this contrib or one like it... I am sure it's this one... I submit and I am getting errors due to some of the item descriptions containing quotation marks... example... Jim Beam "Traditional" mirror Google calls it a bad line because of the "" how can I strip the quotation marks from the generated feed? Thanks in advance, Lonny
-
I figured that I would ask the famous question... I did some reading on this but I am still feel like a stooge. I can upload fine.... I am not uploading mass amounts at one time though... My main question is - where can I locate my php.ini file? I am trying to download my CSV to create a couple of new stores / same database... It's timing out with an error that says 30 seconds time out admin/includes/functions/database.php line 99 but I have looked at that code and don't see anything pointing to 30 seconds.... I have read that some people are altering their php.ini file.... what should I or can I do about the timing out issue.... I am not new but I am new to that and don't even know where to find it. Thanks in advance Lonny
-
You are right Jack... my image magik stopped working. But the weird thing is that I actually re-uploaded the html output files from a back up I have and image magik is working again but the All Customers is still working... hmmmm strange. but hey I am not complaining
-
ok I added /includes/functions/html_output and it didn't work... However, I replaced it also in the Admin section and it appears to be up... bout to test it and see what happens... Thanks!!!
-
Fatal error: Call to undefined function tep_hide_session_id() in /all_customers.php on line 122 CODE <?php /* $Id: all_customers.php, v1.0 March 21, 2005 18:45:00 adapted by Robert Goth June 24, 2005 osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2002 - 2004 osCommerce written by Jared Call at client' suggestion some code nicked and modified from /catalog/admin/customers.php Released under the GNU General Public License */ // entry for bouncing csv string back as file // Turn on output buffering ob_start(); if (isset($_POST['csv'])) { if (isset($HTTP_POST_VARS['saveas'])) { // rebound posted csv as save file $savename= $HTTP_POST_VARS['saveas'] . ".csv"; } else $savename='unknown.csv'; $csv_string = ''; if ($HTTP_POST_VARS['csv']) $csv_string=$HTTP_POST_VARS['csv']; if (strlen($csv_string)>0) { header("Expires: Mon, 26 Nov 1962 00:00:00 GMT"); header("Last-Modified: " . gmdate('D,d M Y H:i:s') . ' GMT'); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-Type: text/csv"); header("Content-Disposition: attachment; filename=$savename"); echo html_entity_decode(stripslashes($csv_string), ENT_QUOTES); } else echo "CSV string empty"; exit; }; require('includes/application_top.php'); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE_ALL_CUSTOMERS; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php $where = ''; $nsChecked = array(); if (isset($_GET['group_newsletter'])) { switch ($_GET['group_newsletter']) { case 'Newsletter_On': $where = ' c.customers_newsletter = 1 '; $nsChecked['on'] = 'checked'; break; case 'Newsletter_Off': $where = ' c.customers_newsletter != 1 '; $nsChecked['off'] = 'checked'; break; default: $where = ''; $nsChecked['both'] = 'checked'; } } else $nsChecked['both'] = 'checked'; if (tep_not_null($where)) $where = ' where ' . $where; $datePeriod = ''; if (isset($_GET['date_start']) && tep_not_null($_GET['date_start'])) { if (isset($_GET['date_stop']) && tep_not_null($_GET['date_stop'])) { $start = sprintf("'%s-%s-%s 0:0:0'", substr($_GET['date_start'], 4), substr($_GET['date_start'], 0, 2), substr($_GET['date_start'], 2, 2)); $stop = sprintf("'%s-%s-%s 0:0:0'", substr($_GET['date_stop'], 4), substr($_GET['date_stop'], 0, 2), substr($_GET['date_stop'], 2, 2)); $datePeriod = ' ci.customers_info_date_account_created between ' . $start . ' and '.$stop . ' '; } } if (tep_not_null($datePeriod)) { if (tep_not_null($where)) $where .= ' and ' . $datePeriod; else $where = ' where ' . $datePeriod; } $today = date("mdY"); ?> <?php echo tep_draw_form('news_date', FILENAME_ALL_CUSTOMERS, '', 'get') . tep_draw_hidden_field('process_form', 'process_form') . tep_hide_session_id(); ?> <tr> <td><table border="0" width="60%" cellspacing="0" cellpadding="0"> <tr class="smallText"> <td><?php echo ENTRY_GROUP_NEWSLETTER; ?></td> <td><INPUT TYPE="radio" NAME="group_newsletter" VALUE="Newsletter_On" <?php echo $nsChecked['on']; ?> ><?php echo TEXT_NEWSLETTER_SUBSCRIBED; ?></td> <td><INPUT TYPE="radio" NAME="group_newsletter" VALUE="Newsletter_Off" <?php echo $nsChecked['off']; ?> ><?php echo TEXT_NEWSLETTER_UNSUBSCRIBED; ?></td> <td><INPUT TYPE="radio" NAME="group_newsletter" VALUE="All" <?php echo $nsChecked['both']; ?> ><?php echo TEXT_NEWSLETTER_BOTH; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="60%" cellspacing="0" cellpadding="0"> <tr class="smallText"> <td width="80"><?php echo ENTRY_DATE_START; ?></td> <td><?php echo tep_draw_input_field('date_start', '', 'maxlength="8" size="8"', false); ?> </td> <td width="80" align="center"><?php echo ENTRY_DATE_STOP; ?></td> <td><?php echo tep_draw_input_field('date_stop', $today, 'maxlength="8" size="8"', false); ?> </td> <td><?php echo TEXT_EXPLAIN_DATE; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><input type="submit"></td> </tr> </table></td> </tr> </form> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php // Used to determine sorting order by field switch ($orderby) { case "email" : $db_orderby = "c.customers_email_address"; break; case "newsletter" : $db_orderby = "c.customers_newsletter"; break; case "address": $db_orderby = "a.entry_street_address"; break; case "city": $db_orderby = "a.entry_city"; break; case "state": $db_orderby = "z.zone_code"; break; case "country": $db_orderby = "co.countries_name"; break; case "telephone": $db_orderby = "c.customers_telephone"; break; case "pcode": $db_orderby = "a.entry_postcode"; break; default : $db_orderby = "a.entry_lastname";; break; } $customers_query_raw = "SELECT c.customers_id , c.customers_default_address_id, c.customers_email_address, c.customers_newsletter, c.customers_fax, c.customers_telephone, c.customers_gender, a.entry_company, a.address_book_id, a.customers_id, a.entry_firstname, a.entry_lastname, a.entry_street_address, a.entry_suburb, a.entry_city, a.entry_state, a.entry_postcode, a.entry_country_id, a.entry_zone_id, z.zone_code, co.countries_name FROM " . TABLE_CUSTOMERS . " c LEFT JOIN " . TABLE_CUSTOMERS_INFO . " ci on c.customers_id = ci.customers_info_id LEFT JOIN " . TABLE_ADDRESS_BOOK . " a ON c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id left join " . TABLE_ZONES . " z ON a.entry_zone_id = z.zone_id left join " . TABLE_COUNTRIES . " co ON a.entry_country_id = co.countries_id $where ORDER BY $db_orderby $sorted" ; if ($start) { $customers_query = tep_db_query($customers_query_raw); $num_rows = tep_db_num_rows($customers_query); if ($num_rows) { ?> <!-- BOF HEADER --> <tr> <td width="100%"><table border="0" width="100%"> <tr class="dataTableHeadingRow"> <?php /*<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_NUMBER; ?></td> */ ?> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, FULL_NAME, 'name');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, EMAIL, 'email');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, ADDRESS, 'address');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, CITY_NAME, 'city');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, STATE, 'state');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, POSTAL_CODE, 'pcode');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, CONTRY_NAME, 'country');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, TELEPHONE_NUMBER, 'telephone');?></td> <td class="dataTableHeadingContent"><?php echo tep_sort_order ($orderby, $sorted, 'NewsLetter', 'newsletter');?></td> <!-- EOF HEADER --> </tr> <?php while ($customers = tep_db_fetch_array($customers_query)) { if ( tep_not_null($customers['customers_id']) ) { $rows++; if (strlen($rows) < 2) { $rows = '0' . $rows; } $firstName = explode(" ", $customers['entry_firstname']); $csv_accum .= "\n"; $email = '<a href="mailto:' . $customers['customers_email_address'] . '">' . $customers['customers_email_address'] . '</a>'; $full_name = '<a href="customers.php?cID=' . $customers['customers_id'] . '&action=edit">' . ucfirst(strtolower($firstName[0])) . " " . ucfirst(strtolower($customers['entry_lastname'])) . '</a>'; ?> <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)"> <?php /* <td align="left" class="dataTableContent"><?php echo $rows; ?>.</td> */ ?> <td class="dataTableContent"><?php mirror_out($full_name);?></td> <td class="dataTableContent"><?php mirror_out($email); ?></td> <td class="dataTableContent"><?php mirror_out($customers['entry_street_address']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['entry_city']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['zone_code']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['entry_postcode']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['countries_name']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['customers_telephone']); ?></td> <td class="dataTableContent"><?php mirror_out($customers['customers_newsletter']); ?></td> </tr> <?php } } //while ?> </table></td> </tr> <?php } else { echo '<tr><td class="main" style="color: red;">'.ERROR_NO_MATCHES. '</td></tr>'; } //if num rows } //end of if start ?> <!-- body_text_eof //--> </tr> <?PHP if ($num_rows > 0 && !$print) { ?> <td class="smallText" colspan="4"><form action="<?php echo $_SERVER['PHP_SELF']; ?>" method=post> <input type='hidden' name='csv' value='<?php echo htmlentities($csv_accum, ENT_QUOTES); ?>'> <?php //suggested file name for csv, include year and month ?> <input type='hidden' name='saveas' value='Customer_List_<?php echo date("Y" . "_" . "m" . "_" . "d" . "_" . "Hi"); ?>'><input type="submit" value="<?php echo TEXT_BUTTON_REPORT_SAVE ;?>"></form> </td> </tr> <?php }; // end button for Save CSV ?> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> </body> </html>
-
ok nevermind... somehow it corrected itself lol.. but i do have a question... how can I tell the code to remove the (") characters for example... if I have a product description that says "play like the pros" google see the pair of "" as something different... I have to manually go into the feed and remove them... I know there has to be a way to strip them from the feed as it's being generated.
-
just eager to see if anyone has experience this problem. the expiration date is an expired date... ?? :unsure:
-
Ok I have installed all the updates now... I still have this problem. I go through the steps... for whatever reason I can never make it upload to google through the submit button Warning: ftp_login() [function.ftp-login]: Login incorrect. in /var/www/vhosts/themancaveoutletstore.com/httpdocs/admin/googlefeeder.php on line 384 FTP connection has failed! Attempted to connect to uploads.google.com for user nobodyspecial Script timer: 4.692065 seconds. line 384: $login_result = ftp_login($conn_id, $ftpusername, $ftppassword); Anyways so I do it manually... click on data.txt - it opens a new page in my browser that shows me the file... I get to looking and sure enough 2009-12-02 is all over the place... I have 1,000 plus products... I can't just go through this file - copy and pasting... My base items have expired... Boo!!! lol... so please someone - anyone... guide me to the light... tell me what I am not seeing or doing... I stripped the EXP codes out of the admin and root googlefeeder.php file and they 2009-12-02 was still showing up... I am lost... Thank you, Lonny
-
My google base items expired... all of them... I tried to resubmit and it failed... Reason: the feed is generating an expiration date for every item 2/12/09 how do I remove this tab in the code... I don't want an expiration date... lol anyone that could help me with this - I would be grateful. Thanks Lonny
-
Parse error: syntax error, unexpected ')' in /var/www/vhosts/themancaveoutletstore.com/httpdocs/admin/includes/boxes/catalog.php on line 37 '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' . I am getting lost to the problem... it was the classic issue... I added a period to the end of the line above and then the error changed to this line below. Parse error: syntax error, unexpected ')' in /var/www/vhosts/themancaveoutletstore.com/httpdocs/admin/includes/boxes/catalog.php on line 47 which is this line: '<a href="' . tep_href_link(FILENAME_RELATED_PRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_RELATED_PRODUCTS . '</a>' ); any ideas are welcomed. I mean that line worked fine before I added this contrib. and I need this code - I need both lol... <?php /* $Id: catalog.php,v 1.21 2003/07/09 01:18:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- catalog //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_CATALOG, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')); if ($selected_box == 'catalog') { $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_FEATURED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_FEATURED_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_PRODUCTS_ATTRIBUTES_COPIER, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_ATTRIBUTES_COPIER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_MULTI, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_MULTI . '</a><br>' . '<a href="' . tep_href_link('text_attributes.php', '', 'NONSSL') . '" class="menuBoxContentLink">Text 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>' . //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' . '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); /*************** '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' ); ***************/ //end kgt - discount coupons /* Optional Related Products (ORP) */ '<a href="' . tep_href_link(FILENAME_RELATED_PRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_RELATED_PRODUCTS . '</a>' ); //ORP:end } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- catalog_eof //-->
-
[Contribution] Wordpress Article Manager
lowkey704 replied to GMTTDAN's topic in General Add-Ons Support
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/themancaveoutletstore.com/httpdocs/content.php on line 108 -
ok so here's a new problem.... This invoice has already been paid is what I am getting. The first time I ran it - it worked... then I go back to the site as if I decided to Continue Shopping. well... after the first time all I am getting is This invoice has already been paid. HELP
-
FIX: ZONE ---- NONE