Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by discxpress

  1. discxpress


    Hello, Can anyone help me with this? I uploaded the latest version of the contrib and get these error messages: Warning: file(/public_html/admin/sitemonitor_configure.php) [function.file]: failed to open stream: No such file or directory in /home/discxpre/public_html/admin/sitemonitor_configure_setup.php on line 160 Warning: chmod() [function.chmod]: No such file or directory in /home/discxpre/public_html/admin/includes/functions/sitemonitor_functions.php on line 211 Cannot change the mode of file (/public_html/admin/sitemonitor_configure.php) It seems to me that a path is incorrect. What code to look at? Many thanks.
  2. Hello everyone, For those who are getting this error: Fatal error: Call to undefined function: clear_posts() in /home/sxxxxx/public_html/catalog/checkout_payment.php... Problem found: a lot of code was missing in catalog/includes/classes/order_total.php in version CCGV5.18 Solution: uploaded a copy of catalog/includes/classes/order_total.php from version 5.13d. I had that version on my harddrive already. Will post copy if anyone requests. Hope it helps someone :D
  3. Hello, What I found to work for me is setting the page titles in the catalog/includes/languages/english/header_tags.php file. The default settings are at the beginning of the code. After you make adjustments, save the file of course then upload it to the server. You may need to change the permissions again. Then go to your admin and play around with the HTTA, HTKA switches to see how the switches affect your page titles. For instance for product_info I got HTDA, HTKA, HTCA, & HTPA all checked leaving HTTA unchecked. You will see Product name & category it's in the title bar. Also, while you're at it grab Ultimate SEO Urls and All Products modules to help with achieving SEO goals. They are a must have.
  4. Thanks Jack. I finally figured it out. After cleaning up the code in admin/categories.php and admin/includes/functions/general.php it's back functional. If the next osc milestone would include the great 3 seo contributions (Header Tags, Google Sitemap, & Ultimate Seo Urls) things would be a heck of alot easier. :thumbsup: Jack I think you would be the perfect man to further advance the Ultimate SEO urls. Thanks for your help.
  5. Can anyone help with this ? Fatal error: Call to undefined function: tep_get_products_head_title_tag() in /home/discxpre/public_html/admin/categories.php on line 678 I need to know which files I need to check. I've checked that page and the install very carefully aand more than once for 2 days. Please help.
  6. I installed xsell v2.2 and everything works except I can't get the contants of the 'We Also Recommend' box to show. Go to http://www.discxpress.com/player-with-tune...atch-p-490.html to see what I'm talking about. Has anyone had this issue with this mod? Thanks for any help.
  7. I have a similar need. I just want to display the standard shipping price in the froogle exported file which will display shipping charge when posting products in Google Product Search. You may want to start with v_ot_shipping. I haven't tried it yet. When I do I will PM you.
  8. discxpress

    Can't update customer information

    I can't seem to figure this out. I have added the Google Checkout v1.4beta and when the customers sign up, everything is ok. With this module comes a module.php & customers.php files. But if I want to update customer's information, when I click the edit button I get a blank form. I had problems with the database.php and corrected it. I'm guessing that admin and the database aren't cummunicating properly. If anyone knows the solution, please help. Here's the code for includes/functions/database.php: <?php /* $Id: database.php,v 1.21 2003/06/09 21:21:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { global $$link; if (USE_PCONNECT == 'true') { $$link = mysql_pconnect($server, $username, $password); } else { $$link = mysql_connect($server, $username, $password); } if ($$link) mysql_select_db($database); return $$link; } function tep_db_close($link = 'db_link') { global $$link; return mysql_close($$link); } function tep_db_error($query, $errno, $error) { die('<font color="#000000"><b>' . $errno . ' - ' . $error . '<br><br>' . $query . '<br><br><small><font color="#ff0000">[TEP STOP]</font></small><br><br></b></font>'); } function tep_db_query($query, $link = 'db_link') { global $$link; if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { error_log('QUERY ' . $query . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { $result_error = mysql_error(); error_log('RESULT ' . $result . ' ' . $result_error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } return $result; } function tep_db_perform($table, $data, $action = 'insert', $parameters = '', $link = 'db_link') { reset($data); if ($action == 'insert') { $query = 'insert into ' . $table . ' ('; while (list($columns, ) = each($data)) { $query .= $columns . ', '; } $query = substr($query, 0, -2) . ') values ('; reset($data); while (list(, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= 'now(), '; break; case 'null': $query .= 'null, '; break; default: $query .= '\'' . tep_db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ')'; } elseif ($action == 'update') { $query = 'update ' . $table . ' set '; while (list($columns, $value) = each($data)) { switch ((string)$value) { case 'now()': $query .= $columns . ' = now(), '; break; case 'null': $query .= $columns .= ' = null, '; break; default: $query .= $columns . ' = \'' . tep_db_input($value) . '\', '; break; } } $query = substr($query, 0, -2) . ' where ' . $parameters; } return tep_db_query($query, $link); } function tep_db_fetch_array($db_query) { return mysql_fetch_array($db_query, MYSQL_ASSOC); } function tep_db_num_rows($db_query) { return mysql_num_rows($db_query); } function tep_db_data_seek($db_query, $row_number) { return mysql_data_seek($db_query, $row_number); } function tep_db_insert_id($link = 'db_link') { global $$link; return mysql_insert_id($$link); } function tep_db_free_result($db_query) { return mysql_free_result($db_query); } function tep_db_fetch_fields($db_query) { return mysql_fetch_field($db_query); } function tep_db_output($string) { return htmlspecialchars($string); } function tep_db_input($string, $link = 'db_link') { global $$link; if (function_exists('mysql_real_escape_string')) { return mysql_real_escape_string($string, $$link); } elseif (function_exists('mysql_escape_string')) { return mysql_escape_string($string); } return addslashes($string); } function tep_db_prepare_input($string) { if (is_string($string)) { return trim(tep_sanitize_string(stripslashes($string))); } elseif (is_array($string)) { reset($string); while (list($key, $value) = each($string)) { $string[$key] = tep_db_prepare_input($value); } return $string; } else { return $string; } } ?>
  9. discxpress

    [Contribution] SEO-G

    Does anyone have a possible solution to my issue in post #742?
  10. discxpress

    [Contribution] SEO-G

    I hope there's already a fix to my issue. I installed the contrib following the directions exactly. When I mouseover a link, the url's are generated. But when I click on a link, I'm directed back to the index page. Has anyone solved this issue? Thanks.
  11. I uploaded the contribution and I like it. One problem though, I can't figure out why there's no products in the new products infox in the middle. I've doubled check my install and get the same result. Maybe something minor that I overlooked. Has anyone experienced this problem? I need your assistance. Thank you.
  12. Hello all, I'm trying to find a contribution that will allow me to display new products separately. For example, I have 4 categories and I want to display new products for each category in separate boxes on the main page. I plan to show at least 2 products in each box. I tried searching the forums and contributions with several keywords; no luck. If anyone can help, thanks in advance.
  13. discxpress

    [contribution] Super Download Store

    I installed the latest version of Super Download Store on a clean OSCommerce and when I run Step 4 in my browser and I get the folling error message: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'localhost' (using password: NO) in /home/discxpre/public_html/admin/includes/functions/database.php on line 19 Unable to connect to database server! Alex or anyone can you please help me solve this problem?
  14. Can someone help me? Please!!!! I uploaded PWA 0.82 and when I click on a category link, I see this error message: 1054 - Unknown column 'customers_group_id' in 'field list' select customers_group_id from customers where customers_id = '' [TEP STOP] Thank you for any advice.