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

Ceon URI Mapping v4

Locked

Views: 30,935

Results 41 to 60 of 111
This thread is locked. New replies are disabled.
23 Jul 2011, 6:56 PM
#41
conor avatar

conor

Passed

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

Ceon URI Mapping v4

Hi,

skellmeyer:

I have two sites - bestcatholicposters.com and bestscientists.com, both built with the latest version of Zencart 1.39h.

Since bestscientists is the least trafficked, I installed ceon 4.0.1 on it.
Worked like a charm.
LOVED it.

Glad you like it ;)

skellmeyer:

I've eyeballed comparisoned everything I can think of - configuration and configuration_group, both .htaccess files, but I can't see why one works and the other doesn't.
I may have screwed up the second installation, but since it worked on the first one, I gotta believe it was something subtle.

Thoughts?

It's probably the software making a conscious decision to "like" and work with what it thinks is a science site but to dislike and not work with a religious site.

All the best..

Conor
ceon

23 Jul 2011, 6:58 PM
#42
conor avatar

conor

Passed

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

Re: Ceon URI Mapping v4

skellmeyer:

Thoughts?

Only joking.

The rewrite rule you posted looks fine.

The software always builds a working rule.

Given that, a 500 error means you've possibly places the rewrite rule in the wrong .htaccess file (the one you posted should be in root of the store, not inside the /zencart/ folder).. or else the .htaccess file isn't loaded on that second site, because of the server's config.

They're the only two options really that I can think of.

I'm afraid anything else would require actual server/config debugging.

Hopefully that helps!

All the best...

Conor
ceon

24 Jul 2011, 2:51 AM
#43
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Ceon URI Mapping v4

Just upgraded from an ancient version on my site https://www.babygiftbasketstores.com and under modules, Ceon URI Mapping (SEO) Config, I get the following statement:

Database table can not be created! The database user does not have CREATE TABLE privileges!

I don't see what to do on this forum or in the FAQ's so please advise :) Thanks! Amy

24 Jul 2011, 4:24 AM
#44
skellmeyer avatar

skellmeyer

New Zenner

Join Date:
Dec 2005
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping v4

conor:

Only joking.

The rewrite rule you posted looks fine.

The software always builds a working rule.

Given that, a 500 error means you've possibly places the rewrite rule in the wrong .htaccess file (the one you posted should be in root of the store, not inside the /zencart/ folder).. or else the .htaccess file isn't loaded on that second site, because of the server's config.

They're the only two options really that I can think of.

I'm afraid anything else would require actual server/config debugging.

ceon

Yeah, I was afraid you would say something like that.
They're both being served off the same server (shared hosting - same external IP address) and the .htaccess is definitely in the root of public_html.
It's exactly like a lightbulb - I put the code in, it vomits, I take it out, it's fine and dandy.
Sigh....
I was trying to avoid building a new site from scratch in order to implement this.
Sigh again....

Alternatively, I could try putting bunsen burners and Erlenmeyer flasks on the posters...

24 Jul 2011, 5:55 AM
#45
conor avatar

conor

Passed

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

Re: Ceon URI Mapping v4

Hi,

skellmeyer:

It's exactly like a lightbulb - I put the code in, it vomits, I take it out, it's fine and dandy.

Computers are predictable machines.. everything works like a lightswitch.. or a logic gate. :)

This is pretty much proof that you've either made a mistake in the file or that the configuration between the two domains is different.

Send me FTP, admin AND control panel details for the site and I'll take a quick look to see what you've done wrong.

I don't have much time so you need to get these details to me asap (today) or I can't help.

All the best...

Conor
ceon

24 Jul 2011, 5:57 AM
#46
conor avatar

conor

Passed

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

Re: Ceon URI Mapping v4

Hi,

Doodlebuckets:

Database table can not be created! The database user does not have CREATE TABLE privileges!

Either your database user has not been set up correctly and cannot create any tables or the software is failing to detect the privileges properly.

Send me FTP, admin and PHPMyAdmin details for the site and I'll take a quick look.

I don't have much time so you need to get these details to me asap (today) or I can't help.

All the best...

Conor
ceon

25 Jul 2011, 3:18 PM
#47
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

Back from vacation and then a weeklong post vacation illness (not related to the vacation.. just one of those unlucky timing things.. :() I see you all have been busy and I am tardy to the party..:laugh::laugh::laugh:

Will be updating my test and dev stores this weekend with v4.0.1.. I had a similar issue as has been reported with stores which are installed in a sub-directory.. (my beta testing of this mod was done on a store which used a sub-domain, so the issue wasn't apparent..)

Anyway all that to say publicly that I was always a fan of this mod and Conor's wonderful 1st class support, but this new version is FANTASTIC!!! I can't say enough about it and the work that Conor put into it.. The install automation features are BRILLIANT and should minimize the NUMBER of questions asked repeatedly in the old support thread. (particularly the MANY .htaccess file questions!)

I even (finally) worked up a process to automate adding static URIs for other Zen Cart pages to my Ceon URI Mapping install. Until the Ceon releases it's commercial mod for automating this, this will make the install process a breeze for me!!!
(DON'T PM me to ask about this process please.. I will only share this with folks I KNOW round here :smile: -- sorry:blush:)

25 Jul 2011, 4:34 PM
#48
conor avatar

conor

Passed

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

Re: Ceon URI Mapping v4

Hi,

Just to let you know that Ceon URI Mapping was released a few days ago.

Sorry, I forgot to post an update here, although the contribution has indeed been submitted to the downloads area.

You can download it now on Ceon's website.

Changes from version 4.0.1:

[UPDATED] When a product is having its URI mapping auto-generated, with an integer being auto-appended because the mapping clashes with an existing mapping, the auto-generation code now checks to see if the clash that is occurring is in fact simply with the product's own mapping. If so, no new URI mapping is generated.

[BUGFIX] When a URI was being made into a historical mapping and an identical historical mapping already existed, the code was wrongly deleting both the original, duplicate mapping and the new historical mapping, instead of only deleting the duplicate mapping.

This minor bug shouldn't have affected many people but it's best to upgrade, as it takes less than 10 seconds.

All the best..

Conor
ceon

26 Jul 2011, 5:27 PM
#49
s_p_ike avatar

s_p_ike

Zen Follower

Join Date:
Feb 2005
Location:
Italy
Posts:
178
Plugin Contributions:
0

Re: Ceon URI Mapping v4

Hi Conor, first of all, thank you!
I just installed 4.0.2 on a heavy modified Zen. Since it's a bit old it has even no sense to speak about a version (it was a 1.3.7 badly and partially) upgraded to 1.3.8 and then with some upgrades extracted from 1.3.9 and applied.
At the moment many things seems to work perfectly (at first shot! this means you wrote your code very well). Of course I had to merge almost all the core files and it seems I didn't make mistakes, but I run in an error about ezpages (multilanguage).
I merged (file diff) the file in admin root both with the file under modified_core_files and with the file under third_party_module_integration.

When I try to update an ezpage (mysite/myadmin/ezpages.php?action=update) I get this error:

Fatal error: Call to undefined method CeonURIMappingAdminEZPagePages::autogenEZPageURIMapping() in mysite/myadmin/includes/classes/class.CeonURIMappingAdminEZPagePages.php on line 134

With developers tool kit I searched for the method autogenEZPageURIMapping but in effect I didn't find it. I just got only one reference, in class.CeonURIMappingAdminEZPagePages.php, on line 134

So, is the method definition missing?

Thanks in advance

27 Jul 2011, 8:25 AM
#50
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Ceon URI Mapping v4

I have run into exactly the same issue with ezpages:

PHP Fatal error: Call to undefined method CeonURIMappingAdminEZPagePages::autogenEZPageURIMapping() in /home/goldense/public_html/appadmin/includes/classes/class.CeonURIMappingAdminEZPagePages.php on line 134

Not using multilanguage

29 Jul 2011, 12:07 AM
#51
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ceon URI Mapping v4

I'm having a problem with the ezpages too. When I create a new ezpage and save it I get a blank page but the ezpage is still created and can be seen in the store front. Updating gives a blank page.

29 Jul 2011, 1:44 AM
#52
thevagr1 avatar

thevagr1

New Zenner

Join Date:
May 2009
Location:
Melbourne, Australia
Posts:
46
Plugin Contributions:
0

Re: Ceon URI Mapping v4

Firstly Connor,
THANKS for a great updated module. I have been using your URI program for about 2 years.
My question is ..
Is it possible to get a mapping for the Music Genre pages and Artist Pages.
I have tried doing this in PHPMyAdmin with no success.

I have managed to get the /store/MusicGenre/Rock up in the mappings but it is not working on the site.
It looks like the associated_db_id is missing but I cant find one for Music Genre.

www.merchbitch.com.au/store

Any ideas?
Thanks very much
Renate

29 Jul 2011, 11:27 AM
#53
conor avatar

conor

Passed

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

Re: Ceon URI Mapping v4

Hi,

barco57:

I have run into exactly the same issue with ezpages:

Sorry about that, I've released 4.0.2 with the EZPages file from 4.0.1.

I'll release a version 4.0.3 whenever I get a chance.

In the meantime open the file

includes/classes/class.CeonURIMappingAdminEZPages.php

and change line 78 from

 
function autogenEZPageURI($id, $name, $language_code, $language_id)

to

function autogenEZPageURIMapping($id, $name, $language_code, $language_id)

Please note we're on our holidays so it's unlikely you'll get any further response from me here for the next week.

All the best...

Conor
ceon

29 Jul 2011, 1:21 PM
#54
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ceon URI Mapping v4

Thank you. :-) That did the trick.

29 Jul 2011, 2:49 PM
#55
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

taps her foot while rolling her eyes

and you KNOW why too..:laugh::laugh: Back to holiday you go..

conor:

Hi,

Sorry about that, I've released 4.0.2 with the EZPages file from 4.0.1.

I'll release a version 4.0.3 whenever I get a chance.

In the meantime open the file

includes/classes/class.CeonURIMappingAdminEZPages.php

and change line 78 from

function autogenEZPageURI($id, $name, $language_code, $language_id)

>  
> ```php
function autogenEZPageURIMapping($id, $name, $language_code, $language_id)
```Please note we're on our holidays so it's unlikely you'll get any further response from me here for the next week.
>  
> All the best...
>  
> Conor
> [ceon](http://dev.ceon.net)
30 Jul 2011, 3:29 AM
#56
skellmeyer avatar

skellmeyer

New Zenner

Join Date:
Dec 2005
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping v4

DivaVocals:

taps her foot while rolling her eyes

and you KNOW why too..:laugh::laugh: Back to holiday you go..

Wow - now I feel like I shouldn't even post....
I hate to disturb people on their vacations.

Sigh...

Anyway, I'm the nutcase who has two identical 1.39h Zencart installations on a shared server, each with it's own account and IP.
The same server serves both sites off different dedicated IPs, one for BestScientists.com and the other for BestCatholicPosters.com (it's a Midphase server).

BestScientists works, BestCatholicPosters doesn't.

Thinking I might have a corrupted file somewhere, I tried creating an absolutely fresh zencart installation on BCP, uploaded the information from the live BCP site and installed the SEO URI module.

When I did this, the test BCP site doesn't crash, it just silently fails to work.
I have the code in the correct .htaccess, the admin modules auto-generate the URI (I can see it in the database), but zencart never acknowledges that it exists.

So, I tried to get cute - I took the entire "includes" directory from the BestScientists Zencart and copied it on top of the BCP test zencart (minus configure.php, of course).

The test BCP still fails in exactly the same way - silently.
So, I figure the problem must be with the database.
I see three ceon tables, and I've looked at both structures - they both seem to be correct.

Are there any other tables I should look at?
It can't be server configuration, because it's the same server.
It can't be the includes directory, because that's identical too.
The .htaccess code is correct.

It's a puzzle, I tell ya'....

And I shouldn't even post this because now you'll be puzzled by it while you're on vacation.
Which is hardly fair.
But if I don't post it now, I may forget what I've done, so...

Click....

30 Jul 2011, 3:51 AM
#57
skellmeyer avatar

skellmeyer

New Zenner

Join Date:
Dec 2005
Posts:
14
Plugin Contributions:
0

Re: Ceon URI Mapping v4

This is how it fails:

If I try to use the URI that is assigned, it kicks me back to the home page.
It keeps the assigned URI in the browser bar, but now I'm staring at the home page instead of the product page that's supposed to own that URI.
It does that no matter where I am in the site when I throw the auto-generated URI in the header - kicks back to home page, but keeps the URI in the browser bar.
If I hover over the product image or link on any page, I see the Zencurt URL in the lower left corner, not the CEO URI.
I can click and I'll go to the right product, but I never see the CEO link.

And, just for good measure, I also copied all the working admin files from BS to BCP, but it had zero effect (I didn't think that would make a difference, but it was worth trying).

31 Jul 2011, 6:23 PM
#58
labatts03 avatar

labatts03

New Zenner

Join Date:
Mar 2011
Posts:
20
Plugin Contributions:
0

Re: Ceon URI Mapping v4

I recently changed my directory on my website, and now the program is working in Admin. When I click through my site, when I go to the individual product page I get an 403 error. Does it have something to do with the / ? Just looking for some help before installing it over again. Cart 1.39h 4.02 ceon uri

Secondly, does having your admin file listed in the .htaccess file cause any security risk?

31 Jul 2011, 10:37 PM
#59
larkin1981 avatar

larkin1981

New Zenner

Join Date:
Mar 2011
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping v4

I installed the Ceon URI Mapping add-on to my site (https://www.bbetoysplus.com) today and according to the installation check at the end of the process, it installed perfectly with no problems. I added the rewrite rule to .htaccess and after completing the configuration steps, I began to manually update each of my existing categories individually so that they would begin using the static URIs. However, even after manually updating each category, the dynamic URIs are still being displayed in place of the static URIs. I cannot figure out why this is happening and would truly appreciate any advice/guidance anyone can provide towards solving this problem.

I am using ZenCart version 1.3.9h. In additiong the Ceon URI Mapping add-on, I also have Easy Populate v 1.2.5.4 and Image Handler 2 installed.

1 Aug 2011, 4:08 AM
#60
labatts03 avatar

labatts03

New Zenner

Join Date:
Mar 2011
Posts:
20
Plugin Contributions:
0

Re: Ceon URI Mapping v4

Did you turn it on under configure menu in admin?