Don't worry I haven't started stalking you OFFICIALLY yet!!! :laugh::laugh:
Printable View
thanks for all the help and advice ppl...
i went with SSU simply because i already used one of yellows mods (just another cross sell mod ) so i already had his module manager installed.
but it does have some annoying problems when it comes to the cart.
I will be uninstalling SSU simply cos its not working right and it seems that Yellow has moved on to a ZC fork.
and ceons supoort looks top notch!
just got to uninstall SSU now...#gulp#
i shall return soon... pestering ppl for help when i mess up this mods install :)
I am having problems getting the uri rewrite to work on this site:
www.more~~~~~thangems.com
Things I do know:
The admin section seems to work fine in that urls are created and stored.
The html_output file is the right version.
No links are being re-written.
The hosting company says that there is no problem with mod_rewrite although I do not see it when I do a phpinfo()
The .htaccess is cut and pasted from the installation guide except with the new name of admin inserted.
I have re-installed a couple of times.
Any suggestions? Many Many Thanks
Hi Nick,
Those two statements are incompatible!
You should make sure you have the html_output.php file from the distribution uploaded correctly. If the URIs are being stored correctly and they aren't being used on the main site, it is the only thing that could be going wrong. There simply isn't another explanation!
All the best...
Conor
ceon
Yes, I know.Quote:
Those two statements are incompatible!
So, I just downloaded the file that is at includes/functions/html_output.php and will attach it but it is the distribution version of this file, I believe.
When I say the urls are stored I am just judging that by the fact that when I edit, for instance a product, the URL is still there the next time I look at the edit product page. Which I am assuming implies that all is working OK.
This is what my htaccess looks like:
I am puzzled....Code:RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/XXXXXXXXXXX.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite payment pages/callback handlers
# (Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Which as far as I can see leaves mod-rewrite problems?
Hi,
That is the correct file. It appears that is not being used by your site though. I don't know why that is.
Yes, it does indeed!
No, mod_rewrite is not involved with the actual output of links on your site, so it can't be the culprit.
Please send me your FTP and admin details via this link and I'll debug this for you!
All the best...
Conor
ceon
OK. Thanks Conor. I'll just add my name to the list of Conor fans.
I'll send you over the ftp details in just a little while. I'll do one last check that I am not doing anything embarrassingly stupid (famous last words) so as not to waste your time :smile:
Oh, I have used it on a few sites already and yes I do love it. It just does what it says on the box.
And, yes, the support is particularly excellent. The forum in general is great - so for a thread to stand out as being extra great is pretty impressive.
:smile:
Just for anyone else. My problem was that I was recreating an existing site. I exported an existing database and imported it into the new site.
Conor solves another one...Quote:
You simply missed copying across the
configuration and configuration group tables.. that's where the
overall option to enable/disable is stored.
what a great mod!!!!
so much easier and better to use than the ssu mod
All installed yet I am seeing a few problems.. I also am running the SitemapXML (formerly "Google Sitemap")
Within the sitemaps that it pulls it shows links like:
http://xoskins.com/digital-cameras/n...mp;language=en
Yet when I click on the link it shows:
http://xoskins.com/digital-cameras/n...ix-s60-xo-skin
Do the links read as something different on the backend? This is hurting my indexing with google. Anyone else run into this?
A. This would NOT hurt your indexing with Google..
B. This has NOTHING to do with Ceon URI Mapping. Ceon URI Mapping as it's written is unlikely to cause issues with other add-ons.. I believe that if you change the XML sitemap setting for "Generate language_id for default language" to false this should solve this for you.
Hi
I have a little problem with ceon_uri_mapping.
I have side boxes that must show only in few special categories.
Without this mod
if ($current_category_id == 'index' and $cPath == '3'){
}
works fine. Link /index.php?main_page=index&cPath=3 work too. When I activate mod side box disappear, but link working.
If I use syntax like
if ($current_category_id == '3'){
}
everything works fine with or without module...
This is confusing. Where is my mistake?:unsure:
Hi,
The first statement quoted above is confusing!
I don't actually know what you are saying the problem is.
I'm guessing that you should possibly change the PHP code to check against $_GET['cPath'] rather than $cPath.
All the best...
Conor
ceon
I couldn't see any solution for cPath issue mentioned before? The one when using an old product link, mod adds something like this to the end of URL:"?cPath=15"
Did you solve it?
Thanks for this mod, looks working for me! :clap:
Can anyone say if this mod will be fine with PHP 5.3?
Thank you!
Hi,
No, I still haven't had any examples of the problem. My request for more information has gone unanswered.
If you have exact examples of what URI the user is going to and what URI they are being mapped to and what cPath etc. is being added please get in contact with me privately via this link (not PM) with all of that information so I can take a look.
I can't fix a problem I can't identify! :)
All the best..
Conor
ceon
I have used this module for the past couple of weeks and it has helped to improve the layout of the site and increase our listings on google, the problem i am having is that the mod is slowing down our site considerably if the mod is switched on it can take up to and sometimes over 1 minute to search the website for a particular product. Once the mod is switched off the site then runs fine again and searches quickly and opens products with no problem.
Any help or ideas would be appreciated.
Thanks
Brad
You are very right Diva, I built a lamp stack with PHP 5.3 this past weekend just to try to run Zen Cart and it exploded. (ZC, not the stack)
I have a small handful of modules I consider essential, including this Ceon mod, and was hoping to identify which, if any, would cause me problems on 5.3.
I'm curious to know if anyone has managed to run on 5.3, and if so, how that was done.
A small update...
By using the info in this post as a guide, I did manage to get 1.3.8a running on PHP 5.3
http://www.zen-cart.com/forum/showthread.php?t=125492
I can't say if everything will function properly, but maybe is enough to test some modules.
Hi,
You should check the code of your site. It sounds like you have something wrong with your search pages.
The module normally makes two SQL calls when mapping a page.
It makes a single SQL call per generation of a link on the site to a product/category/manufacturer EZ page.
It makes 2 SQL calls for a link to any other Zen Cart page.
I fail to see how that could add a significant load to your site. Unless you are generating hundreds of links on a page (a massive search index or something?!).
Unfortunately there's no worthwhile way to make the module faster.. so if you are still having those problems you should try and reduce the number of links generated on your site or upgrade to a better server which doesn't take so long! (1 minute is ridiculous, pages here are generated in milliseconds!)
All the best...
Conor
ceon
Hi,
We run our sites on PHP5.3 with no problem.. the changes to Zen Cart were minor. I haven't read the above link but the main change I made was to rename the Zen Cart date_diff function (I just added "zen_" to the start of it in the [if I remember correctly] six places it is used through the ZC codebase).
All of Ceon's software is fully compatible with PHP 5.3.
Hope that helps!
All the best...
Conor
ceon
Yes, what you mention above and changing from ereg(i) to preg_match and one or two other small tweaks (crossing fingers) and this PHP 5.3 thing is seeming to not be the rotten potato I had feared.
Am very happy to hear your code is 5.3-proof. That just makes my day :D
Hi,
I didn't bother with the ereg changes myself, I just simply added the E_DEPRECATED flag to the error handling! ZC 1.3.9 and 2.0.0 will more than likely have the ereg changes so just disabling the warnings was fine by me (as that's all they are, the code still works fine!).
Well, more accurately, the "latest versions" of all our software are 5.3 compatible.. there's an ereg function in use in part of some of our payment modules. Again, as above, that's not a functional problem but simply an error reporting one! Anyway... :)
All the best..
Conor
ceon
Hi Ceon et al,
Any update on when the URI Mappings Manager will be completed? Keep us in the anxiously awaiting line for what sounds like a very useful manager to a very very useful module.
Kind regards,
Bil
@Conor
Thank you for your answer.
Let me try to explane...
This is the code of side box that should show only in category "sec"
<?php
// test if box should display
$show_sec_sidebox = true;
if ($show_sec_sidebox == true) {
if ($current_page_base == 'index' and $cPath == '3'){
require($template->get_template_dir('tpl_sec_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_sec_sidebox.php');
$title = BOX_HEADING_SEC_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}}
?>
When I disable the ceon_uri_mapping I have side box "sec" in category 3 listing. When ceon_uri_mapping is enabled side box "sec" disappears.
In other boxes I have links, pointing to few categories in format like index.php?main_page=index&cPath=3. I don't have problems with this links.
Should I change $cPath == '3' with $_GET['cPath']?
Hi,
I think that might do it ($_GET['cPath'] == 3). The box wouldn't display if the $cPath variable isn't set and for remapped URIs only the $_GET['cPath'] variable is forced to be set (although I think Zen Cart may then use that variable to set $cPath).
Let me know how you get on!
All the best...
Conor
ceon
I just installed this and now my website doesn't work!!
How do I fix this?
Try carefully re-reading the instructions. Especially the part about the .htaccess file.
I just added the following to my .htaccess file and it still doesn't work. Is ther eanything else I need to change?
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
What is the url to your shop?
When spider testing my site some of the links ex: and ezpages show zenid: followed by a bunch of characters. I cant seem to get those to change to just say /contact-us what might I be doing wrong.
thx in advance
did you click on admin > modules > Ceon... to activate it?
Also, you have to go to each of your products and set up mapping. it doesn't just appear automagically.
automagically lol....
Yes I have gone into each product checked the box for the rewrite however it doesnt seem to do it on any of the "ezpages"
It seems to work fine on the product pages.
I'm already using CEON URI Mapping module for my zencart. But now i want to modify it like:
http://solutioninn.com/Physics/product_id
instead of
http://solutioninn.com/Physics/Product_Title
Please help me with this modification part.
Hi,
You'll have to go in and manually update/enter your URIs with their product IDs.. the autogeneration doesn't support IDs.
All the best...
Conor
ceon
Hi,
That's the Zen Cart session ID. Zen Cart handles that, it's nothing to do with the URI Mapping module. I think search engines ignore session IDs so I think you can just ignore this.
All the best...
Conor
ceon
Hi,
It sounds like you have missed uploading the files from the admin folder in the modified_core_files folder. Please reupload all the files and you should see the boxes for adding URIs to EZ-Pages.
All the best...
Conor
ceon
Hi,
"It doesn't work" isn't very helpful!
Please try installing the module from scratch again (repeat the entire process). If you are getting a blank page, then search this forum for "blank page" and follow the instructions for enabling error reporting.. that'll give you a better idea of what you've done wrong. 9 times out of 10 it's simply that a file or two hasn't been uploaded or the FTP software has messed up uploading a file.
Hope that helps!
All the best...
Conor
ceon
It seems that the problem relates to the css horizontal flyout menu, it must be generating the links for these everytime the page loads but if i remove the ceon mod it generates the link using the seo mod no problem. Any ideas how i can get both the ceon mod in and working with the horizontal drop down i have reduced the amount of levels the menu goes to but this is still a little slow.
Thanks
Brad
Hi,
That sounds like a fantastic way to get things to work! Do you mind sharing the secret? I'd love to have a bit of a sleep and have things just start working! ;)
Glad to hear everything's alright now!
All the best...
Conor
ceon
Hi Brad,
I'm afraid not. Either you'll have to adjust how the menu works so it isn't effectively creating a sitemap of your site for every single page load, replace the menu with some less resource intensive code (adding caching for example), or you'll have to upgrade to a better server (hardware's cheap these days! :) ).
Sorry I can't be of more help than that!
All the best...
Conor
ceon
Just to add to this, in my experience, some of these fly-out menus use javascript to drive the menu behavior.. If this is the case for you perhaps a CSS only menu might help.. Not sure what horizontal menu you are using now, but here's some links you might be interested in.
I LOVE this site:
http://www.cssplay.co.uk/
This guy has all kinds of CSS only solutions.. VERY cool stuff..
I am using this horizontal menu contrib with Ceon URI with no lag issues whatsoever.
http://www.zen-cart.com/index.php?ma...roducts_id=479
Looking at this article
URL based session id's not only index poorly but they are a security risk. Is there any mod anyone knows of to force these to use cookies? He goes into detail on how to use the .htaaccess file to do this... anyone try it yet?
You're welcome.. The menu itself doesn't index (nor does it need to.. it's just a menu) The menu itself doesn't need to index at all since the menus simply repeat links that are indexed already via my XML sitemap (I hope I understood your question correctly..:smile:) The Zen Cart menu add-on will correctly "fix" the automated links once you apply the Ceon URI mod.
Not to be the detail police or anything..:smile: But we probably don't want take Conor's support thread too far off topic.. That said, I've seen quite a few posts on this subject sprinkled liberally through out the forum.. Try doing a search for "zenid" and see if you come across anything helpful..
I don't mean to hijack it at all. Just might be a nice touch to the .htaccess file if it works.. I support I could try it and see if zen tanks..
Hello Conor,
I installed the Ceon URI Mapping3.2.4, and it run well on my web, but today, I found a problem. before not installing Ceon URI Mapping, when I click "see all", then it dispaly all my products Directory, but after installing the Ceon URI Mapping, I found that, when I click the "see all", the page is blank, and display nothing, and other EZ pages like wholesale, dropship and gifts are same problems, what the problem is, hope you can help me.
Thank you.
Alan
after further checking, I found that, before installing Ceon URI Mapping 3.2.4, my zen cart web already has all the files in the modified_core_files of 1.3.8a.
When I install it, I cover these files which already in my web. is there cause the problem?
So, I've been trying to figure out the mechanics of how your module works a little bit.
My hope is that I could directly work with the SQL tables to do mass changes to my whole things. For instance, I wanted to add a new top level directory to every page on my site.
So, I downloaded the ceon_uri_mappings table, did all the changes I needed in a spreadsheet, converted to back to SQL, and inserted it again (AFTER BACKING EVERYTHING UP FIVE TIMES!). But it didn't work :( I kept getting a lot of 404 pages, and , for the URL would show http://site.com/dir/subdir/NULL
So, just a couple quick questions.
1) In theory, should it be possible to directly alter the SQL data to add or delete URI mappings? Am I doing something wrong?
2) Are the links created on the page - for categories and products, stored in SQL anymore? I realized that, even when I changed all of the URI mappings, on my web page the category/product links were still all the same, and did not take into account the new URIs. Is there a table where the links are stored?
Is it unwise what I am doing, or should it work if I am careful and do it properly?
Thank you,
Sasha
HyosungSource.com
There is no problem at all writing to the MySQL table for this mod. I'd say to install it (on a test site perhaps) and look at the data doing it the normal way generates. Once you see how easy it is to enter mappings via sql stmnts, you can write a script to do it however you want.
This may give a clue from one of my own auto mappers:
Code:$ceon_sql = "insert into ceon_uri_mappings(
uri,
language_id,
current_uri,
main_page,
associated_db_id
) values (
$uri,
1,
1,
'$page',
$new_zen_id)";
Right, it should be quite simple, and thank you for your reply.
What I did was (using PHPMyAdmin), I exported the whole table, changed EVERYTHING using Gnumeric spreadsheet, saved to CSV, converted to SQL using a web utility, and inserted everything back into the spreadsheet.
In theory, it should all work. In reality...everything is all messed up! On the home page, the category links all now go to dead product links product links. Nothing works, the whole thing is bonkers.
When I drop the table and reinsert the original exported SQL backup, it still doesn't work. I have to copy over a backup table back, and then it all works.
Weird, weird, weird...maybe it is a problem with PHPMyadmin, or maybe I just screwed something up doing all of those data operations. I'll let you know if I sort it out, or if I still have any questions...
Ah! I figured it out. The whole problem was I was using an online CSV to SQL tool, which was putting quote characters around the "associated_db_id" field, turning them from an int to a string. This was causing the whole thing to choke up. I fixed it by just doing a CSV import into phpMyAdmin.
I am SOOOO happy to see how easy it is to mass edit the mappings by using phpMyAdmin and a basic spreadsheet to manipulate the ceon_uri_mappings SQL table. This makes the extension so much more useful for me. That earns a donation for you. THANK YOU!!!
Also, a side note for those with large sites:
Even if URI Mapping Manager is not yet completed, if you are handy with Excel you should be able to approximate its function; that is, the automatically make your own URI mappings for your whole site en masse.
Just take the "product_id" field from the "products" category and map it to the "associated_db_id" field in the "ceon_uri_mappings" table. Then, cobble together whatever "uri"s you want from your category and product info. Import into the ceon_uri_mappings SQL table, boom you're done!
Hi,
Excellent mod which I have found easy to implement. Thanks Conor!
I do have a problem with a site, though - I'm not certain it is with my implementation of ceon uri mapping so by all means send me packing if it is not! :smile:
Site is http://www.handpickedgifts.co.uk/.
I have CEON URI mapping 3.2.4, also Fast and Easy Checkout 1.61 which may be relevant. I have ZC 1.38.
Also relevant is that I use a shared SSL provided by my host. This means that the login page, for example, is atCode:https://stargate.terrassl.net/handpickedgifts.co.uk/index.php?main_page=login&zenid=********
If a registered users navigates from main page to login and logs in successfully, they are taken toThereafter account pages are served securely, product pages are served insecurely and all works fine and dandy.Code:https://stargate.terrassl.net/handpickedgifts.co.uk/index.php?main_page=index&zenid=*******
However.... if a registered users navigates to a product page and then to the login page, once they log in they are taken to my hosts SSL error page atI would be expecting it to go toCode:https://stargate.terrassl.net/handpickedgifts.co.uk/gifts-by-type/kitchen-dining/bread-server?/gifts-by-type/kitchen-dining/bread-server=&zenid=*********
So - have I messed up the URI mapping, is there a conflict with fec, or do I have a problem because of the shared SSL? I should say thaat it all works correctly with ceon mapping turned off.Code:http://www.handpickedgifts.co.uk/gifts-by-type/kitchen-dining/bread-server?zenid=**********
Any help or pointers much appreciated.
Dave
Hi Conor,
I implemented your mod this evening and it was a joy to do. Thanks for the obvious hardwork that you have and continue to put in.
However I'm getting 404's on any of the pages I've attempted to change the url to a static address. So far I've :
1. Read most of the pages in this tread
2. Read and re-read the Setting up a rewrite rule instructions
3. Read and re-read the FAQ
4. Read a URL rewriting guide for Apache (Heavy stuff, most of which I didn't get)
5. Double checked that all of the files are installed and in the right place
I've been concentrating on the .htaccess file as the probable cause and I've made all the changes specified using "/" "/storesnames/" etc. but to no avail. Here is my .htaccess file :
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/not_the_real_admin_dir.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
The first three lines were already in there which I think my host put there for www or no www.
My site is www.startupwizard.ie and Ive tried to change the only product category I've got, one of my products (Startup Pro) and one of my EZ Pages - Downloads. None of which are now working.
Hopefully this is something simple and I'm just missing it but after the hours I've spent messing about with this I fell like :frusty:
Thanks in advance.
Hi Eamon,
If I understand correctly, I was having a similar problem when I was trying to put a few custom pages in my site that were totally outside of the whole Zen Cart framework.
This line in .htaccess fixed it for me:
RewriteCond %{REQUEST_URI} !^/partsrequest.php [NC]
This allowed www.mysite.com/partsrequest.php to operate normally without 404.
Hope that helps!
Sasha Shepherd
HyosungSource.com
Hello Conor,
My zen cart template already had the ultimate_seo_urls modules, And I want to install Ceon URI Mapping 3.2.4, so I remove the ultimate_seo_urls, please note that, I remove it perfectly. I am sure it is no problem when removing.
After installing Ceon URI Mapping, I found that I can upload the pictures from the exist pictures in hosting.
But I can't upload the pictures from my local computrs, waht's the problem of it? Hope you can help me.
Thanks
Conor, you are not on line for couple of days. you are travelling?
Alan
Hi,
I'm glad you like it!
I think it is the redirection code implemented for your shared SSL certificate which is causing the problem. It can be clearly seen from your examples that it is appending the URI twice.
I'm afraid I can't say off the top of my head how to fix this. You should check what the redirection code is doing when moving from a non-SSL page to a SSL page.
This may well be done using a rewrite rule in your htaccess file.
If finding the cause of the above problem isn't easy, the simplest and best solution would be to buy a SSL certificate.
I'd recommend that anyway as having "handpickedgifts.co.uk" at the start of every URI is ugly... with you using a shared SSL certificate you'd probably have to retain that at the start of every static URI, otherwise the certificate may not work correctly (I'm not sure if that's the case, but thought it worth mentioning).
All the best..
Conor
ceon
Hi Eamon,
That means that the rewrite rule isn't being applied properly.. something's up with the htaccess file somewhere!
They redirect anyone accessing your site from example.com to www.example.com. Since your configure.php file is set up with www.example.com this rule doesn't interfere with the URI Mapping rule at all, so it's fine to leave in and not the source of your problems.
I see no problems with your rewrite rules, the same ones work fine on our test server so I don't know what's going wrong.
Get in contact with me privately via this link and I'll take a quick look.
All the best...
Conor
ceon
Hi Alan,
I'm not quite sure what you mean by "upload" from existing pictures on hosting.. do you mean you can select pictures (files) on your server in some sort of online editor?
I'm afraid you haven't told me remotely enough to have any idea what is happening! For example: How do you upload pictures? To what? Are you talking about uploading product images in the admin or images through a WYSIWYG editor or something?
All the best...
Conor
ceon
Hello.
For some reason certain pages do not get renamed (using Ceon URI Mapping (SEO) Module)...
All the other pages are fine exept for the:
contact us, I input URI Mapping: as "/contact-us" and still get this URL - http://www.domain.com/index.php?main_page=contact_us...
the same thing with a few other pages:
http://www.domain.com/index.php?main_page=products_all
http://www.domain.com/index.php?main_page=specials
http://www.domain.com/index.php?main_page=products_new
they all do not react to the URI Mapping Input...
Am I missing something??
Did anyone had the same problem??
Thanks.
Hello Conor,
at fist, I have add some produts from admin of web, then I remove the ultimate SEO and installed Ceon URI Mapping, so when I set the URI Mapping, I select the produt pictures on the hosting, (it is uptating of the products)
But I found when I add new products, from zen cart web admin-catalog-categoties/products, it can't display the products pictures, What's the problem of it, you can see the attached pictures.
Hope you can understand what I say.
Regards,
Alan
Hi Alan,
I would check that you have working versions of
admin/includes/modules/update_product.php
and the likes of
admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php
uploaded.. if you have done something wrong in merging/adding those files then the uploaded image may not be getting saved correctly (it is handled by the three files above, as is the URI mapping).
Hope that helps!
All the best...
Conor
ceon
[QUOTE=conor;804340]Hi Alan,
I would check that you have working versions of
admin/includes/modules/update_product.php
and the likes of
admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php
uploaded.. if you have done something wrong in merging/adding those files then the uploaded image may not be getting saved correctly (it is handled by the three files above, as is the URI mapping).
Hello Conor,
it seems that I don't change this files when i installed Ceon URI Mapping, but How this problem happen?
Ialso installed image handler modul etc. I am thinking if the moduls are fighting?
Regards,
Alan
Hi Alan,
When you are copying the files from the modified_core_files folder you should always check that you haven't already got modified files uploaded. You should also be careful that you don't upload the same files from another module over the ones already uploaded for Ceon URI Mapping.
As DivaVocals helpfully says, you should use a Diff program like Winmerge (or even better, Beyond Compare) to compare the files and "merge" any differences which are required for another module to work.
All the best...
Conor
ceon
Hi Eamon,
It turns out it was these two lines which were causing the 404s. When I tested this on our test server I naturally changed the "example.com" to the test server's address and had assumed that you had done the same for your actual site's address - changing "example.com" to "startupwizard.ie". However, your .htaccess file was still using "example.com". This is what was causing the 404 errors.
It is all working now that I've changed example.com to startupwizard.ie.
All the best...
Conor
ceon
Hello Conor,
Thanks for the speedy reply! I've been thinking about this today and also coming to the conclusion the shared certificate is the most likely culprit.
I agree about the secure URIs being ugly but had been prepared to accept that for now, whilst we work on marketing the site. However, a quick check with my hosting company shows that a dedicated IP and certificate is much less than I had thought, so I think that will be the path of least aggravation.
I just need to present a convincing argument to the board (my wife! :D)
cheers
Dave
Hi Dave,
SSL certificates can be purchased for as little as $10/$11.. here's a link to the company we get ours from:
http://www.namecheap.com/learn/other...e-rapidssl.asp
Really shouldn't be too hard to convince the board to get that one! :)
Although being related to the board may indeed make that more difficult so good luck! ;)
I'd get the certificate from the above company, the IP address you'll have to get from your host. Overall these days it's really not at all expensive to add SSL to a site!
All the best...
Conor
ceon
Sorry for the long delay in checking back in, I honestly have not had a breath to work on this. Thanks for the hints, that does seem to be it. Regardless of whether the URI mapping is turned on or not for the manufacturer pages, it shows something like
instead ofCode:<form name="multiple_products_cart_quantity" action="http://zen138.local/index.php?main_page=index&sort=20a&manufacturers_id=24&action=multiple_products_add_product
Any clue on what to do to fix this? I've looked around to see if I forgot to update something, and I'm at a loss.Code:<form name="multiple_products_cart_quantity" action="http://zen138.local/gt_interactive
Thanks for your help!!
Sara
Hi Sara,
I'm afraid I can't remember the full context of your problem now, but the following may help..
Are you using the latest version of the module? If not, please upgrade, in case that helps.. you also may have forgotten to upload the file includes/functions/html_output.php from the modified_core_files folder.
Hope that helps!
All the best...
Conor
ceon
Hello Conor and DivaVocals,
After my further checking, I found something, when I restore the files
admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php
to my previous ones, then the pictures can display, but
if I upload the
admin/includes/modules/product/collect_info.php
admin/includes/modules/product/preview_info.php
these two files of Ceon URI Mapping to cover it, then the pictures can't display. there are two pictures below: one is can upload the picture which I have restore the collect_info.php and preview_info.php, the other is can't display the pictures which I have use the collect_info.php and preview_info.php files.
what do I need to do then?
comparing the difference of two files to my previous ones?
and for the difference, do I need to copy the code from my previous collect_info.php and preview_info.php files to the collect_info.php and preview_info.php of Ceon url mapping,
Regards,
Alan
Hi Alan,
If you use twpo modules which modify the same core files you CANNOT just copy the files from one module over the original Zen Cart files and expect both modules to work.
Please download and use software like WinMerge/Beyond Compare to compare the differences between the files distrbiuted with the modules you are using and then merge the changes with the copy of the file you are using on your website.
If you read the FAQs for the URI Mapping module there's a little bit of information about how the changes to the core files are marked within it. As for the other module you are using, you will have to rely on/use the diff software mentioned above to show you what is different and therefore what is needed to be carried across. Otherwise you should contact the author of the other module for help or pay a developer to help you with this.
Hope that helps...
All the best...
Conor
ceon
Hello Conor and DivaVocals,
After further checking, I found the problem is the admin/includes/modules/product/collect_info.php
accrording to your instructions, I compare the collect_info.php of Ceon URI Mapping and my previous one.
then I copy all the missing code of my previous collect_info.php which admin/includes/modules/product/collect_info.php of Ceon URI Mapping don't have.
then i try and it succed.
But the problem is there is the repeated items when adding the new products by accessing admin of the web.
I don't know any code of web, so Could any one can help me.
the attached is the zip files which there are three files collect_info_changed.php (which has the repeated items when adding new products).
collect_info_previous.php (which my previous one, don't installed ceon url mapping).
jewellet.html which you can see the repeated items.
Hope any friend can make a new collec_info.php file for me, or tell me where to I need delete to cut this repeated items.
Alan
Hi Alan,
I just took a look at the files you sent and they are significantly different from a Zen Cart standard version of the collect_info file. You seem to have some module with Retail price adjustments etc. installed.
Unfortunately I don't provide support here for merging with other modules, unless it's simple to see what needs done, and in this case it isn't, so I can't help you. Hopefully someone else can.
Good luck with getting this sorted.
All the best...
Conor
ceon
Hi Dave,
Yes, it's nice when prices come down to reasonable levels! That's actual progress! :)
No problem. Glad the board's happy enough! ;)
All the best...
Conor
ceon
Hello Conor,
I just use the beyond compare to add and delete some code of collect_info.php, now it test OK now. Really appreciate your help.
Regads,
Alan
I really want to use this mod, but I cannot get it to work no matter what I do.
Version: Zen Cart 1.3.8a
Site set up:
mysite.com/
Admin at:
admin/
includes/
Store at:
includes/
define('DIR_WS_CATALOG', '//');
When I put the htaccess file here, I get a 500 Server Internal Error and the site is gone.
mysite.com//
.htaccess
admin/
includes/
When I put it here, my site comes up, but I get the site but with a Page Not Found when www.mysite.com is entered. If I disable the mod here, my site is fine and do not get the Page Not Found.
mysite.com//
admin/
.htaccess
OR here:
mysite.com//
includes/
.htaccess
I can get the mod to rewrite, but when I click on anything, I get a white page with File Not Found.
I am totally stumped at what to do and where. Can someone please help, especially with the htaccess?
Thanks so much,
Kat
I think I posted to the wrong post, so here it is again.
I really want to use this mod, but I cannot get it to work no matter what I do.
Version: Zen Cart 1.3.8a
Site set up:
mysite.com/
Admin at:
admin/
includes/
Store at:
includes/
define('DIR_WS_CATALOG', '//');
When I put the htaccess file here, I get a 500 Server Internal Error and the site is gone.
mysite.com//
.htaccess
admin/
includes/
When I put it here, my site comes up, but I get the site but with a Page Not Found when www.mysite.com is entered. If I disable the mod here, my site is fine and do not get the Page Not Found.
mysite.com//
admin/
.htaccess
OR here:
mysite.com//
includes/
.htaccess
I can get the mod to rewrite, but when I click on anything, I get a white page with File Not Found.
I am totally stumped at what to do and where. Can someone please help, especially with the htaccess?
Thanks so much,
Kat
I think I posted to the wrong post, so here it is again.
I really want to use this mod, but I cannot get it to work no matter what I do.
Version: Zen Cart 1.3.8a
Site set up:
mysite.com/
Admin at:
admin/
includes/
Store at:
includes/
define('DIR_WS_CATALOG', '//');
When I put the htaccess file here, I get a 500 Server Internal Error and the site is gone.
mysite.com//
.htaccess
admin/
includes/
When I put it here, my site comes up, but I get the site but with a Page Not Found when www.mysite.com is entered. If I disable the mod here, my site is fine and do not get the Page Not Found.
mysite.com//
admin/
.htaccess
OR here:
mysite.com//
includes/
.htaccess
I can get the mod to rewrite, but when I click on anything, I get a white page with File Not Found.
I am totally stumped at what to do and where. Can someone please help, especially with the htaccess?
Thanks so much,
Kat
Dontcha think define('DIR_WS_CATALOG', '//');
should be: define('DIR_WS_CATALOG', '/');
No, that's how it was set up and it works fine.
Kat
Hi Alan,
That's great to hear.. I'm glad you got yourself sorted. Well done! (And welcome to the wonderful world of diff software - it's fantastic, isn't it?! ;) )
All the best...
Conor
ceon
Hi Kat,
Well you've been lucky so far then as that is totally wrong. You must change it to a single slash.
All the best..
Conor
ceon
Would there be a way to get it to also do a 301 redirect on things like http://mysite.com/index.php?main_page=index http://mysite.com/index.php etc to send everything to mysite.com.
Conor,
Ok, I will and see if that helps.
Thanks!
Kat
My problem was that when the uri was enabled on the manufacturer pages, the "add multiple to cart" was not working. It is only a problem on the manufacturer pages. I do have the most current version of the module including the file you mentioned. It works correctly on the regular catalog pages, just not the manufacturer pages.
I changed the // to /, and still get the 404 Not Found.
Here is what it generated in my test server:
http://www.suncoastjewelers.railspla...ld/product-041
Kat
Hi Kat,
Either your .htaccess file isn't actually being loaded or there is a problem with your rewrite rule.
Check with your host if htaccess files are supported on your site!
All the best..
Conor
ceon