Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

golfman2006

Archived
  • Posts

    112
  • Joined

  • Last visited

Profile Information

  • Real Name
    John

Recent Profile Visitors

5,265 profile views

golfman2006's Achievements

  1. Thanks for your fast response Jack! The fix above seems to work fine here as it now limits the user who submits the link to 100 characters also. Thanks again!
  2. Running Links Manager II V 1.23. One thing I notice is when another user submits a Link via our website, they are not limited on the number of characters for the "description" field. However, when we go into Admin to approve the link, a message comes up now stating "* Description must contain less than 100 characters.". It seems the link submittal frontend does not check for description characters limitations. Is there some way to up this 100 character limit and/or have the link submittal process also use the 100 character limit on the description field?
  3. Seems one of the flag images is missing in the images folder for a country called "reserved". When a user comes on with the "reserved" in the country, the big red x missing image appears. Did I miss this in the upload or is this actually missing?We are on the latest version 3.6.1.
  4. Weird SQL error since applying 3.5.5 with the IP Address GeoLocation and still exists with version 3.5.8 posted yesterday. It seems that when someone is online and has a region_name with an apostrophe (or maybe some other special characters like a dash as shown below) in it, the below error is issued. Any help would be appreciated to get the query to allow some of these special characters. Thanks in advance! We are running PHP 5.2.8 and MySQL of 5.0.81 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 'Azur', `city` = 'Mougins', `latitude` = '43.6', `longitude` = '7' WHERE `ip_add' at line 1 UPDATE `whos_online` SET `country_code` = 'FR',`country_name` = 'France', `region_name` = 'Provence-Alpes-Cote d'Azur', `city` = 'Mougins', `latitude` = '43.6', `longitude` = '7' WHERE `ip_address` = '193.252.149.13'
  5. I am trying to move your code for the box from column_left or column_right directly into the bodyof the index.php. When I place the below code into the body of index.php <tr> <td class="pageHeading"> <?php if (SHOW_RSS_NEWS == 'true') if (basename($PHP_SELF) != 'rss_reader.php') include(DIR_WS_BOXES . 'rss_news.php'); ?> </td> </tr> I get this error.... Fatal error: Cannot redeclare startelement() (previously declared in /home/xxxxx/public_html/includes/modules/rss_reader.php:46) in /home/xxxxx/public_html/includes/modules/rss_reader.php on line 68 This is the code from that function in modules/rss_reader.php function startElement($parser, $name, $attrs) { global $rss_channel, $currently_writing, $main; switch($name) { case "RSS": case "RDF:RDF": case "ITEMS": $currently_writing = ""; break; case "CHANNEL": $main = "CHANNEL"; break; case "IMAGE": $main = "IMAGE"; $rss_channel["IMAGE"] = array(); break; case "ITEM": $main = "ITEMS"; break; default: $currently_writing = $name; break; } } My question becomes, can we use this module in the body of the index page?
  6. Hi Jack, glad to hear it is something others are experiencing as I have gone through the install now twice. As for what could be causing the problem, here is what I think it may be related to. It could be related to Information Pages v2.05 and step 8 of the install "ADDITIONAL FILES CHANGES, Only change if you want to be able to adjust the WELCOME TEXT on your mainpage". The reason I say this is that it is this area of the Information Pages that displays as I have shown above in the page shot with the TEXT not being defined and the URL's with the end something like (headingtitle-i-1.html). The text is not being defined on this particular section of the Information Pages contribution and when I click on the link above it takes me to a page with the Head Title reading HEADING_TITLE. Not sure if you have this optional setup for your Information Pages install, but it is the one thing that seems to cause an issue in the sitemap.php on my site. Here is the code that was applied Find 'index.php' under catalog/ and locate the following lines (approximately line 33): require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); Add BEFORE above line the following 3 lines: // Add-on - Information Pages Unlimited require_once(DIR_WS_FUNCTIONS . 'information.php'); tep_information_customer_greeting_define(); // Should be called before the Default Language is defined locate the following lines (approximately line 303): <td class="main"><?php echo tep_customer_greeting(); ?></td> REPLACE the above line with the following 2 lines: <!-- Add-on - Information Pages Unlimited --> <td class="main"><?php echo tep_information_customer_greeting(); ?></td> Not sure if you have this portion of the contribution applied and working correctly? As shown in my previous posts, the issue I am having with the text not showing up for some links (TEXT_MAIN, TEXT_GREETING_PERSONAL, TEXT_GREETING_GUEST, TEXT_GREETING_PERSONAL_RELOGON, HEADING_TITLE) within the Information area seems to be consistent with this issue I am having. Hopefully something here helps you troubleshoot this issue a bit further.
  7. Thanks again for the reply Jack!.....I did exactly what you said and nothing was updated. I then went to the box above Boxes Group Control and chose to exclude all but one box. The updates were successful with each row turning red however, I get this message "Failed to read file /home/abccom/public_html//includes/boxes//Array". Most of the sitemap.php seems to be working correctly, but the boxes.......I will check through the forums and install to see if I missed something. If something stands out, please pass along!~!!!!
  8. Thanks for the advice. These pages are html and do not appear in the dropdowns for "Boxes Group Control" or "Boxes Individual Control" seems to only show PHP files. When I access sitemap_seo_box_control.php and try to add (i.e. headingtitle-i-1.html) into the "Additional Link Control" area for the information.php box (as these are items not found in any other section), it does not add anything into either of the above dropdowns when clicking update. Maybe I am using the wrong Filename of "headingtitle-i-1.html". Please advise on how the Filename should be keyed prior to hitting update?
  9. Just installed version 1.4 and everything seems to be working great. However, we do have Information Pages Unlimited v2.05 and part of that contribution is not displaying correctly (see below). All the links in InfoManager that are found under "Information Pages" in Admin seem to work great. It is the InfoManager "Welcome Message" area in Admin that seems to not be translated and thus does not display the text correctly. For Example: The URL for the link to the HEADING_TITLE link below is http://www.mysite.com/headingtitle-i-1.html I have tried to play around with the Box Control, but nothing seems to allow me to change them. Is there a way to exclude these from the sitemap? We still want to have the others that have the correct text as those are valid links.
  10. Fresh install getting this error, "Unable to determine the page link!", when accessing http://www.mysite.com/mobile/mobile.php through my PC browser of IE, Firefox, Opera or Chrome. I do have Ultimate SEO installed, but there is the define in the configuration below to disable it. Here is the Configuration for the mobile directory <?php define('DIR_MAIN_HTTP_CATALOG', '/'); define('DIR_WS_HTTP_CATALOG', '/mobile/'); define('DIR_WS_HTTPS_CATALOG', '/mobile/'); define('DIR_WS_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../includes/'); define('DIR_MOBILE_IMAGES', 'images/'); define('DIR_MOBILE_INCLUDES', 'includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', 'includes/languages/'); define ('MOBILE_IMAGE_WIDTH', '80px'); define ('MOBILE_IMAGE_HEIGHT', '80px'); define ('FILENAME_MOBILE', 'mobile.php'); define ('FILENAME_PRODUCTS', 'products.php'); define ('FILENAME_ABOUT', 'about.php'); define ('FILENAME_SEARCH', 'search.php'); define ('FILENAME_LANGUAGES', 'languages.php'); define ('SEO_ENABLED', 'false'); ?> Here is the Configuration from my site define('HTTP_SERVER', 'http://www.mysite.com/'); define('HTTPS_SERVER', 'https://www.mysite.com/'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Thanks in advance for any direction you can provide to get this contribution working.
  11. Weird....error is now gone and contrib_tracker.php now pulls up fine. Confirmed with our host that nothing was changed to cause the error or correct it....just an odd anomaly I guess...
  12. Hello SJC- Thanks for the reply. Actually, we do not have SuperTracker installed and/or tracked. We do have "#### PRICE MATCH REQUEST V1.00 ####" which could be part of the problem due to the hash signs. Not sure if this helps?
  13. We are also getting this same error and it just started occurring either today or yesterday. Anyone have any insight into what could be causing this error?
  14. Never mind...got it fixed. Guess I was a bit tired when I applied the update from the original contrubution and the 2.0 update. I had mistakingly left some of the code that needed to be removed in products_info.php. Once I removed this snippet of code, all worked great. Thanks for the great contribution.... ///////////// begin recently_viewed if (!tep_session_is_registered('recently_viewed')) { tep_session_register('recently_viewed'); $recently_viewed = $HTTP_GET_VARS['products_id'] . ';'; } $dup_recent_viewed = 'n'; $recent_products = split(';',$recently_viewed); foreach ($recent_products as $recent) { if ($recent == $HTTP_GET_VARS['products_id']) $dup_recent_viewed = 'y'; }//foreach ($recent_products as $recent) { if ($dup_recent_viewed == 'n') $recently_viewed = $HTTP_GET_VARS['products_id'] . ';' . $recently_viewed; ///////////// end recently_viewed
  15. Just upgraded from 11/5/07 to 11/5/08 by kymation. Admin is up and running fine, database was updated properly and all files updated. However, when we go to product_info.php for a particular product, we get this error now 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 ') and p.products_status = '1' ' at line 11 select p.products_id, pd.products_name, pd.products_description, p.products_image, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, p.products_price) as products_price from products_description pd, products p left join specials s on p.products_id = s.products_id where p.products_id in () and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' Any ideas what is causing this or how to fix?
×
×
  • Create New...