Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parksey

Pioneers
  • Posts

    40
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rhys

parksey's Achievements

  1. Hi Rob Great Contrib !! And thanks for sharing. But should I really go through and fix all undefined variable errors? most people just knock down the reporting level to ignore these? cheers rhys
  2. Thanks for that, I had been looking at this for days. I was not aware of any problems with REQUEST_URI on IIS 6 I know there is a bug in IIS 7 that causes problems with REQUEST_URI However saying that $_SERVER['REQUEST_URI'] is always a pain on windows servers here is a workaround if using the helicon rewrite <?php /* * REQUEST_URI for IIS Servers * Version: 1.1 * Guaranteed to provide Apache-compliant $_SERVER['REQUEST_URI'] variables * Please see full documentation at * Copyright NeoSmart Technologies 2006-2008 * Code is released under the LGPL and maybe used for all private and public code * Instructions: http://neosmart.net/blog/2006/100-apache-compliant-request_uri-for-iis-and-windows/ * Support: http://neosmart.net/forums/forumdisplay.php?f=17 * Product URI: http://neosmart.net/dl.php?id=7 */ //This file should be located in the same directory as php.exe or php5isapi.dll //ISAPI_Rewrite 3.x if (isset($_SERVER['HTTP_X_REWRITE_URL'])){ $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_REWRITE_URL']; } //ISAPI_Rewrite 2.x w/ HTTPD.INI configuration else if (isset($_SERVER['HTTP_REQUEST_URI'])){ $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REQUEST_URI']; //Good to go! } //ISAPI_Rewrite isn't installed or not configured else{ //Someone didn't follow the instructions! if(isset($_SERVER['SCRIPT_NAME'])) $_SERVER['HTTP_REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; else $_SERVER['HTTP_REQUEST_URI'] = $_SERVER['PHP_SELF']; if($_SERVER['QUERY_STRING']){ $_SERVER['HTTP_REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; } //WARNING: This is a workaround! //For guaranteed compatibility, HTTP_REQUEST_URI or HTTP_X_REWRITE_URL *MUST* be defined! //See product documentation for instructions! $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REQUEST_URI']; } ?> Not mine but free and you could add it to the includes if anybody else has this problem. I added it to PHP.ini and went back to the original code. Thanks for all the help, I was pulling my hair out.
  3. Incoming uri: index.php New uri to compare: bench-scales-c-21.html REQUEST_URI = /index.php?cPath=21&fwrtest HTTP_X_ORIGINAL_URL = inexistant HTTP_X_REWRITE_URL = /bench-scales-c-21.html?fwrtest I assume you only want this part, i'm intrigued
  4. Incoming uri: index.php New uri to compare: bench-scales-c-21.html FWR MEDIA ULTIMATE Seo Urls 5 - Performance Standard URI produced: 0 SEO URI produced: 2 Query Count: 0 Queries Saved: 2 Cache load time: 0.0025 seconds Cache File Size: 2.15 kb Standard Urls: Seo Urls: http://www.dev.brash-scales.com/index.php http://www.dev.brash-scales.com/bench-scales-c-21.html Queries: Any use?
  5. Switch on debugging and post the URL's on here. DO you have a test site we can look at with this issue. Are you getting any errors in your php error log? Be sure you have placed the rewrite rules in the .htaaccess file ?? And what server is it running on? Apache IIS ?
  6. Yes the URL is correct, if I switch the WWW.DEVSITE.COM for the domain with version 2 running I get the correct page. The includes /local does not have configure.php in it and the site runs fine, the link to the test site is www.dev.brash-scales.com if you would like to take a look ? It throws no errors in PHP and having KISS installed does not get me any closer, great contrib mind as it shows up some contribs to be really buggy. Again help is greatly appreciated.
  7. Glad to be of assistance :) Any idea now you've finished laughing?
  8. Oh and sorry I just realised I was on the wrong thread. At least I've offered to test pro :)
  9. Never used that add-on so here is the output seems ok to me HTTP/1.1 301 Moved Permanently Connection: close Date: Thu, 11 Feb 2010 20:28:59 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET, PHP/5.2.5 Set-Cookie: cookie_test=please_accept_for_session; expires=Sat, 13-Mar-2010 20:28:59 GMT; path=/; domain=DEVSITE.com Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Location: http://www.DEVSITE.com/floor-scales-c-27.html Content-Encoding: gzip Vary: Accept-Encoding Content-Type: text/html Saying that I would have thought that I should not be getting a 301 redirect for a generated url? surly this should be 200. Any thoughts?
  10. Great, Any idea why I can't get version 5 working on IIS then with rewrite installed? All the URL's look fine and are the same as version 2 urls? so it's got me stumped? Cheers
  11. Has anybody tested the rewrite function with IIS running Helicon ISAPI_rewrite? I have Version 2.1 running on IIS in rewrite with this mod which works really well. Having loaded version 5 on my dev site everything seems fine, all the urls seem to be written correctly but it gets stuck in an endless loop. the only error reported in the PHP error log is: PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/configure.php' (include_path='.;C:\php5\pear') in D:\Inetpub\wwwroot\TestSite\includes\application_top.php on line 32 The path to pear is infact d:\php\pear but I could not trace what was causing this error. I assume that it was in their somwhere but got fed up of looking. I'm going to switch our dev site over into a root directory tonight and try it again. Also if you need to test on IIS let me know I should be able to assist we have a few IIS servers online and should be able to find space somewhere. Cheers Rhys
  12. Hey all any chance of some help with this. I have Ultimate SEO installed on our store and most bots seem to follow this strange link https://www.mystore.com/index.php?cPath=22_46_47_21_28_31_33_38_40_30& which should be http://www.MYSTORE.com/pallet-truck-scales-c-30.html Any ideas how to redirect the old cPath urls with a 301 and restrict robots from following https? Your assistance would be greatly appreciated. Many thanks
  13. Please Help I have installed the latest version and need some assistance. I am running it on IIS6 with Mod ReWrite which seems to work ok as if i go to http://www.shop.calibraweighing.co.uk/coun...cales-c-24.html it gets to the correct page But as soon as I enable the SEO Urls i get a error web page that says Redirection limit for this URL exceeded. I am completly stuck, it's not throwing any PHP errors or ReWrite errors that I can see Can anybody point me in the right direction?
  14. Any body actually got this working with GoogleCheckout? I can get the shipping methods up but the price always seems to default to whatever I have set in the GoogleCheckout admin, when I check the integration issues on GC I can see a HTTP 500 error for responsehandler.php but everything else works correctly, i.e the orders are being transferred to the OSC admin? Any ideas? We are using PHP5 with IIS6 so .htaccess does not work with IIS, I think this may be part of the problem?
×
×
  • Create New...