Page 94 of 245 FirstFirst ... 44849293949596104144194 ... LastLast
Results 931 to 940 of 2445
  1. #931
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by DivaVocals View Post
    Upgrading did the trick.. there were a few additional files from my custom product type that I modified following how other product types had your code applied. I hope that I did the right thing by modifying these files as well.. So far everything seems to be working flawlessly! Thanks for the help as always Conor!!
    With the functionality added in 4.2.0 the only thing you needed to do was to add the custom product type's string to the array in the includes/extra_datafiles/ceon_uri_mapping_product_pages.php file, no other changes are needed. I don't know what changes you made but can guess and you can ignore them.. their presence won't mess anything up, nor will wiping those changes (e.g. when upgrading).

    Hope that helps!

    All the best..

    Conor
    ceon

  2. #932
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by conor View Post
    Hi,



    With the functionality added in 4.2.0 the only thing you needed to do was to add the custom product type's string to the array in the includes/extra_datafiles/ceon_uri_mapping_product_pages.php file, no other changes are needed. I don't know what changes you made but can guess and you can ignore them.. their presence won't mess anything up, nor will wiping those changes (e.g. when upgrading).

    Hope that helps!

    All the best..

    Conor
    ceon
    It does and I will undo the two changes I made that are not needed..

    On another note.. I need to send you an an e-mail under separate cover with regards to questions I have regarding the mapping manager and "other" pages..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #933
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hi Conor,

    I have just upgraded to 4.4.1, and now under the admin modules and settings, there are duplicate menu. Previously, a developer helped to upgrade my cart engine from 1.39h to 1.5, but not the add-on mod, so I just did the upgrade to zc1.5.1; and upgraded CEON mapping too.

    Would you know what I might have done wrong? Both the links work the same though, and no error in debug or the installation check.

    Appreciate your help. Thank you.

    Click image for larger version. 

Name:	Screen Shot 2012-11-18 at 8.14.06 PM.png 
Views:	63 
Size:	45.9 KB 
ID:	11474Click image for larger version. 

Name:	Screen Shot 2012-11-18 at 8.32.13 PM.png 
Views:	61 
Size:	17.7 KB 
ID:	11475

  4. #934
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by saplanet View Post
    I have just upgraded to 4.4.1
    What version did you upgrade from?

    All the best...

    Conor
    ceon

  5. #935
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by conor View Post
    Hi,



    What version did you upgrade from?

    All the best...

    Conor
    ceon
    From 4.0.7

  6. #936
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by saplanet View Post
    From 4.0.7
    The admin page key didn't change between those versions so I've no explanation for the duplication other than user error when installing. Just use PHPMyAdmin to remove the duplicate key by hand.

    All the best...

    Conor
    ceon

  7. #937
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Ceon URI Mapping v4.x

    I regret to advise you that Conor passed away last night. Please see http://www.zen-cart.com/showthread.php?202939

  8. #938
    Join Date
    Nov 2008
    Posts
    164
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    This is terrible to hear about Conor I just found the CEON URI module this morning and it's a pretty good tool - after SSU had problems with V1.5 this has picked up the slack.

    I didn't want to go through products 1-by-1 to add them to the database, so I put together this script in the past hour to do it automatically.

    Open index.php, save it as update-ceon-uri.php and replace the content of <body>...</body> with the following: (make sure to keep the require header.php)
    Code:
    <div style='width:1000px;margin:0 auto;'>
    
    	<p>Categories must be updated manually through the regular store interface before running this script.</p><hr/>
    
    	<?php // display categories to select from
    		$categories = mysql_query("SELECT * FROM zen_categories LEFT JOIN zen_categories_description ON zen_categories.categories_id = zen_categories_description.categories_id WHERE zen_categories.categories_status='1'");
    		echo "<p>Click on a category to update it's products: <br/>";
    		while ($showthiscat = mysql_fetch_assoc($categories)){
    			echo "<a href='update-ceon-uri.php?updatecategory=".$showthiscat['categories_id']."'>".$showthiscat['categories_name']."</a>, \n";
    		}
    		echo "</p><hr/>";
    	?>
    
    	<?php 
    		$replacechars = array("(",")","'","\""); // specify all characters to be eliminated
    		// update all products in category
    		$updateuris = mysql_query("SELECT * FROM zen_products WHERE master_categories_id='".$_GET['updatecategory']."'"); 
    		while ($thisuri = mysql_fetch_assoc($updateuris)) {
    			$productsid = $thisuri['products_id'];
    			$productsname = implode(mysql_fetch_assoc(mysql_query("SELECT products_name FROM zen_products_description WHERE products_id='".$productsid."'"))); 
    			$catname = implode(mysql_fetch_assoc(mysql_query("SELECT uri FROM zen_ceon_uri_mappings WHERE main_page='index' AND associated_db_id='".$thisuri['master_categories_id']."'")));
    			$newuri = $catname."/".strtolower(str_replace(" ","-",$productsname));
    			$newuri = str_replace($replacechars,"",$newuri); // remove characters from array above
    			$today = date ('Y-m-d G:i:s'); // today
    			
    		$exists = implode(mysql_fetch_assoc(mysql_query("SELECT * FROM zen_ceon_uri_mappings WHERE main_page='product_info' AND associated_db_id='$productsid'")));	 // used to check if product already exists to do update vs insert
    		
    		if ($exists) { // if already in zen_ceon_uri_mappings, update
    			mysql_query("UPDATE zen_ceon_uri_mappings SET uri='$newuri' WHERE main_page='product_info' AND associated_db_id='$productsid'");
    			$result = "Updated... ".mysql_error();
    		} else { // else, insert
    			mysql_query("INSERT IGNORE INTO zen_ceon_uri_mappings 
    						(`uri`, `language_id`, `current_uri`, `main_page`, `query_string_parameters`, `associated_db_id`, `alternate_uri`, `redirection_type_code`, `date_added`) VALUES 
    						('$newuri','1','1','product_info',NULL,'$productsid',NULL,NULL,'$today')");
    			$result = "Inserted... ".mysql_error();
    		}
    			echo "<p>$newuri - $result</p>\n"; // display whether updated or inserted and any problems encountered
    		}
    		
    ?>
    
    </div><!-- end center div -->
    NOTE: It always sets language_id to 1 (english in my case).
    NOTE: You'll have to specify all the characters you want removed directly in the $replacechars[] array.
    NOTE: You'll have to manually type in http://yoursite.com/admin/update-ceon-uri.php to run the script.

  9. #939
    Join Date
    Oct 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hello,

    I had sent email to the email address on CEON website but have not received any reply. I ask Hostgator to installed Ceon Uri Mapping and they received the following errors and wanted me to contact the programmer of this module. Here is the email from Host Gator:

    Is there anyone who can help me? Thx

    Hi Lila, I apologize for the delay in getting back to you on this. I installed the CEON module, but there were issues with the isntallatioin to the point where I had to spend a considerable amount of time debugging the Zen-Cart installation. In the end, I had to disable the module to get your site's front-end to load properly again as spending more time debugging the issue would extend the downtime. Here's the error that I'm seeing: [05-Dec-2012 13:21:23] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/lmdief/public_html/includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 230 [05-Dec-2012 13:21:23] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/lmdief/public_html/includes/classes/class.CeonURIMappingHREFLinkBuilder.php on line 231 I didn't bill you for the install as it was not successful. At this juncture, I would recommend contacting the module provider regarding the above error. I have left the ceon files in place so that they can see how we set it up. Although I do also have the pre-installation backup that I made if you would prefer that I restore the files from there. ---------------------------------------------- Thank you for allowing me to help you. Sincerely, Ricardo C. Linux Systems Administrator II HostGator.com, LLC http://support.hostgator.com

  10. #940
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Ceon URI Mapping v4.x

    @ Imdeif...
    please read 2 posts above yours. Sadly the author of this excellent mod has passed away. I'm sure someone at Ceon will contact you but maybe not just yet. Although as this isn't a commercial mod you can't expect to be a priority.
    This mod is painfully simple to install, but I'm no expert so I can't help with you error other than to suggest you try again yourself to install.

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR