Jump to content
Latest News: (loading..)
FWR Media

ULTIMATE Seo Urls 5 - by FWR Media

Recommended Posts

Hi:

 

I added your ULTIMATE Seo Urls 5 (Revision 76) contribution on my site and it works great on it's own. But I found that it does not play nice with the following contributions:

Header Tags SEO V 3.1.4 and Google XML Sitemap SEO (both jack_mcs releases).

 

Here is what I found, with :

ULTIMATE Seo Urls 5 -> the Google XML Sitemap SEO does not produce the new seo urls instead sticking with the old product_info.php?products_id=XX format. Even tried both the rewrite (mysite.com/great-product-p-3.html) or the standard (mysite.com/product_info.php/great-product-p-3) formats. I even tried the sitemap.class_Alternate file for Google XML Sitemap SEO but broke the sitemaps.

 

with:

ULTIMATE Seo Urls 5 rewrite setting -> the Header Tags SEO (V 3.1.4) contribution will make the meta tags.

ULTIMATE Seo Urls 5 standard setting -> the Header Tags SEO (V 3.1.4) contribution will not make the meta tags.

 

Even tried clearing my browser's cache, closing a re-opening, but nothing worked.

 

I wanted to let you know about this because both of the other contributions (by Jack_mcs) are very popular. And I really like this contribution because it is especially written for php 5 (I'm running PHP version 5.2.9), and was recommended by Pektsekye over the older Ultimate SEO URLs contribution.... so I would like to keep it.

 

So...any suggestions/help would be appreciated.

 

BTW... I also posted a similar post to jack_mcs in the Google xml sitemap forum to let him know too. ( http://forums.oscommerce.com/index.php?showtopic=330175 )

 

Thanks!

 

Sincerely,

Ken

 

Hi Ken I can't comment on Header tags as I've never even looked at it.

 

Google XML Sitemap SEO however has been mentioned a few pages back .. the contribution is flawed in a few ways which means that it can only work with series 2. I'm not going to write this contribution to take into account contributions that hardcode or are inflexible. If a contribution uses just plain old tep_href_link() it will work.

 

So it's not a matter of THIS contribution "not playing nice" it is a matter of the others being hardcoded or inflexible.

 

Look back a page or two and you will see I posted the two corrected files.

Edited by FWR Media

Share this post


Link to post
Share on other sites

Robert,

 

A friend came over last night and fixed the problem, which was not on the server side as you said but a error in code.

 

Now everything seem to work fine.

 

Cheers


-Peder Beckman-

Kool Kat Jazz Records

Share this post


Link to post
Share on other sites
Robert,

 

A friend came over last night and fixed the problem, which was not on the server side as you said but a error in code.

 

Now everything seem to work fine.

 

Cheers

 

<edited my answer>

So what you are saying is that there was an error in the code of your site and not an issue with this contribution?

Edited by FWR Media

Share this post


Link to post
Share on other sites

Can I use Ultimate SEO URLs 5 if I have PHP5 installed but running MySQL4? Or should I use the normal version Ultimate SEO URLs?

 

Also, the PHP requirements include "filter_var". What is this and how do I find out if I have this?

Share this post


Link to post
Share on other sites
Can I use Ultimate SEO URLs 5 if I have PHP5 installed but running MySQL4? Or should I use the normal version Ultimate SEO URLs?

 

Also, the PHP requirements include "filter_var". What is this and how do I find out if I have this?

 

MySQL 4 will be fine .. MySQL4 is just far less strict.

 

Re: filter_var

 

admin>Tools>Server Info

 

Search for filter

 

You will see something like ..

 

Input Validation and Filtering enabled

 

If it turns out that this is not available in some installations (which I doubt) I can use different filtering options.

Share this post


Link to post
Share on other sites

Windows server problem

 

Hello,

 

I have built this module in my 2.2ms shop, using php5 and MySQL5 on a Windhoos server. Clicking on categories give good url’s like:

http://myshop/index.php/coaxiaal-c-22

but nothing happens. I still keep seeing the opening page like nothing is done with c-22. Clicking on products in the site boxes give good URL’s like:

http://myshop/product_info.php/speaker-p-624

Page product_info is being shown with the message: product not found. So again, nothing is done with p-624

 

In the admin, all Seo URL settings are default like it is just being installed. Rewrite engine of oscommerce package is turned off.

 

If I turn on debugging, I can see that all URL’s are turned into SEO URL’s.

Anyone any idea?

Edited by itspeter

Share this post


Link to post
Share on other sites
Windows server problem

 

Hello,

 

I have built this module in my 2.2ms shop, using php5 and MySQL5 on a Windhoos server. Clicking on categories give good url’s like:

http://myshop/index.php/coaxiaal-c-22

but nothing happens. I still keep seeing the opening page like nothing is done with c-22. Clicking on products in the site boxes give good URL’s like:

http://myshop/product_info.php/speaker-p-624

Page product_info is being shown with the message: product not found. So again, nothing is done with p-624

 

In the admin, all Seo URL settings are default like it is just being installed. Rewrite engine of oscommerce package is turned off.

 

If I turn on debugging, I can see that all URL’s are turned into SEO URL’s.

Anyone any idea?

 

Looks like path problems which I had been afraid of as I didn't get any testing on IIS bar one server.

 

Could you please do the following:

 

at the very bottom of application_top.php before the closing ?> add ..

 

// FWR REMOVE ME
echo '<pre>';
print_r($_SERVER);
echo '</pre>';
echo 'getenv(\'ORIG_PATH_INFO\') = ' . @getenv('ORIG_PATH_INFO') . '<br />';
echo 'getenv(\'PATH_INFO\') = ' . @getenv('PATH_INFO') . '<br />';
// FWR END REMOVE ME

 

Then post here the results please. (remove any sensitive data)

Share this post


Link to post
Share on other sites
Looks like path problems which I had been afraid of as I didn't get any testing on IIS bar one server.

Could you please do the following:

Then post here the results please. (remove any sensitive data)

Hi, thanks for the help.

I changed the URL and IP address a bit, but kept the format intact.

 

By the way, I did not erase the path info at the bottom. It just didn't came up with a result.

 

Array
(
[ALL_HTTP] => HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:nl,en-us;q=0.7,en;q=0.3
HTTP_HOST:www.shopxyz.nl
HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11

[HTTPS] => off
[SCRIPT_NAME] => /Index.php
[HTTP_COOKIE] => 
[AUTH_PASSWORD] => 
[AUTH_TYPE] => 
[AUTH_USER] => 
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] => 
[PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs
[QUERY_STRING] => 
[REMOTE_ADDR] => 80.255.222.111
[REMOTE_HOST] => 80.255.222.111
[REMOTE_USER] => 
[REQUEST_METHOD] => GET
[SERVER_NAME] => www.shopxyz.nl
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/3253/Root
[APPL_PHYSICAL_PATH] => E:\sites\shopxyz.nl\httpdocs\
[INSTANCE_ID] => 3253
[INSTANCE_META_PATH] => /LM/W3SVC/3253
[LOGON_USER] => 
[REQUEST_URI] => /Index.php
[URL] => /Index.php
[SCRIPT_FILENAME] => E:\sites\shopxyz.nl\httpdocs\Index.php
[ORIG_PATH_INFO] => /Index.php
[PATH_INFO] => 
[ORIG_PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs\Index.php
[DOCUMENT_ROOT] => E:\sites\shopxyz.nl\httpdocs
[PHP_SELF] => /Index.php
[HTTP_CONNECTION] => keep-alive
[HTTP_KEEP_ALIVE] => 300
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => nl,en-us;q=0.7,en;q=0.3
[HTTP_HOST] => www.shopxyz.nl
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
[REQUEST_TIME] => 1245072823
[argv] => Array
	(
	)

[argc] => 0
)

getenv('ORIG_PATH_INFO') =
getenv('PATH_INFO') =

Share this post


Link to post
Share on other sites
Hi, thanks for the help.

I changed the URL and IP address a bit, but kept the format intact.

 

By the way, I did not erase the path info at the bottom. It just didn't came up with a result.

 

Array
(
[ALL_HTTP] => HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:nl,en-us;q=0.7,en;q=0.3
HTTP_HOST:www.shopxyz.nl
HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11

[HTTPS] => off
[SCRIPT_NAME] => /Index.php
[HTTP_COOKIE] => 
[AUTH_PASSWORD] => 
[AUTH_TYPE] => 
[AUTH_USER] => 
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] => 
[PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs
[QUERY_STRING] => 
[REMOTE_ADDR] => 80.255.222.111
[REMOTE_HOST] => 80.255.222.111
[REMOTE_USER] => 
[REQUEST_METHOD] => GET
[SERVER_NAME] => www.shopxyz.nl
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/3253/Root
[APPL_PHYSICAL_PATH] => E:\sites\shopxyz.nl\httpdocs\
[INSTANCE_ID] => 3253
[INSTANCE_META_PATH] => /LM/W3SVC/3253
[LOGON_USER] => 
[REQUEST_URI] => /Index.php
[URL] => /Index.php
[SCRIPT_FILENAME] => E:\sites\shopxyz.nl\httpdocs\Index.php
[ORIG_PATH_INFO] => /Index.php
[PATH_INFO] => 
[ORIG_PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs\Index.php
[DOCUMENT_ROOT] => E:\sites\shopxyz.nl\httpdocs
[PHP_SELF] => /Index.php
[HTTP_CONNECTION] => keep-alive
[HTTP_KEEP_ALIVE] => 300
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => nl,en-us;q=0.7,en;q=0.3
[HTTP_HOST] => www.shopxyz.nl
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
[REQUEST_TIME] => 1245072823
[argv] => Array
	(
	)

[argc] => 0
)

getenv('ORIG_PATH_INFO') =
getenv('PATH_INFO') =

 

 

Sorry :) I forgot to mention, I need the printout while accessing a particular seo url

 

e.g. url was

 

http://www.mysite.com/my-great-product-c-37

 

$_SERVER was ..

 

<printout here>

Share this post


Link to post
Share on other sites

Hi,

 

I tried upgrading from a working version 2 to version 5

When removing the old database tables with the usu2_removal.php file, I ended up with a page like this:

http://www.conus.be/popup_image.php/bosch-...ofzuiger-pi-144

(seems like a problem with sts??)

 

Now when opening an image on the product_info.php page it results in that same page.

 

The rest of the contribution seems to work as it should

 

 

kind regards

Share this post


Link to post
Share on other sites
Hi,

 

I tried upgrading from a working version 2 to version 5

When removing the old database tables with the usu2_removal.php file, I ended up with a page like this:

http://www.conus.be/popup_image.php/bosch-...ofzuiger-pi-144

(seems like a problem with sts??)

 

Now when opening an image on the product_info.php page it results in that same page.

 

The rest of the contribution seems to work as it should

 

 

kind regards

 

Firstly if upgrading from series 2 you should have the rewrite option set in admin so the urls do not have the filename.

 

As to why popup images are not working I don't have enough info to guess .. this contribution produces urls it doesn't affect how the called page is displayed.

Share this post


Link to post
Share on other sites
Firstly if upgrading from series 2 you should have the rewrite option set in admin so the urls do not have the filename.

 

As to why popup images are not working I don't have enough info to guess .. this contribution produces urls it doesn't affect how the called page is displayed.

Thanx for your fast reply (and solution)!

 

After setting the 'URL rewrite type' to rewrite the problem with the popup image was solved.

 

kind regards

Share this post


Link to post
Share on other sites
Sorry :) I forgot to mention, I need the printout while accessing a particular seo url

Ha ha, could have figured that one out my selves.

Here it is again....

 

Array
(
[ALL_HTTP] => HTTP_CONNECTION:keep-alive
HTTP_KEEP_ALIVE:300
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip,deflate
HTTP_ACCEPT_LANGUAGE:nl,en-us;q=0.7,en;q=0.3
HTTP_AUTHORIZATION:Basic c2hvcDRrYWJlbHM6dmNkc3ZjZHZjZA==
HTTP_COOKIE:__utma=67424211.3724168751967514600.1244573526.1244978986.1245094866.4; __utmz=67424211.1244573526.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); osCsid=489d88349113ba4ad41dc297b56f60e5; __utmb=67424211.4.10.1245094866; __utmc=67424211
HTTP_HOST:www.shopxyz.nl
HTTP_REFERER:http://www.shopxyz.nl/index.php/computer-c-32
HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)

[HTTPS] => off
[SCRIPT_NAME] => /product_info.php
[HTTP_COOKIE] => __utma=67424211.3724168751967514600.1244573526.1244978986.1245094866.4; __utmz=67424211.1244573526.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); osCsid=489d88349113ba4ad41dc297b56f60e5; __utmb=67424211.4.10.1245094866; __utmc=67424211
[AUTH_PASSWORD] => 
[AUTH_TYPE] => 
[AUTH_USER] => 
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] => 
[PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs\speaker-p-619
[QUERY_STRING] => 
[REMOTE_ADDR] => 82.222.111.26
[REMOTE_HOST] => 82.222.111.26
[REMOTE_USER] => 
[REQUEST_METHOD] => GET
[SERVER_NAME] => www.shopxyz.nl
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/3253/Root
[APPL_PHYSICAL_PATH] => E:\sites\shopxyz.nl\httpdocs\
[INSTANCE_ID] => 3253
[INSTANCE_META_PATH] => /LM/W3SVC/3253
[LOGON_USER] => 
[REQUEST_URI] => /product_info.php/speaker-p-619
[URL] => /product_info.php/speaker-p-619
[SCRIPT_FILENAME] => E:\sites\shopxyz.nl\httpdocs\product_info.php
[ORIG_PATH_INFO] => /product_info.php/speaker-p-619
[PATH_INFO] => /speaker-kabel-2x40mm-meter-p-619
[ORIG_PATH_TRANSLATED] => E:\sites\shopxyz.nl\httpdocs\product_info.php\speaker-p-619
[DOCUMENT_ROOT] => E:\sites\shopxyz.nl\httpdocs
[PHP_AUTH_USER] => shopxyz
[PHP_AUTH_PW] => asdfgh
[PHP_SELF] => /product_info.php
[HTTP_CONNECTION] => keep-alive
[HTTP_KEEP_ALIVE] => 300
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_LANGUAGE] => nl,en-us;q=0.7,en;q=0.3
[HTTP_AUTHORIZATION] => Basic c2hvcDRrYWJlbHM6dmNkc3ZjZHZjZA==
[HTTP_HOST] => www.shop4kabels.nl
[HTTP_REFERER] => http://www.shopxyz.nl/index.php/computer-c-32
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
[REQUEST_TIME] => 1245094937
[argv] => Array
	(
	)

[argc] => 0
)

getenv('ORIG_PATH_INFO') =
getenv('PATH_INFO') =

Share this post


Link to post
Share on other sites
Ha ha, could have figured that one out my selves.

Here it is again....

 

You still left out the actual uri you were attempting to reach.

 

the reason I ask is the following two paths don't match and therefore make no sense: -

 

[ORIG_PATH_INFO] => /product_info.php/speaker-p-619

[PATH_INFO] => /speaker-kabel-2x40mm-meter-p-619

Edited by FWR Media

Share this post


Link to post
Share on other sites

> You still left out the actual uri you were attempting to reach.

That is because I wanted to hide sensitive data, but overdone it a bit.

speaker-p-619 is in sensitive live: speaker-kabel-2x40mm-meter-p-619

Sorry for that.

 

The original URL was:

http://www.shopxyz.nl/product_info.php?products_id=619

Now this should be (and also is):

http://www.shopxyz.nl/product_info.php/spe...0mm-meter-p-619

But instead of a page with product, I get a product not found page.

 

Is the answer you are looking for?

Share this post


Link to post
Share on other sites
> You still left out the actual uri you were attempting to reach.

That is because I wanted to hide sensitive data, but overdone it a bit.

speaker-p-619 is in sensitive live: speaker-kabel-2x40mm-meter-p-619

Sorry for that.

 

The original URL was:

http://www.shopxyz.nl/product_info.php?products_id=619

Now this should be (and also is):

http://www.shopxyz.nl/product_info.php/spe...0mm-meter-p-619

But instead of a page with product, I get a product not found page.

 

Is the answer you are looking for?

 

Yes but now I'm not confident that you hadn't "doctored" the paths in the $_SERVER printout, I need to see the paths exactly as produced, it doesn't matter if the domain is changed to www.shopxyz.nl but the rest must be EXACTLY the same.

 

what I need is as below: -

 

Url used:

http://www.shopxyz.nl/product_info.php/spe...0mm-meter-p-619

 

$_SERVER contained:

Share this post


Link to post
Share on other sites
what I need is as below: -

This is exactly what i did in:

Posted Yesterday, 09:53 PM

 

I changed 3 things:

speaker-kabel-2x40mm-meter-p-619 to speaker-p-619

I forgot to change one, that is the one you found.

 

I made a slight changes in the IP numbers.

 

I changed the url to www.shopxyz.nl

 

That is all, nothing more, nothing less.

For this, I clicked on an image that brought me to:

http://www.shopxyz.nl/product_info.php/spe...0mm-meter-p-619

 

The empty "getenv" on the bottom are really empty.

Share this post


Link to post
Share on other sites
This is exactly what i did in:

Posted Yesterday, 09:53 PM

 

I changed 3 things:

speaker-kabel-2x40mm-meter-p-619 to speaker-p-619

I forgot to change one, that is the one you found.

 

I made a slight changes in the IP numbers.

 

I changed the url to www.shopxyz.nl

 

That is all, nothing more, nothing less.

For this, I clicked on an image that brought me to:

http://www.shopxyz.nl/product_info.php/spe...0mm-meter-p-619

 

The empty "getenv" on the bottom are really empty.

 

Ok this is strange then as your Windoze server is actually playing nice and supplies $_SERVER['REQUEST_URI'] like a *nix server.

 

Could you please try the following and report the results: -

 

catalog/includes/modules/ultimate_seo_urls5/classes/Usu_Validator.php

 

Temporarily replace the function function extractByMarkers() with the following:

 

	/**
* Break up an seo url into component parts
*/
private function extractByMarkers(){
  echo '$this->filestring = ' . $this->filestring . '<br />';
  foreach ( usu::$registry->vars['markers'] as $marker => $qskey ){
	if ( false !== strpos($this->filestring, $marker) ){
	  // Found an seo marker so explode into two component parts
	  $tmp = explode($marker, $this->filestring);
	  // assign the key=>value pair to _GET
	  $value =  (false !== strpos($tmp[1], '.html')) ? usu::cleanse(str_replace('.html', '', $tmp[1])) : usu::cleanse($tmp[1]); 
	  $_GET[usu::$registry->vars['markers'][$marker]] = $value;
	  echo '_GET produces: ' . $qskey . '=' .  $value;
	  return $qskey . '=' .  $value;
	} 
  } 
  return false;
}

Share this post


Link to post
Share on other sites

Then try the following (same function)

 

	/**
* Break up an seo url into component parts
*/
private function extractByMarkers(){
  foreach ( usu::$registry->vars['markers'] as $marker => $qskey ){
	if ( false !== strpos($this->filestring, $marker) ){
	  // Found an seo marker so explode into two component parts
	  $tmp = explode($marker, $this->filestring);
	  // assign the key=>value pair to _GET
	  $value =  (false !== strpos($tmp[1], '.html')) ? usu::cleanse(str_replace('.html', '', $tmp[1])) : usu::cleanse($tmp[1]); 
	  $_GET[usu::$registry->vars['markers'][$marker]] = $value;
	  $HTTP_GET_VARS[usu::$registry->vars['markers'][$marker]] = $_GET[usu::$registry->vars['markers'][$marker]];
	  return $qskey . '=' .  $value;
	} 
  } 
  return false;
}

Share this post


Link to post
Share on other sites

Hi there,

 

thanks for this great contribution.

 

I only have one problem when trying to upgrade from ultimate seo 2.7

 

When i want to run the installer.php it says something like filter_var not found in php.

 

Also the usu2_removal.php does nothing when i load the page, no confirmation.

 

Am i using wrong settings or do i need to make a manual database removal/ installation?

 

thanks in advance

Share this post


Link to post
Share on other sites
Hi there,

 

thanks for this great contribution.

 

I only have one problem when trying to upgrade from ultimate seo 2.7

 

When i want to run the installer.php it says something like filter_var not found in php.

 

Also the usu2_removal.php does nothing when i load the page, no confirmation.

 

Am i using wrong settings or do i need to make a manual database removal/ installation?

 

thanks in advance

 

filters are a valuable part of PHP 5 your PHP5 build does not include filters at this time which are required.

 

usu2_removal.php gives no output but will have removed the database entries.

 

If I get a lot of this where filters are not in the php build I may consider changing the code but they are a security addition so see no reason why a host would not include them.

Share this post


Link to post
Share on other sites
Then try the following (same function)

 

Both test gave no improvement, so no change in actions.

The first test showed the following variabels:

$this->filestring = speaker-kabel-2x40mm-meter-p-617

_GET produces: products_id=617

 

>Ok this is strange then as your Windoze server is actually playing nice

Well that is something completely. New probably a mistake from microsnoft.

Don't get to comfortable waiting for the next time to happen.

Share this post


Link to post
Share on other sites
Both test gave no improvement, so no change in actions.

The first test showed the following variabels:

$this->filestring = speaker-kabel-2x40mm-meter-p-617

_GET produces: products_id=617

 

>Ok this is strange then as your Windoze server is actually playing nice

Well that is something completely. New probably a mistake from microsnoft.

Don't get to comfortable waiting for the next time to happen.

 

Well that states that all is working correctly.

 

The first function change was just to output the variables.

 

The second was to ensure that we had products_id in both _GET and HTTP_GET_VARS.

 

product_info.php is being loaded, it has been passed products_id=617 through _GET

 

Therefore osCommerce should show the product.

 

What happens when you turn off usu5 and access the page like ..

 

http://www.shopxyz.nl/product_info.php?products_id=617

 

because effectively that is what we are doing.

Share this post


Link to post
Share on other sites
Well that states that all is working correctly.

The first function change was just to output the variables.

The second was to ensure that we had products_id in both _GET and HTTP_GET_VARS.

product_info.php is being loaded, it has been passed products_id=617 through _GET

Therefore osCommerce should show the product.

What happens when you turn off usu5 and access the page like ..

http://www.shopxyz.nl/product_info.php?products_id=617

because effectively that is what we are doing.

Exactly what should happen, give me the correct product page.

Hmm, getting weirder by the minute...

Share this post


Link to post
Share on other sites
Exactly what should happen, give me the correct product page.

Hmm, getting weirder by the minute...

 

Is there a site I could look at if you sent it to me privately via pm?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×