X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1 (https://forum.x-cart.com/showthread.php?t=39539)

pauldodman 09-17-2008 08:21 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Try this one:
http://forum.x-cart.com/showthread.php?t=5324

tomcoleman 09-17-2008 10:46 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
i have tried apatching and getting error on 4.1.11
auth.php OK
modules/Froogle/froogle.php OK
https.php could not patch
include/install.php OK
include/get_language.php could not patch

any ideas?

gb2world 09-18-2008 11:31 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
I hand patched https.php and get_language.php for a 4.1.11 install - everything seems to be working well.

tomcoleman 09-19-2008 12:36 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
gb2world, how did you hand patch.

I'm not a newbie but i could work out where the code is meant to go.

For example on xcseo_41.patch where do i put the code from xcseo_41.patch ( code shown below for that section) where do i copy paste into https.php

<CODE>
Index: https.php
================================================== =================
--- https.php (revision 259)
+++ https.php (working copy)
@@ -108,10 +108,17 @@
$_location["path"] = func_normalize_path($_location["path"],'/');
$current_script = substr(func_normalize_path($REQUEST_URI,'/'), strlen($_location["path"]));

+################################################# ###########
+# X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/
+################################################# ###########
+$original_query = parse_url($current_script);
+$original_query = $original_query['query'] ? $original_query['query'] : '';
+# END SEO
+
#
# Generate additional PHPSESSID var
#
-$additional_query = ($QUERY_STRING?"&":"?").(strstr($QUERY_STRING,$XCA RT_SESSION_NAME) ? "" : $XCART_SESSION_NAME."=".$XCARTSESSID);
+$additional_query = ($original_query?"&":"?").(strstr($QUERY_STRING,$X CART_SESSION_NAME) ? "" : $XCART_SESSION_NAME."=".$XCARTSESSID); ## XC SEO
if (!preg_match("/(?:^|&)sl=/", $additional_query) && $xcart_http_host != $xcart_https_host)
$additional_query .= "&sl=".$store_language."&is_https_redirect=Y";
</CODE>

gb2world 09-19-2008 01:17 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Sorry, Tom - I have diff files for XCSEO Pro - which appear to be different from what you've posted. In general - I just looked at the differences from 4.1.10 to 4.1.11 in those files, then manually patched them with the XCSEO patch file. I sent the diff files to Jonathan for verification that I did it correctly. But everything seems to be working. Maybe you should just give it a shot. (back every thing up in case it does not work you can revert)

tomcoleman 09-19-2008 02:10 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
ok i went through and manually did it !

Its now installed and everything seemed to go ok.

How can i test to ensure all is good?

I think its working all the links when i roll my mouse over now have .html at the end of them, which i presume makes it easier for bots to read them. Do i need to configure anything else or is that it?

pauldodman 09-19-2008 08:16 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
make sure when you actually click the links they take you the right page, thatâ•¢s it!

mike@eternitywebdev.com 09-19-2008 08:57 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
I just installed xc seo basic, uploaded all of the files, applied the patch etc. I was getting could not patch errors so I manually patched the files and then went to apply the patch again and it says "patch already applied" so everything seems good to go. However, I'm getting these errors now on my front end:

INVALID SQL: 1054 : Unknown column 'expiration_date' in 'where clause'
SQL QUERY FAILURE:DELETE FROM xcart_shipping_cache WHERE expiration_date<'1221843215'
INVALID SQL: 1054 : Unknown column 'expiration_date' in 'field list'
SQL QUERY FAILURE:UPDATE xcart_shipping_cache SET expiration_date='1221846814' WHERE session_id='a3d04503e57af5edf92aa7c3635d907b'
Warning: Cannot modify header information - headers already sent by (output started at /home/trusty/public_html/include/func/func.db.php:201) in /home/trusty/public_html/include/get_language.php on line 154

I have no clue why..I've uploaded the sql files and everything. Any help or ideas would be MUCH appreciated!

tomcoleman 09-19-2008 11:46 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
i'm having a problem on 4.1.11 as well the images complain that there missing something, programmers around to look into this?

gb2world 09-19-2008 03:50 PM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
problems with images not displaying after 4.1.11 upgrade could require the same changes described here and here.


All times are GMT -8. The time now is 08:14 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.