Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 452,034

Results 781 to 800 of 2,454
5 Sep 2012, 1:30 PM
#781
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Ceon URI Mapping v4.x

Hi,

Serious:

I'm getting a headache....

Almost certainly a database corruption by software like Easy Populate (a common occurrence). This is the wrong place to discuss this tho.. I'm going to contact you privately, please don't reply here.

Serious:

IWho's got my bottle of Asprin?

Morphine derivatives are more useful. :)

All the best...

Conor
ceon

5 Sep 2012, 3:36 PM
#782
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

conor:

**Morphine derivatives are more useful. :)**snickers & nods in agreement:yes:

5 Sep 2012, 4:02 PM
#783
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Sorry think I've messed up some thing but if I click on an ezpage I get META_TAG_TITLE in the bar above the address bar in firefox http://www.rvsolarsystems.co.uk/How-Solar-Panels-Work

5 Sep 2012, 4:17 PM
#784
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

discoverytdi:

Sorry think I've messed up some thing but if I click on an ezpage I get META_TAG_TITLE in the bar above the address bar in firefox http://www.rvsolarsystems.co.uk/How-Solar-Panels-Work

I see from your other posts today that you are playing with your header files... these are also involved in the output of the meta tags... however.. doing a search of files I see that in Zen Cart the title and description meta tags are generated as defines in includes/modules/meta_tags.php:

  if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));

Which rely on

$ezpage_id = (int)$_GET['id'];

For some reason, something on your site is defining the constant META_TAG_TITLE as META_TAG_TITLE.. so the constant isn't being used probably. I'm guessing this could mean that Ceon URI Mapping's installation may be interfering in some way with the setting of $_GET['id'] and that the site is falling back to looking for a META_TAG_TITLE define for EZ-Pages but now your site doesn't have a valid one?

I've not much time so hopefully this information is of use.. if you open your includes/modules/STORE-TEMPLATE/meta_tags.php (or includes/modules/meta_tags.php) file and trace what is happening with the above define code, you should be able to find out why the "correct" define value isn't being shown.

Hope that helps!

Sorry I can't help more for now, have to take a break.

Have a good afternoon/evening!

All the best..

Conor
ceon

5 Sep 2012, 5:39 PM
#785
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

No probs when ever and I've not touched the header files must be someone with an addy similar to mine, and it would seem I'm not the only one with this issue I googled META_TAG_TITLE there are loads some big firms too.

5 Sep 2012, 7:19 PM
#786
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

just checked each file mentioned and the highlighted codes you mentioned are the same, I also installed a backup of my complete site from 02/09/2012 and got the same result. hope this helps

5 Sep 2012, 8:51 PM
#787
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

Sorry, saw this post in your history and thought you were the person originally asking for help rather than giving it, so thought you were playing with your header.

discoverytdi:

just checked each file mentioned and the highlighted codes you mentioned are the same, I also installed a backup of my complete site from 02/09/2012 and got the same result. hope this helps

Unfortunately [for you ;) ], it helps in basically confirming that this issue isn't actually related to Ceon URI Mapping. What you need to do is to trace the value of META_TAG_TITLE on your site.. I wasn't saying to check the code in those files was the same, I was pointing out where some of the code is that generates the value of META_TAG_TITLE.. the value for it isn't being generated correctly for your site for EZ-Pages..

This isn't a feature of Zen Cart I've used before but it looks like you have possibly created some META_TAG_TITLE_EZ_PAGE_XXXX defines that aren't being used as you expected.

I'm afraid this is not the right thread for you, you should start a new one to ask for help with this issue.

Glad I have been able to point you roughly in the right direction though. Good luck getting this sorted! I'd imagine it shouldn't be too hard to trace and fix.

All the best..

Conor
ceon

6 Sep 2012, 12:40 AM
#788
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

conor:

Hi,

Sorry, saw this post in your history and thought you were the person originally asking for help rather than giving it, so thought you were playing with your header.

Unfortunately [for you ;) ], it helps in basically confirming that this issue isn't actually related to Ceon URI Mapping. What you need to do is to trace the value of META_TAG_TITLE on your site.. I wasn't saying to check the code in those files was the same, I was pointing out where some of the code is that generates the value of META_TAG_TITLE.. the value for it isn't being generated correctly for your site for EZ-Pages..

This isn't a feature of Zen Cart I've used before but it looks like you have possibly created some META_TAG_TITLE_EZ_PAGE_XXXX defines that aren't being used as you expected.

I'm afraid this is not the right thread for you, you should start a new one to ask for help with this issue.

Glad I have been able to point you roughly in the right direction though. Good luck getting this sorted! I'd imagine it shouldn't be too hard to trace and fix.

All the best..

Conor
ceon
:blush::blush::blush: sorted it had a metatag file in the wrong folder yes I'm a :censored: must have uploaded it there by mistake. :bigups: DRByte and Conor I would never known where to look.

7 Sep 2012, 8:47 PM
#789
feetglovez avatar

feetglovez

New Zenner

Join Date:
Sep 2012
Location:
New Haven, CT USA
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Mark,

Did you ever find a work around for this? I just implemented CEON on a site I have been using the Algozon template on. I am curious what your outcome was and if you have any pointers. I am having the same issue.

Regards,
Tim

7 Sep 2012, 8:51 PM
#790
feetglovez avatar

feetglovez

New Zenner

Join Date:
Sep 2012
Location:
New Haven, CT USA
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Mark_88:

Could use a hand with something. The CEON URI mod is working perfectly with a fresh install of zen-cart 1.5.

My problem is getting it to work alongside a mobile theme/modification. Brief explanation of the mod I'm using: detects browser agent. If found to be a mobile browser, sends all requests through "mobile.php?main_page". The mod does this by detecting mobile websites as another "language" and serves up the mobile template relating to that language.

I'm not too bothered about re-writing mobile URLS. Would it be possible to bypass the CEON module altogether for all URLS/links containing mobile.php? I've played around with .htaccess for a while and haven't made any progress.

Thanks!

Edit:---------------------
Also, awesome work with this module. My only past experience with URI modules was SSU. While this did the job well, it was a pain to install and update. Your instructions were very clear and core-file changes are minimal. Thank you!

Hi Mark,

Did you ever find a work around for this? I just implemented CEON on a site I have been using the Algozon template on. I am curious what your outcome was and if you have any pointers. I am having the same issue.

Regards,
Tim

8 Sep 2012, 12:34 AM
#791
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi Tim,

FeetGlovez:

Hi Mark,

Did you ever find a work around for this? I just implemented CEON on a site I have been using the Algozon template on. I am curious what your outcome was and if you have any pointers. I am having the same issue.

Yes, if I remember correctly, I determined that the solution was for the makers of the mobile.php file to "fix" their mistake and have an index.php file load the files the mobile template thingamajig did instead of a file called mobile.php.

So you should contact them and get that sorted, the problem is there, not with Ceon URI Mapping. It's the mobile.php file that is the problem.. it is completely unnecessary. The way things were programmed wasn't "right" as far as I remember, but very easy indeed to change to the "right" way of doing things.

Hope that helps!

All the best...

Conor
ceon

8 Sep 2012, 3:02 PM
#792
crazysarah avatar

crazysarah

New Zenner

Join Date:
May 2012
Posts:
45
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)

I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)

Is there a work around for this?

thanks

8 Sep 2012, 5:11 PM
#793
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi Crazy Sarah,,

Hope you're having a nice weekend!

crazysarah:

Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)

I'm glad you like it and appreciate the effort put into making it as easy as possible to install.

crazysarah:

I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)

Is there a work around for this?

thanks

You really shouldn't use HTML in the title for a product.

Why not just use "&"?

In addition, with Ceon URI Mapping you can use the "Character/String Replacements" functionality to change the "&" into "and" if you like:

$=>USD, &=>and

The above means if a product name is "Products & More Products", the auto-generation results in "products-and-more-products".

Handy!

Hope that helps?

All the best...

Conor
ceon

8 Sep 2012, 5:25 PM
#794
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Working on my local copy of ZC v1.50
Got this mod installed and ran the Ceon URI Mapping Installation Check, no errors found.Yippie, right?
Meh...not so much.
Re-mapped products don't show up, getting 404 error messages.

If using a .htaccess file

If placing the rule in a .htaccess file, the .htaccess file into which it should be placed is the site root's .htaccess file, which should be created if it doesn't exist:

G:/xampp/htdocs/.htaccess

Although the store is in a subdirectory, the .htaccess file into which the example rewrite rule should be placed is NOT a .htaccess file within the Zen Cart folder, the rewrite rule below is for the site root's .htaccess file - place it in the above file!
If using an Apache VirtualHost Directive

If the store runs on a server using Apache and it is possible to modify the VirtualHost Directive for the store, then the rule can be modified and entered into the VirtualHost Directive for the store.
Probably outside the scope of this thread......but how do I "create" a .htaccess file?

8 Sep 2012, 5:52 PM
#795
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Disregard my previous post.
All fixered-up now.
;)

8 Sep 2012, 5:53 PM
#796
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

[QUOTE] how do I "create" a .htaccess file?[\QUOTE]
Open your text editor, paste/type the content of your code, save as .htaccess
You may have to show hidden files on your PC once saved.
For your info as you now know you have installed this great mod correctly you can simply switch the rewrite off in configuration while working on local host and switch it back on once/if site goes on live server if you don't have any luck with creating .htaccess file.

8 Sep 2012, 5:54 PM
#797
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

Serious:

Disregard my previous post.
All fixered-up now.
;)

Always the last to know :laugh:

8 Sep 2012, 5:59 PM
#798
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi Frank,

Serious:

Working on my local copy of ZC v1.50
Got this mod installed and ran the Ceon URI Mapping Installation Check, no errors found.Yippie, right?
Meh...not so much.
Re-mapped products don't show up, getting 404 error messages.

Umm.. if you don't finish installing the software it's not going to work! :)

Serious:

But how do I "create" a .htaccess file?

It's just a text file with the name ".htaccess". It is used by an Apache webserver as a configuration file for VirtualHosts, if "overrides" are allowed by configuring the VirtualHost domain with an AllowOverride directive (AllowOverride All within a Directory directive). I'd imagine it's already allowed by the MAMP setup.

All you have to do is create a text file with that name and put the Ceon URI Mapping Example Rule in it.. that should get things working.

Serious:

Probably outside the scope of this thread

It's not "outside the scope", but if you search the net you can find out what you need to know, which would be quicker than posting here (or anywhere for that matter). Not being cheeky, just pointing that out, life is short, best be efficient with what little time we have! :)

Enjoy the rest of the weekend!

All the best...

Conor
ceon

8 Sep 2012, 6:01 PM
#799
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping v4.x

Hi,

picandnix:

Always the last to know :laugh:

lol in this case you're wrong.. clearly I was the loser this time. :)

Finished 4.2.1 earlier today, will try and get it released soon.

All the best..

Conor
ceon

8 Sep 2012, 6:33 PM
#800
crazysarah avatar

crazysarah

New Zenner

Join Date:
May 2012
Posts:
45
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hi Conor, thank for the advice. I had actually changed all the &'s to &'s a while back because they caused some or other issue which I can't remember and I was told that doing it that way was more correct.

Anyhoo, I'll change them back and problem (hopefully) solved. Thanks again for super software!