-
Re: New Version 2.212
Bugs in Ultimate SEO 2.212
I was profiling my website and found two bugs causing category names and manufacturer names to not cache in memory. This would cause additional database queries to the categories_description, categories, and manufacturers tables. It would not be noticeable to the user except for slower performance. The file and problem is listed below.
Version 2.212 in file: includes/classes/seo.url.php
1. ---- line 1021 --- function generate_manufacturers_cache()
PHP Code:
$define = 'define(\'MANUFACTURER_NAME_' . $manufacturer->fields['id'] . '\', \'' . $this->filter($manufacturer->fields['name']) . '\');';
SHOULD BE:
PHP Code:
$define = 'define(\'MANUFACTURER_NAME_' . $manufacturers->fields['id'] . '\', \'' . $this->filter($manufacturers->fields['name']) . '\');';
2. ---- line 1059 ---- function generate_categories_cache()
PHP Code:
$cPath = $this->get_full_cPath($category->fields['categories_id'], $single_cID);
SHOULD BE:
PHP Code:
$cPath = $this->get_full_cPath($category->fields['id'], $single_cID);
3. If anyone makes these changes, you need to flush the SEO_CACHE table from a MySQL shell:
Code:
DELETE FROM seo_cache;
It will regenerate on the next page load.
-------------------------------------------------
After making a cursory look at the other downloadable ZIP flies it appears versions 2.x have the manufacturers bug and versions between 2.212 and 2.210 have the categories bug; however, on different line numbers. I did not look at other versions.
FYI: I'm running versions: Ultimate SEO 2.212 and Zen-cart 1.5.1
-------------------------------------------------
OPTIONAL: If you want to verify if this bug is occurring, you can insert the following code at the bottom of your index page.
Please do not run on a publicly accessible live site.
Categories and manufacturers caches must be turned on:
Admin -> Configuration -> UltimateSEO: Enable categories cache? and Enable manufacturers cache?
PHP Code:
<?php
echo "<pre>CONSTANTS\n";
$def = get_defined_constants();
while(list($key,$val) = each($def)) {
if(is_string($val)) {
if (strpos($key, 'CATEGORY_NAME_') === 0 || strpos($key, 'MANUFACTURER_NAME_') === 0) {
echo "define ", $key, '=', $val, "\n";
}
}
}
echo "\n</pre>\n";
?>
Before fixing you should see only two malformed records like below:
Code:
CONSTANTS
define CATEGORY_NAME_=category-name-here
define MANUFACTURER_NAME_=
After fixing and wiping 'seo_cache' table you should see a lot of records similar to below:
Code:
CONSTANTS
define CATEGORY_NAME_101=category-name-here
define CATEGORY_NAME_102=category-name-here
define CATEGORY_NAME_103=category-name-here
define CATEGORY_NAME_104=category-name-here
define MANUFACTURER_NAME_102=manufacturer-name-here
define MANUFACTURER_NAME_103=manufacturer-name-here
define MANUFACTURER_NAME_104=manufacturer-name-here
define MANUFACTURER_NAME_105=manufacturer-name-here
...
-
Re: New Version 2.212
Affected Users
Any user with the manufacturer or category cache enabled.
Symptoms
Notices about CATEGORY_NAME_ and MANUFACTURER_NAME_ already defined (rare). No performance gain from enabling the manufacturer or category cache. A minor performance hit causing each cache entry (category or manufacturer) to be pulled twice (once for each in the database and once for each displayed on a page).
Cause and Bugfix
Code generating the manufacturer and category caches does not actually populate the caches. Please use the fix posted by brist.
A big Thank You to brist for uncovering, reporting, and posting a fix for the bug.
-
Re: New Version 2.212
I am using a new build of Zencart 1.5.3 and after installing step 3 of the installation instructions of "ultimate_seo_urls_212" I got a 500 Internal Server Error when trying to load my admin login page to continue installation.
After doing some investigation and replacing the files copied in the install process, I found that the following file was causing this problem:-
..\admin\includes\functions\general.php
Replacing this file with my backup file instantly enabled me to log in again.
I continued with step 4 of the installation instructions and got the confirmation message that it had been installed OK.
With SEO enabled, my site shows 404 errors for all of the updated URL's. Disabling SEO my site works as it originally did. I am guessing that not having the correct "general.php" file in place is causing this. Can someone please help me understand what is in this file that is causing my admin area not to work.
Thanks
-
Re: New Version 2.212
This has not been updated for Zen Cart 1.5.3 yet. A new version is in the works.
-
Re: New Version 2.212
Quote:
Originally Posted by
lhungil
This plugin already works in 1.5.3. I also have an updated version close to release.
Quote:
Originally Posted by
jeking
This has not been updated for Zen Cart 1.5.3 yet. A new version is in the works.
You are HALF right..
This module WORKS with v1.5.3, AND a new version is in the works..
-
Re: New Version 2.212
Quote:
Originally Posted by
BugGrub.com
I am using a new build of Zencart 1.5.3 ... I found that the following file was causing this problem: "/admin/includes/functions/general.php" ...
Ultimate URLs 2.212 will work no problem under Zen Cart 1.5.3. The catch? With Ultimate URLs version 2.212, you will need to manually merge the changes into core files. No drag and drop overwrites of core files.
I'd suggest rolling back all files to before installation of Ultimate URLs, then re-install (and manually merge core files). You may want to take a look at the example modified files from Zen Cart 1.5.2 RC2 during the process (will be closer to the ones found in Zen Cart 1.5.3 versus the Zen Cart 1.5.1 files included in the plugin download).
Reverting the core files and manually merging in changes required for Ultimate URLs would be my first step.
Quote:
Originally Posted by
BugGrub.com
... With SEO enabled, my site shows 404 errors for all of the updated URL's. Disabling SEO my site works as it originally did. ...
Once manual merging of the core files is completed, it would be very useful to see the "development" site where you are installing / testing this module. A full copy of your Zen Cart .htaccess (and any .htaccess file in a parent folder) will also be useful (use "CODE" tags - the # button in the editor on the Zen Cart forums). Or if you really do not want us to see the website at all... provide the URLs (old and new) and the Zen Cart page where the URLs are found.
-
Re: New Version 2.212
I was sent here from the ecommerce browser forum because we cant figure out the issue. Apparently the ecommerce browser plug in has issues dealing with seo url rewriters such as this plug in which I have installed on my site. We tried modifying the ht access file without success. Does anyone here have both plug ins installed and if so how did you get around the problem of the facebook app pulling product images and descriptions from your website.
Any suggestions are appreciated.
-
Re: New Version 2.212
Quote:
Originally Posted by
coucho
I was sent here from the ecommerce browser forum because we cant figure out the issue. Apparently the ecommerce browser plug in has issues dealing with seo url rewriters such as this plug in which I have installed on my site. We tried modifying the ht access file without success. Does anyone here have both plug ins installed and if so how did you get around the problem of the facebook app pulling product images and descriptions from your website.
Any suggestions are appreciated.
I suggested you come here, but you have not provided even a scintilla of the information needed for the author of this module to assist you..
- what "ecommerce browser" module (DON'T assume the author knows)
- What do you mean by "issues dealing with seo url rewriters"
- You ask "Does anyone here have both plug ins installed" except you really have said by BOTH what you mean..
-
Re: New Version 2.212
Quote:
Originally Posted by
DivaVocals
I suggested you come here, but you have not provided even a scintilla of the information needed for the author of this module to assist you..
- what "ecommerce browser" module (DON'T assume the author knows)
- What do you mean by "issues dealing with seo url rewriters"
- You ask "Does anyone here have both plug ins installed" except you really have said by BOTH what you mean..
Don't worry Diva I found the issue but with an attitude like yours I am not going to share or come near this forum again.
-
Re: New Version 2.212
Quote:
Originally Posted by
coucho
Don't worry Diva I found the issue but with an attitude like yours I am not going to share or come near this forum again.
Attitude??:laugh: REALLY???? I simply suggested that you provide the DETAILS of your issue so the author can help YOU.. he can't help if you don't provide details.. and BTW, he would ask for those SAME details.. but if that's what you consider "attitude", then okay.. **shrug**
not sharing your solution or coming back to this forum?? well you aren't really hurting ME persay.. SHARING your solution helps OTHERS.. but okay if you don't want to share or come back to the forum because YOU think I have an "attitude" (I don't)..:laugh:
-
Re: New Version 2.212
Quote:
[31-Aug-2014 21:08:31] PHP Fatal error: 1146:Table 'seasonbr_demo.seo_cache' doesn't exist :: DELETE FROM seo_cache WHERE cache_expires <= '2014-08-31 21:08:31' ==> (as called by) /home/seasonbr/public_html/demostore/includes/classes/seo.url.php on line 1245 <== in /home/seasonbr/public_html/demostore/includes/classes/db/mysql/query_factory.php on line 155
Getting this error, not sure why because I don't have a table with that name, any hints? BTW I am using this on a fresh store, with just a template and this plugin, ZC v153 ...
-
Re: New Version 2.212
Fully uninstall (use the included scripts, remove the files, clean any DB entries from older versions) and then install again. The installation creates the seo_cache table.
-
Re: New Version 2.212
Quote:
Originally Posted by
lhungil
Fully uninstall (use the included scripts, remove the files, clean any DB entries from older versions) and then install again. The installation creates the seo_cache table.
I will check it with PHPMyAdmin but I don't think there should be any DB entries as this a FRESH demo, with just the template and template modules ... Nothing else, I installed Ultimate SEO on top ... BTW ...
Problems arose when I started to modify the core files that were not intended for ZC v 153 ...
I dropped the TABLE_SEO_URL so I hope it works this time ...
-
Re: New Version 2.212
I should have mentioned in my prior post about one compatibility issue I had with Ultimate SEO working with the Dynamic Filter plugin. Ultimate SEO didn't handle PHP array GET parameters using '[]' syntax. Dynamic filter uses them to pass variables in the format of "fltOptionName[]". Here's an example:
Code:
?main_page=index&
cPath=1234&
fltPrice[]=$0 - $25&
fltPrice[]=$25 - $50&
fltPrice[]=$50 - $75&
fltSize[]=Medium&
fltPrice[]=&
fltSize[]=&
fltColor[]=White&
fltLength[]=&
fltStyle[]=
The flt* parameters are loaded into arrays which don't work with the snippets below:
seo_url.php function parse_parameters()
PHP Code:
342 default:
343 $container[$p2[0]] = $p2[1];
344 break;
and:
PHP Code:
348 if(sizeof($container) > 0) {
349 if($imploded_params = $this->implode_assoc($container)) {
350 $url .= $separator . zen_output_string($imploded_params);
351 $separator = '&';
352 }
353 }
Any chance your future release will have compatibility with array GET parameters?
FYI: This is the change I made to make them work together on my site.
PHP Code:
default:
if (strpos($p2[0], '[]') === strlen($p2[0]) - 2) {
if (isset($container[$p2[0]])) {
array_push($container[$p2[0]], $p2[1]);
} else {
$container[$p2[0]] = array($p2[1]);
}
} else {
$container[$p2[0]] = $p2[1];
}
break;
PHP Code:
if(sizeof($container) > 0) {
$imploded_params = '';
foreach ($container as $key => $val) {
if (trim($key) == '') {
continue;
} else if (is_array($val) && count($val) > 0) {
foreach ($val as $arr) {
if ($imploded_params != '')
$imploded_params .= '&';
$imploded_params .= $key . '=' . $arr;
}
} else {
if ($imploded_params != '')
$imploded_params .= '&';
$imploded_params .= $key . '=' . $val;
}
}
if ($imploded_params != '') {
$url .= $separator . zen_output_string($imploded_params);
$separator = '&';
}
}
-
Re: New Version 2.212
it's about that Call to undefined function zen_get_ip_address().
It's being caused by the admin/functions/general.php file. There were major changes from 1.5.1 to 1.5.3
The html_output.php in admin was also changed in 1.5.3 but it is a minor change.
I wasted hours last week - and some today. I wasn't sure last week which mod had caused the problem but this time I knew.
The mod still works with the 1.5.3 original files in a upgraded cart - course have no idea if that's true in a new installation.
-
Re: New Version 2.212
Hi I use ultimate SEOs in a 1.5.1 site and it works like a dream.
However I have tried to add it to a new 1.5.3 and it breaks the site even by tweaking the first of the affected files (includes/classes/db/mysql/query_factory.php) even change mysql to mysqli doesn't work.
Please advise is this add-on being upgraded for use on Zencart 1.5.3? I sure hope so. :smile:
-
Re: New Version 2.212
You do not need to edit query_factory.php from Zen Cart 1.5.3. (The included changes for 1.5.0 and 1.5.1 were to fix a known bug in the Zen Cart 1.5.0 and 1.5.1 versions of query_factory.php). The bug fix is already included in Zen Cart 1.5.2+.
As for query_cache.php, just need to add the removeFromCache() function. Rest of the affected core files are mostly 1-3 line changes (to allow the internal cache to automatically purge itself when a product / category / etc are changed - or to add the call to href_link from Ultimate URLs).
Have you gotten a chance to look at the Zen Cart 1.5.2 affected_files (attached earlier in this thread) yet? The edits in those will be close to what is needed for Zen Cart 1.5.3.
-
Re: New Version 2.212
Hello, does anyone have this working with 1.5.3? Also, I was wondering what I need to do if I move the domain name. I moved to a new domain, all my links broke. When I turn off Ultimate SEO it now works again.
-
Re: New Version 2.212
Quote:
Originally Posted by
lhungil
Have you gotten a chance to look at the Zen Cart 1.5.2 affected_files (attached earlier in this thread) yet? The edits in those will be close to what is needed for Zen Cart 1.5.3.
Didn't even know there was one. This thread has got 72 pages :blush:
-
Re: New Version 2.212
Actually I have found the 1.5.2 affected files. Post number #555
-
Re: New Version 2.212
Hi guys,
I had an error running the install file for Ultimate SEO URLs on Zen Cart 1.5.3 on my localhost install on macbook pro:
Code:
1366 Incorrect integer value:
The fix was to amend the file
/admin/includes/init_includes/init_seo_config.php
to include the number 0 for configuration_group_id like so:
PHP Code:
// Create configuration group
$db->Execute(
'INSERT INTO `' . TABLE_CONFIGURATION_GROUP . '` ' .
'VALUES (\'0\', \'' . SEO_CONFIGURATION_GROUP_TITLE . '\', ' .
'\''. SEO_CONFIGURATION_GROUP_DESCRIPTION . '\', \'' . $max_sort . '\', \'1\')'
);
After that, the init file executed fine & created all necessary DB entries.
Hope this helps if anyone runs into the same issue.
Edith
-
Re: New Version 2.212
Quote:
Originally Posted by
dharrison
Actually I have found the 1.5.2 affected files. Post number #555
Thank You for posting about #555, I did not realize it was that many pages back :-)
-
Re: New Version 2.212
Thats ok. We'll probably have to post it again in another few pages time :D
-
Re: New Version 2.212
I've merged the 1.5.2 files from post 555 with my ZC 1.5.3 files however I see that the admin/includes/functions/general.php file is not included in the 1.5.2 zip. And post #717 seems to indicate that there are significant changes between the 5.1 general.php and the 5.3. What is the best way to proceed?
Unfortunately the USEO v2.1.2 files aren't commented very well, so I'm not really sure what lines should be moved and which shouldn't.
Is there a final version of Ultimate SEO that is fully 1.5.3 complete yet, or a timeline for release?
-
Re: New Version 2.212
I'll have to double check... But if the file is not in the 1.5.2 files, it probably does not need to be modified.
-
Re: New Version 2.212
Hi
I have ultimate seo urls installed. I installed the captcha module and it seems the .htaccess file might be preventing the captcha numbers from loading. When I turn ultimate seo urls to false the captcha numbers load fine. The captcha mod installs a /fonts folder. Do you know what needs to be added to or modified in the .htaccess file so that the captcha mod can work properly?
thanks
-
Re: New Version 2.212
Quote:
Originally Posted by
buildingblocks
Hi
I have ultimate seo urls installed. I installed the captcha module and it seems the .htaccess file might be preventing the captcha numbers from loading. When I turn ultimate seo urls to false the captcha numbers load fine. The captcha mod installs a /fonts folder. Do you know what needs to be added to or modified in the .htaccess file so that the captcha mod can work properly?
thanks
RewriteRule ^captcha_img.php.html$ captcha_img.php [L]
-
Re: New Version 2.212
Thanks dbmel
I added it to my .htaccess but it doesn't work for me.
-
Re: New Version 2.212
Quote:
Originally Posted by
dbmel
RewriteRule ^captcha_img.php.html$ captcha_img.php [L]
I have a question in to my host to see if the rule you provided needs to be revised to work with their servers. Sometimes a little tweak from them does the trick. Will let you know if they help with it.
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
buildingblocks
... I installed the captcha module and it seems the .htaccess file might be preventing the captcha numbers from loading. ...
Does the captcha module call application_top.php and NOT integrate as a Zen Cart page? Do you have "automatic redirects" enabled? What version of Zen Cart? What version of Ultimate URLs?
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
lhungil
Does the captcha module call application_top.php and NOT integrate as a Zen Cart page? Do you have "automatic redirects" enabled? What version of Zen Cart? What version of Ultimate URLs?
zen cart 1.5.1
automatic redirects - true
ultimate_seo_urls_212
Thank you. :) I didn't look at those settings good enough. I set it to automatic redirects - false, and the captcha now shows up even without the htaccess rule.
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
I am going to upgrade my store from 1.5.1 tot 1.53. I now have Ultimate SEO v2.200 running.
Is it enough to change my excisting files with the files posted in post #555? Or do I have to make some other changes?
Thanks in advance!
-
1 Attachment(s)
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Users of this plugin have had difficulty using another plugin for which I have provided support when they are using ZC 1.5.3. In one case I had attempted to correct the issues by comparing the files to ZC 1.5.3 and potentially upgraded them to work with ZC 1.5.3. The files originated from the 2.212 version of the software. As lhungil has said previously (for example post 555) use at your own risk. This hasn't been tested, but is being provided here instead of in the other thread where the resulting issues are being discovered, but not the cause of the problem.Attachment 14571
The file contains the files changed to support zc 1.5.3 (which may be different than the version for 1.5.2. provided at post 555.)
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Can I make the changes to the 1.5.3. files befores I upload the files to the server or do I have to change the files after I upload them and finished the zc_install?
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Kcm75
Can I make the changes to the 1.5.3. files befores I upload the files to the server or do I have to change the files after I upload them and finished the zc_install?
In case anyone is waiting on me to answer, long and short of it is that I don't have a tried and true answer. I can make suggestions, that is about it at this time. I would suggest following the combination of the zc upgrade instructions provided in any of the official locations such as the FAQ section of this website, the documentation of the downloaded ZC from the website, and the typical instructions referenced (if any) in the plugins instructions for upgrading say from zc 1.5.0 to 1.5.1, and any guidance offered in this thread for the same type action. I did try to do a search on the word upgrade, but did not find an obvious description to resolve the above question. If it is here, I can think of a few that are likely to find it as soon as I finish this post. :)
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Kcm75
Can I make the changes to the 1.5.3. files befores I upload the files to the server or do I have to change the files after I upload them and finished the zc_install?
You install Zen Cart FIRST before trying to add a module install to the mix..
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
After I installed the ultimate SEO, I find out every page has a "zenid", like http://www.roseforlove.com/jade-rose...oq301e7537lpi0. If you chopped off the "zenid", the page still work (http://www.roseforlove.com/jade-rose-c-142 works just fine).
But I don't want the "zenid" to be shown. I don't know how to get rid of it. Any ideas?
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
lina0962
Well NOT every page has it.
Only the first page viewed has it.
Standard zen-cart behavior.
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
I am having a problem with this addon for a long time and I want to solve it before upgrading.
Each time when I add a product item to the catalogue, I receive this error in my log files:
PHP Fatal error: 1062:Duplicate entry 'ca34fbe5f9a075091ad59abf02c259a7-2' for key 'PRIMARY' :: INSERT INTO zen_seo_cache (cache_id, cache_language_id, cache_name, cache_data, cache_global, cache_gzip, cache_method, cache_date, cache_expires) VALUES ('ca34fbe5f9a075091ad59abf02c259a7', '2', 'seo_urls_v2_products'
Who can help me out with this one?
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Kcm75
I am having a problem with this addon for a long time and I want to solve it before upgrading.
Each time when I add a product item to the catalogue, I receive this error in my log files:
PHP Fatal error: 1062:Duplicate entry 'ca34fbe5f9a075091ad59abf02c259a7-2' for key 'PRIMARY' :: INSERT INTO zen_seo_cache (cache_id, cache_language_id, cache_name, cache_data, cache_global, cache_gzip, cache_method, cache_date, cache_expires) VALUES ('ca34fbe5f9a075091ad59abf02c259a7', '2', 'seo_urls_v2_products'
Who can help me out with this one?
What version of this module are you using????
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Zencart 1.5.1 and Ultimate SEO v2.200
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Kcm75
Zencart 1.5.1 and Ultimate SEO v2.200
Please upgrade to the latest version of Ultimate URLs (and apply any relevant patches for the latest version from this thread).
After the upgrade reset the cache using the Zen Cart administrative interface.
That said, if the hosting provider's MySQL server is slow (or having issues) you may see some entries like the one posted. In this case changing the settings for the cache may be beneficial.
-
1 Attachment(s)
Re: Ultimate SEO 2.200 (new features) [Support Thread]
In my test store I upgraded to zencart 1.5.3 and zencart 2.212.
The first litle problem I am having is, that I cannot use the "admin configuration" with my dutch language.
I copied the english file into my dutch folder:
public_html/nieuw_test/admin/includes/languages/dutch/extra_definitions/seo.php
It uses define('SEO_CONFIGURATION_GROUP_TITLE', 'Ultimate SEO'); in the main admin-configuration menu, but when it shows the SEO option, all the texts are blank like below:
Attachment 14616
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Have you run the installation again after copying the language file?
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Thanks! That did it :)
Ready for today and testing again tomorrow.
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
lhungil
Please upgrade to the latest version of Ultimate URLs (and apply any relevant patches for the latest version from this thread).
After the upgrade reset the cache using the Zen Cart administrative interface.
That said, if the hosting provider's MySQL server is slow (or having issues) you may see some entries like the one posted. In this case changing the settings for the cache may be beneficial.
Still having "duplicate entry" problem. This only occurs when an Admin is adding or edditing a product to the database using the zencart interface AND someone else is browsing the website at the same time. The user browsing the store generates the error and sees in his browser: WARNING: An Error occurred, please refresh the page and try again.
The log file shows:
PHP Fatal error: 1062:Duplicate entry '4c8c09ec83152a7da27516b6c5234f27-2' for key 'PRIMARY' :: insert into zen_seo_cache
What kind of caching settings could be changed to prevent the error?
One other problem keeps coming back in my log files, but I don't now if this has to do with this plugin.
PHP Warning: mysqli_connect(): (HY000/2013): Lost connection to MySQL server at 'sending authentication information', system error: 32 in /home/picto/public_html/includes/classes/db/mysql/query_factory.php on line 62
-
Re: Ultimate SEO 2.200+ (new features)
I have an issue with Ultimate Seo URL's. I have a cart that was fine until this weekend, when we made some changes to some categories. Now, some categories return a blank page:
https://www.b e l m e t r i c .com/index.php?main_page=index&cPath=15_147_1158
Sub-categories and products show up in admin, but links to them fail in the store with a white screen. Searches for model do work ("cm8ss")
Any ideas?
(Z 139h, UltSeo 212)
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Kcm75
... One other problem keeps coming back in my log files, but I don't now if this has to do with this plugin.
PHP Warning: mysqli_connect(): (HY000/2013): Lost connection to MySQL server at 'sending authentication information', system error: 32 in /home/picto/public_html/includes/classes/db/mysql/query_factory.php on line 62
This indicates a problem with the communication between the PHP and MySQL (and you are correct - it is not this plugin - unless something was not merged quite right). Under Zen Cart 1.5.3 common causes are: calls in PHP to functions starting with "mysql_" (do a search of all files), the site being hosted on an overloaded shared server, maintenance on the server hosting the site, other software / hardware issues with the hosting environment.
Quote:
Originally Posted by
Kcm75
... The log file shows:
PHP Fatal error: 1062:Duplicate entry '4c8c09ec83152a7da27516b6c5234f27-2' for key 'PRIMARY' :: insert into zen_seo_cache ...
For more details see this post. Usual cause is a slowly performing database write (with a multi-threaded PHP configuration).
Quote:
Originally Posted by
Kcm75
... What kind of caching settings could be changed to prevent the error? ...
Turn off the individual SQL caches (product, category, manufacturers, ez-pages). This way Ultimate URLs will not attempt to keep SQL based caches for those items (so no read / write from seo_cache).
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
semide
... Now, some categories return a blank page ... Any ideas? ...
Can you post your .htaccess file (Be kind; Use "code" tags around the contents of the .htaccess file when you post. These can be added by clicking on the # sign while creating / editing a reply.) Can you also post the contents of any "debug" logs (also inside "code" tags)?
-
Re: Ultimate SEO 2.200+ (new features)
Thx for the info lhungil. I seems like most of the problems could be at my hosting provider :(
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
Kcm75
Thx for the info lhungil. I seems like most of the problems could be at my hosting provider :(
Perhaps... But if I was seeing that message alot, I would probably just disable those caches (not the global cache) in version 2.212 of this module. While the individual caches save a few SQL Queries and calculations, on most hosts I have seen a negligible performance effect.
-
Re: Ultimate SEO 2.200+ (new features)
One site on my server has started this as well. Server is not overfull but running php 5.3 still since too many customers have not upgraded yet. Any hints to what I could look at server wise that could create this problem?
-
Re: Ultimate SEO 2.200+ (new features)
Hi
I'm testing ultimate seo, all looks well, but I have a question: Is it possible to change the contact_us, specials, etc... to my own language ?
Thanks
-
Re: Product Cache Generation Patch
Installed Ultimate SEO 2.212 Final to Zen-Cart 1.5.1 with no errors. Configured, enabled, reset cache, uploaded .htaccess, but nothing happened. Still old urls with existing products. Please advice. Thank you.
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mesnitu
Hi
I'm testing ultimate seo, all looks well, but I have a question: Is it possible to change the contact_us, specials, etc... to my own language ?
Thanks
Not at this time with Ultimate URLs as those are the physical names of the Zen Cart "pages". Ultimate URLs at this time only supports "rewrite" mode, where the URL still contains everything necessary (without a database query) for translating to an internal Zen Cart URL. The physical page names such as "contact_us", "specials", etc are required by Zen Cart to know what "page" to show to a website visitor.
One "could" alter the behavior (I would not recommend it at this time) by:
- Altering the href_link() function in Ultimate URLs to change the names returned.
- Altering the ".htaccess" file to understand how to handle the changed names.
-
Re: Product Cache Generation Patch
Quote:
Originally Posted by
ksivv
Installed Ultimate SEO 2.212 Final to Zen-Cart 1.5.1 with no errors. Configured, enabled, reset cache, uploaded .htaccess, but nothing happened. Still old urls with existing products. Please advice. Thank you.
So the module is enabled and the "installer" reported success during step 5 of the installation instructions? (Click on any link in the admin interface ...)
If the above is true and you are seeing the stock Zen Cart product URLs, the usual causes are: a skipped / forgotten core file modification, some files did not upload correctly, or the setting for "Enter pages to allow rewrite" is not quite right.
Have you added any custom product types to Zen Cart? Are there any "debug logs"? Have you tried walking through the entire installation process a second time?
-
Re: Product Cache Generation Patch
Thank you for response. Just tried to reinstall - same result - success, but nothing happened. Didn't added anything, just plain products using EP. No debug log since EP product upload (24 hours ago).
-
Re: Ultimate SEO 2.200+ (new features)
thanks !
I'm using the ceon, and I already have a lot of links spread in the net, categories, etc... But I'm about to use the bookx modules for books, and until now the only, the ultimate seo was the only one that handled the new product type product info automatically .... but having a contact_us etc in English... it doesn't make much sense for my language....
So I was looking for a way to make this transition without being penalize in the search engines, and having all those not found pages in the site.... but I guess, it's going to be difficult.
ok , Thanks
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mesnitu
thanks !
I'm using the ceon, and I already have a lot of links spread in the net, categories, etc... But I'm about to use the bookx modules for books, and until now the only, the ultimate seo was the only one that handled the new product type product info automatically .... but having a contact_us etc in English... it doesn't make much sense for my language....
So I was looking for a way to make this transition without being penalize in the search engines, and having all those not found pages in the site.... but I guess, it's going to be difficult.
ok , Thanks
As is the case with all plugins, one should check the applicable forum thread to resolve an issue. I don't want to discuss the issue further in this thread, but if I understnd correctly it is possible to accomplish what you are trying to do without the loss that is your other concern.
-
Re: Ultimate SEO 2.200+ (new features)
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mesnitu
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
Glad it worked out, and actually it was I who did not want to mix threads and go into the solution. There was nothing wrong about your post, how you wanted to convert to using this uri rewriter, and the problem that was being had. Sometimes when down the rabbit hole, going back to the basics is forgotten. :)
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mc12345678
As is the case with all plugins, one should check the applicable forum thread to resolve an issue. I don't want to discuss the issue further in this thread, but if I understnd correctly it is possible to accomplish what you are trying to do without the loss that is your other concern.
Quote:
Originally Posted by
mesnitu
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
Quote:
Originally Posted by
mc12345678
Glad it worked out, and actually it was I who did not want to mix threads and go into the solution. There was nothing wrong about your post, how you wanted to convert to using this uri rewriter, and the problem that was being had. Sometimes when down the rabbit hole, going back to the basics is forgotten. :)
IF there is a posted solution for converting from Ceon URI to Ultimate SEO, does anyone want to SHARE the solution????? (which is totally ON TARGET for this support thread)
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
DivaVocals
IF there is a posted solution for converting from Ceon URI to Ultimate SEO, does anyone want to SHARE the solution????? (which is totally ON TARGET for this support thread)
To be honest, not sure which "solution" was considered, but the issue that looked like was solvable with minimal effort was the addition of a product type. As for solutions to convert a site that uses CEON URIs to one that uses this, what I have seen "work" is to export the CEON URI/product information data, create .htaccess rewrite rules that do not overlap (ie, category rewrite after all product rewrites in that category) such that the ceon uris re returned to ZC standard uris before Ultimate SEO (or ny other rewriter) processes the request(s). Otherwise there may be a way to be developed to accept an initial CEON uri but to not allow CEON to "replace" the links loaded in favor of another uri rewriter kicking in for subsequent uris. I haven't seen any such creature yet, not ventured to identify. Additionally there might be issues associated with the .htaccess rules between the various uri rewriters to overcome.
But, what I saw the issue was and was suggesting to overcome was the issue of why the conversion was being done (product_type being added).
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
To be honest, not sure which "solution" was considered, but the issue that looked like was solvable with minimal effort was the addition of a product type.
Yes, that was the solution that I found, when reading that was possible, it lead me to a google search, and there it was.
-
Re: Ultimate SEO 2.200+ (new features)
No, still can't get it work, read all this tread could't find solution. Reinstalled another couple of times, changed .htaccess to new one suggested here - nothing. Contacted hosting support, there is no problems with server. please advice.
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
ksivv
No, still can't get it work, read all this tread could't find solution. Reinstalled another couple of times, changed .htaccess to new one suggested here - nothing. Contacted hosting support, there is no problems with server. please advice.
Post a link to your site (or PM w/ link).
Post the following items from your live / testing site (not your local computer). Use "code" tags (the # button) to wrap the contents so they are easily readable.
- The contents of "/includes/configure.php". Please remove the database credentials only.
- The entire zen_href_link() function from "/includes/html_output.php".
- The entire contents of "/includes/auto_loaders/config.seo.php".
- The first five lines of "/includes/classes/config.seo.php".
Also do you have any "Numinex" plugins installed?
-
Re: Ultimate SEO 2.200+ (new features)
I have an issue as a client has no dashes, how can I remove the dashes like this
word-word-word.html
to
wordwordword.html
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mprough
... word-word-word.html to wordwordword.html ...
The last name filter run by Ultimate URLs replaces all spaces " " with dashes "-". Currently this behavior cannot be disabled / changed in the configuration settings.
The PCRE filter is the very first filter run and is completely customizable in the configuration settings. If one would like all whitespace to be stripped (from all categories, ezpages, products, manufacturers, etc), add the following PCRE filter:
NOTE: Filter tested under PHP 5.3 and 5.4 with magic quotes disabled.
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lhungil
The last name filter run by Ultimate URLs replaces all spaces " " with dashes "-". Currently this behavior cannot be disabled / changed in the configuration settings.
The PCRE filter is the very first filter run and is completely customizable in the configuration settings. If one would like all whitespace to be stripped (from all categories, ezpages, products, manufacturers, etc), add the following PCRE filter:
NOTE: Filter tested under PHP 5.3 and 5.4 with magic quotes disabled.
That doesn't work... I did reset the cache to verify
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
mprough
That doesn't work... I did reset the cache to verify
Zen Cart version?
Ultimate URLs version?
PHP Version?
PHP configuration for magic quotes?
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lhungil
Zen Cart version?
Ultimate URLs version?
PHP Version?
PHP configuration for magic quotes?
1.5.3
2.212
5.3.29
magic_quotes_gpc On
magic_quotes_runtime Off
magic_quotes_sybase Off
-
Re: Ultimate SEO 2.200+ (new features)
Working but main categories not added to the static urls ...https://www.theoutletseason.com/scen...=index&cPath=1
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
mprough
1.5.3
2.212
5.3.29
magic_quotes_gpc On
magic_quotes_runtime Off
magic_quotes_sybase Off
Highly recommend disabling magic_quotes_gpc as this can cause issues and has been removed from future versions of PHP.
If magic_quotes_gpc cannot be disabled, try "\s" instead of "\\s".
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
icecold
This appears to be caused by your theme / template. Looks like your "navigation" menu is not using zen_href_link.
-
Re: Ultimate SEO 2.200+ (new features)
Hi,
I'm having problems getting Ultimate SEO Zencart addon to work on a site. When I enable it the url is rewritten, e.g:
http://www.carbonfibreprofiles.com/i...roducts_id=487
goes to:
http://www.carbonfibreprofiles.com/c...d-15mm-c-3_91/
but the page itself goes to a 404:
Not Found
The requested document was not found on this server.
I imported the sample .htaccess file using the IIS url-rewrite module:
http://www.iis.net/learn/extensions/...drewrite-rules
all were imported apart from the rewritebase / statement which it says IIS does not support - is that the critical issue causing the problem?
Is there something else I need to do to get it working on IIS7.5 ?
My config:
Server OS: Windows NT DED3353 6.1 build 7601 Database: MySQL 5.1.73-community
HTTP Server: Microsoft-IIS/7.5
PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
Zen Cart 1.5.1
Database Patch Level: 1.5.1
Ultimate SEO Version
Installed Version
2.212
Thanks,
Andrew
-
Re: Ultimate SEO 2.200+ (new features)
Hello,
v.1.3.9h Ultimate SEO URLS installed
I need to be able to negate checkout files from being converted to SEO Urls - have just installed Fast & Easy Checkout (FEC) by Numinix and the checkout won't work with SEO enabled but does with it disabled. I like your Ultimate SEO Urls (have it on 6 sites) and want to continue to use it so I just need to know how to ask it not to convert certain files.
many thanks, Mike
-
Ultimate SEO 2.200 & Numinix Modules
what the heck do I know as I've OBVIOUSLY never used FEC and USU together.. **SHRUG** that said let me share what I apparently DON'T know..:laugh: Maybe it will be useful for others..:cool:
A search of this thread for "FEC" would have turned up this thread:
http://www.zen-cart.com/showthread.p...30#post1189830
Quote:
Originally Posted by
lhungil
What version of Zen Cart and Ultimate SEO URLs are you experiencing this issue under?
Where during the checkout process is it bringing this up? Is it with a specific payment method?
What URLs are being called via AJAX by the Numinex FEC module?
Can you provide a link to the site in question so we can see exactly what is occurring?
Can you also PM a dummy customer account I can test with?
POST data will be lost if a redirect occurs. The current version of Ultimate SEO URLs does not issue a 301 redirect for any page where "POST" data is present (for security POST should always be used with form submissions during checkout).
The current version of Ultimate SEO URLs will also not rewrite pages not listed in "pages to rewrite" (unless you cleared the default list). If you cleared the list, please add back the pages you want rewritten. If you added "quick_checkout", just remove it from the list. The variable found in "main_page=" is the name of the Zen Cart "page".
You say removing "index" from the list of pages to rewrite fixes your issues? This is rather strange, as "index" refers to category pages (category_list and product_list) and the main page... Not checkout pages... Does FEC modify category pages?
"pages to rewrite" = Configuration > Ultimate (SEO) URLs > Limit alternate URLS to the following pages
A further search in this thread for "Numinix" would have turned up this thread:
http://www.zen-cart.com/showthread.p...58#post1239458
Quote:
Originally Posted by
DivaVocals
Right.. and apparently use_function can be used for MORE than this.. wouldn't you guys be interested in some "spirit" of collaboration in making sure that your module plays nice with others.. Thank goodness lhungil was nice enough to help me fix an issue with the Google Product Search module otherwise I'd still be spitting in the wind..
And this was the exact discovery that we made as well.. my apologies for not posting an update to this.. The Numinix modified
configuration.php file does NOT work with USU.. The fix posted earlier helped, but wasn't quite the right fix.. Turns out that it required a bit of a BIGGER fix.. I have included my entire modified
configuration.php file with the NEW code that I have working on my development site.. It allows BOTH USU and the Numinix modified
configuration.php file to co-exist peacefully.. You all don't HAVE to update your products with these changes, but I'm sure as heck gonna suggest folks use it if they are using your Google Product Search product since it's working on my dev site with NO ISSUES whatsoever..
I'll leave it to your code jockey's to hash out the whys and hows.. I only care that I have a WORKING site..
Code:
<?php
/**
* @package admin
* @copyright Copyright 2003-2012 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version GIT: $Id: Author: Ian Wilson Thu Aug 16 12:36:12 2012 +0100 Modified in v1.5.1 $
*/
require('includes/application_top.php');
$action = (isset($_GET['action']) ? $_GET['action'] : '');
if (zen_not_null($action)) {
switch ($action) {
case 'save':
// demo active test
if (zen_admin_demo()) {
$_GET['action']= '';
$messageStack->add_session(ERROR_ADMIN_DEMO, 'caution');
zen_redirect(zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cID));
}
$configuration_value = zen_db_prepare_input($_POST['configuration_value']);
$cID = zen_db_prepare_input($_GET['cID']);
$db->Execute("update " . TABLE_CONFIGURATION . "
set configuration_value = '" . zen_db_input($configuration_value) . "',
last_modified = now() where configuration_id = '" . (int)$cID . "'");
$configuration_query = 'select configuration_key as cfgkey, configuration_value as cfgvalue
from ' . TABLE_CONFIGURATION;
$configuration = $db->Execute($configuration_query);
// set the WARN_BEFORE_DOWN_FOR_MAINTENANCE to false if DOWN_FOR_MAINTENANCE = true
if ( (WARN_BEFORE_DOWN_FOR_MAINTENANCE == 'true') && (DOWN_FOR_MAINTENANCE == 'true') ) {
$db->Execute("update " . TABLE_CONFIGURATION . "
set configuration_value = 'false', last_modified = '" . NOW . "'
where configuration_key = 'WARN_BEFORE_DOWN_FOR_MAINTENANCE'"); }
$configuration_query = 'select configuration_key as cfgkey, configuration_value as cfgvalue
from ' . TABLE_CONFIGURATION;
$configuration = $db->Execute($configuration_query);
zen_redirect(zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cID));
break;
}
}
$gID = (isset($_GET['gID'])) ? $_GET['gID'] : 1;
$_GET['gID'] = $gID;
$cfg_group = $db->Execute("select configuration_group_title
from " . TABLE_CONFIGURATION_GROUP . "
where configuration_group_id = '" . (int)$gID . "'");
if ($gID == 7) {
$shipping_errors = '';
if (zen_get_configuration_key_value('SHIPPING_ORIGIN_ZIP') == 'NONE' or zen_get_configuration_key_value('SHIPPING_ORIGIN_ZIP') == '') {
$shipping_errors .= '<br />' . ERROR_SHIPPING_ORIGIN_ZIP;
}
if (zen_get_configuration_key_value('ORDER_WEIGHT_ZERO_STATUS') == '1' and !defined('MODULE_SHIPPING_FREESHIPPER_STATUS')) {
$shipping_errors .= '<br />' . ERROR_ORDER_WEIGHT_ZERO_STATUS;
}
if (defined('MODULE_SHIPPING_USPS_STATUS') and (MODULE_SHIPPING_USPS_USERID=='NONE' or MODULE_SHIPPING_USPS_SERVER == 'test')) {
$shipping_errors .= '<br />' . ERROR_USPS_STATUS;
}
if ($shipping_errors != '') {
$messageStack->add(ERROR_SHIPPING_CONFIGURATION . $shipping_errors, 'caution');
}
}
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
<script language="javascript" src="includes/menu.js"></script>
<script language="javascript" src="includes/general.js"></script>
<script type="text/javascript">
<!--
function init()
{
cssjsmenu('navbar');
if (document.getElementById)
{
var kill = document.getElementById('hoverJS');
kill.disabled = true;
}
}
// -->
</script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onLoad="init()">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<!-- body_text //-->
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo $cfg_group->fields['configuration_group_title']; ?></td>
<td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent" width="55%"><?php echo TABLE_HEADING_CONFIGURATION_TITLE; ?></td>
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_VALUE; ?></td>
<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td>
</tr>
<?php
$configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key,
use_function from " . TABLE_CONFIGURATION . "
where configuration_group_id = '" . (int)$gID . "'
order by sort_order");
while (!$configuration->EOF) {
if (zen_not_null($configuration->fields['use_function'])) {
$use_function = $configuration->fields['use_function'];
if (preg_match('/->/', $use_function)) {
$class_method = explode('->', $use_function);
if (!is_object(${$class_method[0]})) {
include(DIR_WS_CLASSES . $class_method[0] . '.php');
${$class_method[0]} = new $class_method[0]();
}
$cfgValue = zen_call_function($class_method[1], $configuration->fields['configuration_value'], ${$class_method[0]});
} else {
$cfgValue = zen_call_function($use_function, $configuration->fields['configuration_value']);
}
} else {
$cfgValue = $configuration->fields['configuration_value'];
}
if ((!isset($_GET['cID']) || (isset($_GET['cID']) && ($_GET['cID'] == $configuration->fields['configuration_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {
$cfg_extra = $db->Execute("select configuration_key, configuration_description, date_added,
last_modified, use_function, set_function
from " . TABLE_CONFIGURATION . "
where configuration_id = '" . (int)$configuration->fields['configuration_id'] . "'");
$cInfo_array = array_merge($configuration->fields, $cfg_extra->fields);
$cInfo = new objectInfo($cInfo_array);
}
if ( (isset($cInfo) && is_object($cInfo)) && ($configuration->fields['configuration_id'] == $cInfo->configuration_id) ) {
echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '\'">' . "\n";
} else {
echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $configuration->fields['configuration_id'] . '&action=edit') . '\'">' . "\n";
}
?>
<td class="dataTableContent"><?php echo $configuration->fields['configuration_title']; ?></td>
<td class="dataTableContent"><?php echo htmlspecialchars($cfgValue, ENT_COMPAT, CHARSET, TRUE); ?></td>
<td class="dataTableContent" align="right"><?php if ( (isset($cInfo) && is_object($cInfo)) && ($configuration->fields['configuration_id'] == $cInfo->configuration_id) ) { echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $configuration->fields['configuration_id']) . '" name="link_' . $configuration->fields['configuration_key'] . '">' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td>
</tr>
<?php
$configuration->MoveNext();
}
?>
</table></td>
<?php
$heading = array();
$contents = array();
switch ($action) {
case 'edit':
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
if ($cInfo->set_function) {
eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value, ENT_COMPAT, CHARSET, TRUE) . '");');
} else {
$value_field = zen_draw_input_field('configuration_value', htmlspecialchars($cInfo->configuration_value, ENT_COMPAT, CHARSET, TRUE), 'size="60"');
}
$contents = array('form' => zen_draw_form('configuration', FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save'));
if (ADMIN_CONFIGURATION_KEY_ON == 1) {
$contents[] = array('text' => '<strong>Key: ' . $cInfo->configuration_key . '</strong><br />');
}
$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
$contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field);
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_update.gif', IMAGE_UPDATE, 'name="submit' . $cInfo->configuration_key . '"') . ' <a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (isset($cInfo) && is_object($cInfo)) {
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
if (ADMIN_CONFIGURATION_KEY_ON == 1) {
$contents[] = array('text' => '<strong>Key: ' . $cInfo->configuration_key . '</strong><br />');
}
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
$contents[] = array('text' => '<br>' . $cInfo->configuration_description);
$contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . zen_date_short($cInfo->date_added));
if (zen_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . zen_date_short($cInfo->last_modified));
}
break;
}
if ( (zen_not_null($heading)) && (zen_not_null($contents)) ) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box;
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
-
Re: Ultimate SEO 2.200 & Numinix Modules
Quote:
Originally Posted by
DivaVocals
what the heck do I know as I've OBVIOUSLY never used FEC and USU together.. **SHRUG** that said let me share what I apparently DON'T know..:laugh: Maybe it will be useful for others..:cool:
A search of this thread for "FEC" would have turned up this thread:
http://www.zen-cart.com/showthread.p...30#post1189830
Numinix do not have a fix for USU, they do for Magic SEO - the USU fix is only a PARTIAL fix - you would probably know this if you had used both mods together :)
"pages to rewrite" = Configuration > Ultimate (SEO) URLs > Limit alternate URLS to the following pages
A further search in this thread for "Numinix" would have turned up this thread:
http://www.zen-cart.com/showthread.p...58#post1239458
Numinix do not have a fix for USU, they do for Magic SEO - the USU fix for FEC is only a PARTIAL fix - you would probably know this if you had used both mods together :) Just to confirm things for your own benefit why don't you do as I have done, communicate directly (PM) with the authors of both mods and ask them the question(s) :)
However, thanks for your comments anyway Diva, I always get a lot from them in whatever forum they may appear :)
-
Re: Ultimate SEO 2.200 & Numinix Modules
In a nutshell, dead on DivaVocals. Until the next release of Ultimate URLs, anyone usung a Numinix module and running into issues is more than welcome to contact me via PM.
@shags38, First - there is a fix. The fix has been communicated to Numinix. DivaVicals was one of those who tested and verified the fix works. The offer to help in the PM I sent earlier still is open. I would also strongly recommend upgrading to Zen Cart 1.5.x in the near future.
-
Re: Ultimate SEO 2.200 & Numinix Modules
Quote:
Originally Posted by
lhungil
In a nutshell, dead on DivaVocals. Until the next release of Ultimate URLs, anyone usung a Numinix module and running into issues is more than welcome to contact me via PM.
Yeah.. but what the heck do I know.. Since apparently despite the posts here to the contrary (or even your own words), I never communicated about with either you or Numinix about the issue.. Apparently I am LYING when I say I have installed both modules together.. (say what??????:shocking:) I am apparently just makin' this all up. Nonetheless, I will continue to post information I know is TRUE for the benefit of other more receptive community members.. (which is why my reply was a general one for those who don't demand PROOF that fat meat is greasy..:laugh:)
Quote:
Originally Posted by
lhungil
@shags38, First - there is a fix. The fix has been communicated to Numinix. DivaVicals was one of those who tested and verified the fix works.
Apparently I really didn't test anything even if YOU say so..:laugh:
-
Re: Ultimate SEO 2.200 & Numinix Modules
Quote:
Originally Posted by
lhungil
In a nutshell, dead on DivaVocals. Until the next release of Ultimate URLs, anyone usung a Numinix module and running into issues is more than welcome to contact me via PM.
@shags38, First - there is a fix. The fix has been communicated to Numinix. DivaVicals was one of those who tested and verified the fix works. The offer to help in the PM I sent earlier still is open. I would also strongly recommend upgrading to Zen Cart 1.5.x in the near future.
Talk about confusion!!
ihungil - your PM to me says fix posted in the forum is only "partial". Numinix says they don't have a fix. ihungil says the fix has been "communicated to Numinix" but they are ignoring it. The complete yet to be published fix is available via PM and signing a NDA. DivaVocals tested what? the partial fix posted in here or the yet to be published fix sent via email? If it was the partial fix how come it works? If it was the yet to be published fix then Diva I apologize but I was unaware you were talking about that fix, I thought you were talking about the "partial" fix posted in the forum which apparently is not the proper fix.
What is going on - why the intrigue?
I really have no idea what to do now - do I wait for the "real" fix to be published or sent to me or do I apply the "partial fix" .. or do I delete USU and install CEON URI Mapping which I have been informed does not have any issues with FEC. At present I have switched off USU so that the FEC can work but obviously I am in favor of SEO based URL's so am not happy to settle for dynamic url's just to have the FEC work. ihungil, Updating to 1.5.x is something that probably should be done in a general sense but what effect/advantage does it have in respect to USU/FEC compatibility issues?
I don't know why the reticence of Numinix to not adopt your fix for their FEC or vice versa but it doesn't sit well with me that a major contributor like Numinix would provide a fix for another SEO url mod but not USU with its thousands of users - strange to say the least. Is there a feud of some sort?
At the end of the day anyone reading the posts on this subject in both threads, this one and FEC (and the Private Messages if they had access to them) would be reaching for the vallium, honestly so confusingly disjointed.
Alas I am but a humble ZC plebeian trying to improve his lot.
-
Re: Ultimate SEO 2.200 & Numinix Modules
Hopefully we can help you resolve the issues you are experiencing and clear up any confusion.
The fix posted earlier includes the functional changes needed for the version of the Numinix module at the time of posting (and Zen Cart 1.5.1 if memory serves me correctly).
The BETA version of Ultimate URLs includes some additional information regarding Numinix code changes to core Zen Cart files affecting Ultimate URLs. It also includes changes to accomodate modules not using full Zen Cart pages, simplified configuration options (and radio buttons), a completely different installation / upgrade process, etc.
The BETA version of this module is always released only under a NDA. I will not go into a discourse on the many reasons, but will say they are to protect Zen Cart store owners.
Those wishing to help BETA test can send me a PM. Be aware I do require active and constructive feedback from BETA team members. Those wishing to apply can send me a PM.
I have never said Numinix is "ignoring" anything, only that the cause and remedy have been communicated. I do know they were looking into changes, but I have no further information.
As for why Zen Cart 1.5.x? Zen Cart 1.3.x is no longer officially supported (even 1.5.0 is past EOL). Zen Cart 1.5.3+ also includes fixes and enhancements to the handling of MySQL queries (directly benefiting this module).
-
1 Attachment(s)
Re: Ultimate SEO 2.200 & Numinix Modules
hi
i stall for first a version 2.212 on zencart 153
i dont have error but the rewrite dont work
the modules not active in every case
i have a atachement screen shot on admin panel ( i upload a file languages on admin/includes/languages ) but the text dont see
thanks for support
-
Re: Ultimate SEO 2.200 & Numinix Modules
Based on the screenshot, it looks like some of the files may not have been uploaded (or uploaded to the wrong location) during step 2. Copy files from "2_new_files". This includes moving files found in "2_new_files/your_admin_folder" to the actual admin folder on the store.
If you are using a non-english language for the Zen Cart administrative interface, you will need to copy the language files (and optionally translate them - submissions are welcome) to the language folder for the language used in the Zen Cart administrative interface. This is only needed for Ultimate URLs 2.212 and older.
All installation steps must be done in the order listed, any deviation will cause issues. I would recommend salvo72 start over from step 1b and take each step one at a time. Handle any "language file" changes during step 2 if using non-english for the Zen Cart administrative interface. Keep in mind for Ultimate URLs 2.212 to correctly operate under Zen Cart 1.5.3, you WILL need to use step 1b (manually merging the changes).
NOTES: REF #1, REF #2, REF #3, REF #4, REF #5, and REF #6.
-
Re: Ultimate SEO 2.200 & Numinix Modules
i re-upload the file and it's upload without error and its at just position on server !!!
i use english and italian languages,, but its the every problem in every language setting
-
Re: Ultimate SEO 2.200 & Numinix Modules
ok ok, excuse
i do not upload a file of folder 1-affected-151
but when i upload this file i see a page blank on admin page access!!!!
-
Re: Ultimate SEO 2.200 & Numinix Modules
Question:
Quote:
Originally Posted by
salvo72
...i use english and italian languages,, but its the every problem in every language setting
Answer:
Quote:
Originally Posted by
lhungil
... If you are using a non-english language for the Zen Cart administrative interface, you will need to copy the language files (and optionally translate them - submissions are welcome) to the language folder for the language used in the Zen Cart administrative interface. This is only needed for Ultimate URLs 2.212 and older. ...
For example if you have configured your Zen Cart administrative interface to use "italian":
During step 2 you need to also copy "/2_new_files/your_admin_folder/includes/languages/english/extra_definitions/seo.php" to "/your_admin_folder/includes/languages/italian/extra_definitions/seo.php" on the server. Remember, "your_admin_folder" should be replaced with the actual name of the Zen Cart administrative location (folder) on your server.
Another example can be found in the previous posts: REF #4, REF #5, REF #6.
Question:
Quote:
Originally Posted by
salvo72
... i do not upload a file of folder 1-affected-151 ... but when i upload this file i see a page blank on admin page access!!!!
Answer:
Quote:
Originally Posted by
lhungil
... Keep in mind for Ultimate URLs 2.212 to correctly operate under Zen Cart 1.5.3, you WILL need to use step 1b (manually merging the changes). ...
This means you cannot just overwrite files (cannot use step 1a). You need to MANUALLY integrate the changes for Zen Cart 1.5.3. The following previous posts contain more details: REF #1, REF #2, and REF #3.
Unless the merges are done correctly, things will not work.
If you are getting a blank page, post your debug log(s).
-
Re: Ultimate SEO 2.200 & Numinix Modules
Im having the "EP4 FATAL ERROR: No default language set." problem on my 1.5.3 store. Its a known issue between Easy populate 4 and USU. I tried uploading the files linked here
http://www.zen-cart.com/showthread.p...49#post1260149
but they didnt fix the issue. It looks to me like the problem lies within
includes/classes/db/mysql/query_factory.php
as when I replace that file with the 1.5.3 version, EP4 works (USU does not though)
Does the beta version have a new includes/classes/db/mysql/query_factory.php file?
-
Re: Ultimate SEO 2.200 & Numinix Modules
@Chargin
There is no known compatibility issue with Easy Populate 4 and Ultimate URLs. The problems listed in the post you are referencing were traced back to the OP incorrectly merging files (and merging some files not requiring merging).
For more details on installing Ultimate URLs 2.212 in Zen Cart 1.5.2 and 1.5.3 please read reference #1, #2, and #3 in the post immediately proceeding your post.
As per REF #2 (in the post immediately before yours), query_factory.php from Zen Cart 1.5.3 should not be modified when installing Ultimate URLs.
The copy of query_factory.php in Zen Cart 1.5.0 and 1.5.1 had known bugs (corrected in Zen Cart 1.5.2). The distribution zip file for Ultimate URLs simply included already patched versions of query_factory.php for Zen Cart 1.5.0 and 1.5.1.
If you are still encountering issues after following the instructions in those three posts please post more details including any debug logs and a link to your TEST site.
And yes the BETA is far easier to install, but still undergoing some QA testing.
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Hi,
I am using zen cart version 1.3.7
will this module work fine with my version?
kindly reply
-
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Version: 2.105 would, but it's really time to upgrade.
-
Re: Ultimate SEO 2.200+ (new features)
Is this mod suppose to also change the sitemap.xml files to friendly urls ?
I have it installed and working, it appears to working fine, but I noticed the sitemap.xml was not being changed to friendly urls. Not sure if this is an issue or something it doesn't do?
Zen V: 153 sitemapxml 3.2.12 ultimatseo 212
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
SStreich
Is this mod suppose to also change the sitemap.xml files to friendly urls ?
I have it installed and working, it appears to working fine, but I noticed the sitemap.xml was not being changed to friendly urls. Not sure if this is an issue or something it doesn't do?
Zen V: 153 sitemapxml 3.2.12 ultimatseo 212
Zen Cart internally generates URLs using the function zen_href_link. This function should be used by all code when generating URLs (however some 3rd party modules may not be properly coded to use this function). Ultimate URLs alters zen_href_link (to generate alternative "friendly" URLs).
If you are not seeing the alternative URLs, either Ultimate URLs is not properly installed -- or -- the third party module you are using to generate the "sitemap.xml" is not properly coded to use zen_href_link.
Do you have a link to your site (so we can see if the URLs are being properly generated on the various store pages)?
-
Re: Ultimate SEO 2.200+ (new features)
site: www.streichs.com
sitemap is http://www.streichs.com/sitemap.xml
In Ultimate seo I had to remove a couple of the pages I am not currently using as it was throwing a error in the server logs: These are what I left intact:
index, product_info, document_general_info, document_product_info, products_new, products_all, shopping_cart, featured_products, specials, contact_us, privacy, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon, page
Should I be adding the sitemap.xml to this list ?
-
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
SStreich
... sitemap is "www.streichs.com/sitemap.xml" ...
I am seeing the alternative URLs in the XML sitemaps found above. Did you need to do anything special? Or just install the SitemapXML plugin for Zen Cart by a_berezin?
-
Ultimate URLs 2.215
The next release of Ultimate URLs is currently awaiting some additional QA testing by the BETA testers. Once the current BETA testers have finished their own QA testing, if no major bugs are found Ultimate URLs 2.215 will be released (Zen Cart 1.3.9h, Zen Cart 1.5.0 - 1.5.4).
One of the HUGE changes in Ultimate URLs 2.215 is the installer (installs, upgrades, and removal) code now merges to the required core files programmatically; essentially removing the need for manual merging (in most hosting environments). Anyone willing to BETA test (required to provide feedback) can contact me via PM.
-
Re: Ultimate URLs 2.215
ZC 1.5.4
Any release date on the new version yet? I have noticed some major diff between the core files and halted the implementation. Is the current version compatible with 1.5.4?
-
Re: Ultimate URLs 2.215
I would not recommend installing Ultimate URLs 2.212 under Zen Cart 1.5.4. While most of the code will work, some of the "automatic redirection code" if enabled may cause issues.
No release date yet for Ultimate URLs 2.215; have not heard from any of the current BETA testers yet. In their defense they are donating their time, so they may have other priorities at the moment.
-
Re: Ultimate URLs 2.215
Helping someone with their site. ZC 1.5.1 installed, Site was built as a rebuild from ZC 1.5.0 (database upgraded using zc_install) Zip of the store files were downloaded from the zen-cart website. Unfortunately at the moment unable to identify php version without writing a file to directly display the phpinfo, but they are receiving the following errors (1 or more type of error message displayed possibly pretty much at least once a day.
Code:
[07-Jan-2015 13:58:24] PHP Warning: parse_url(/https://www.sitename.com/index.php?main_page=account&amp;zenid=(value removed)) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /sub-directory-removed/public_html/subfolder/includes/classes/seo.url.php on line 1273
[05-Jan-2015 19:11:09] PHP Warning: parse_url(/rewritten-directory-c-5/rewitten_product_name-c-5_11/http://) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /sub-directory-removed/public_html/subfolder/includes/classes/seo.url.php on line 1273
Hadn't seen a similar post, wondering if anyone else has had this issue, or if a "patch" existed to prevent these types of terror messages. It does seem that in some cases it is possible to reproduce the error by incorrectly entering the URIs shown to cause problems... Thank you for your time.