Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Debs

Pioneers
  • Posts

    133
  • Joined

  • Last visited

Everything posted by Debs

  1. I use frontpage and frontpage tends to create files within all folders. I have never had a direct call to a frontpage folder before... I am not sure why it picked it up
  2. I double checked the install a couple of times. Perhaps something got messed up on the upload. I will start over, delete and reupload new files and try the install again. Thank you again
  3. Warning: include_once(includes/modules/ultimate_seo_urls5/modules/_vti_cnf) [function.include-once]: failed to open stream: No such file or directory in /home/aviation/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/usu.php on line 163 Warning: include_once() [function.include]: Failed opening 'includes/modules/ultimate_seo_urls5/modules/_vti_cnf' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aviation/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/usu.php on line 163 Fatal error: Class '_vti_cnf' not found in /home/aviation/public_html/catalog/includes/modules/ultimate_seo_urls5/classes/usu.php on line 164
  4. Thank you for the quick reply. I made the change and double checked to be certain. My file looks like this: <?php /* $Id: html_output.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2007 osCommerce Released under the GNU General Public License */ //// // ULTIMATE Seo Urls 5 by FWR Media // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls, $languages_id, $request_type, $session_started, $sid; if ( !is_object($seo_urls) ){ include_once DIR_WS_MODULES . 'ultimate_seo_urls5' . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR . 'usu.php'; $seo_urls = new usu($languages_id, $request_type, $session_started, $sid); } return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } // "On the Fly" Auto Thumbnailer using GD Library, servercaching and browsercaching // Scales product images dynamically, resulting in smaller file sizes, and keeps // proper image ratio. Used in conjunction with product_thumb.php t/n generator. function tep_image($src, $alt = '', $width = '', $height = '', $params = '') { // Set default image variable and code $image = '<img src="' . $src . '"'; // Don't calculate if the image is set to a "%" width if (strstr($width,'%') == false || strstr($height,'%') == false) { $dont_calculate = 0; ................................................................................ ........... Thank you again
  5. osCommerce Online Merchant v2.2 RC2a Upgrade_From_Series2 Received this error when running usu2_removal.php Fatal error: Call to a member function initiate() on a non-object in /home/aviation/public_html/catalog/includes/application_top.php on line 240 and on line 240 I have: // ULTIMATE Seo Urls 5 by FWR Media $seo_urls->initiate($SID, $languages_id, $language); I commented the line and ran the usu2_removal.php I then ran installer.php I uncommented the line and get the same error Any ideas? Kind regards, Debs
  6. For some time I have blocked exploits by using this in my htaccess. This may be a silly question... but why is the contribution better then a simple htaccess like mine below? Options +FollowSymLinks RewriteEngine On RewriteBase / ########## Begin - Rewrite rules to block out some common exploits # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.html [F,L]
  7. Hello Kai, First let me say just how impressed I am with your contribution. It is truely amazing. The way you set it up is simply genius. Very nicely done. I know when I first emailed you about it... I was disappointed to learn it would not work with our older snapshot. The older versions of osc do not have the filenames: 1. catalog/includes/filenames.php So do this -> 1. Older snapshots instead use: Includes/languages/english << modify this file instead. or: 2. catalog/includes/database_table.php So do this -> 2. Older snapshots instead use: includes/application_top.php << modify this file instead. Also after running the complete SQL file I had to run this: DROP TABLE IF EXISTS buy_two_bundles; CREATE TABLE TABLE_BUY_TWO_BUNDLES ( products_id INT(11) NOT NULL AUTO_INCREMENT, bundle_product_a INT(11) NOT NULL DEFAULT '', bundle_product_b INT(11) NOT NULL DEFAULT '', bundle_date_added datetime NOT NULL default '0000-00-00 00:00:00', bundle_date_expire datetime NOT NULL default '0000-00-00 00:00:00', bundle_delflag TINYINT(1) NOT NULL DEFAULT '0', bundle_active TINYINT(1) NOT NULL DEFAULT '1', bundle_archive TINYINT(1) NOT NULL DEFAULT '1', bundle_cart TINYINT(1) NOT NULL DEFAULT '0', bundle_normal_price DECIMAL(15,4) NOT NULL DEFAULT '0', bundle_price DECIMAL(15,4) NOT NULL DEFAULT '0', bundle_discount DECIMAL(5,2) NOT NULL DEFAULT '0', bundle_products_model VARCHAR(255) NOT NULL DEFAULT '', bundle_products_name VARCHAR(255) NOT NULL DEFAULT '', bundle_products_click_count INT(11) NOT NULL DEFAULT '', PRIMARY KEY (products_id) ) TYPE=MyISAM; Again this is only for the older snapshots and the only change was to the table from lowercase to uppercase as seen below: DROP TABLE IF EXISTS buy_two_bundles; CREATE TABLE TABLE_BUY_TWO_BUNDLES <- I changed to uppercase I'm not sure why but the lowercase tables would not work. Also when called apon to add code to other existing files... the place after so and so code etc. is slightly different, but similar enough so a person still knows the exact placement. No part of your contribution has changed other then the one part of your SQL statement and the location to add code. I hope this has been helpful to others using older snapshots. It really is an excellent contribution that Kai has done. Just a personal note :) The more you look at Kai's excellent contribution, the more it will amaze you! I do have a quick question for you Kai... Your contribution is set up to save the NEW images in /catalog/images/tinn_images. Is it possible to save the SMALL thumbnail images (only the "item1 + item2" thumbnails) to this same directory? This would be helpful because these two images are best set to a smaller size, thus causing problems if a person uses a thumbnail contribution (set to save, not on the fly) for their other images. Oscommerce then doesn't know what image to pull and sometimes stretches the new extra-small-thumbnail to take the place of your standard thumbnail. If the new extra-small-thumbnail was saved to the /tinn_images folder like the new bundled images... this would then not be a problem. Can you tell me how to do this? Thanks again Kai..!
×
×
  • Create New...