Page 31 of 506 FirstFirst ... 2129303132334181131 ... LastLast
Results 301 to 310 of 5054
  1. #301
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: Simple SEO (shopping cart errs)

    Well, I uninstalled SSU and my shopping cart, login and contact us pages are working again.

    If anyone has any suggestions about what went wrong I'd appreciate the info.

    Thanks

  2. #302
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Well, removing SSU fixed the shopping cart and registration probs, but I still could not register as a new user. That one was a diff problem.

    When an existing user tried to login the error msg said
    ERROR_SECURITY_ERROR

    I discovered that my template was missing the login timeout file that provides the security token. I copied all 3 login files (tpl_time_out_default.php, tpl_login_default.php , tpl_logoff_default.php) from the zen classic directory and login works fine now (just copying the missing one didn't work).

    Source dir was
    \zen-cart-v1.3.8a-full-fileset-12112007\includes\templates\template_default\templates

    Copied to:
    store root\includes\templates\My_Template_Name

  3. #303
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    I'm so sorry, but when i tried SSU again, the same problem accured. I did nothing but upload all the files. PLease view my website http://www.cufflinks1.com.
    Now only the homepage of my site work. The following infos appear when i try to enter other pages:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


    --------------------------------------------------------------------------------

    Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.cufflinks1.com Port 80

  4. #304
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    The followings are Error log:
    [Thu May 29 14:43:41 2008] [error] [client 80.181.53.58] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
    [Thu May 29 14:43:50 2008] [error] [client 209.85.238.21] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0
    [Thu May 29 14:43:50 2008] [error] [client 58.35.130.21] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Thu May 29 14:43:50 2008] [error] [client 58.35.130.21] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Thu May 29 14:43:52 2008] [error] [client 58.35.130.21] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.cufflinks1.com
    [Thu May 29 14:43:52 2008] [error] [client 58.35.130.21] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.cufflinks1.com

  5. #305
    Join Date
    Nov 2007
    Location
    Upstate NY
    Posts
    232
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    If you didn't edit the .htaccess file this can happen. You said you only uploaded the files; the hta edit is very important.

    There is a lot more to do that is in \Simple SEO URL\docs\installation. My site was dead until I did every last single thing listed on this page.

    First, Module Manager and the shared classes are really, really required.

    REQUIREMENT:
    1. mod_rewrite installed on your APACHE server
    [mod-rewrite info is below]

    2. Module Manager installed
    http://zencart-module-manager.google...ager_rev15.zip
    (link came from here: http://code.google.com/p/zencart-mod...downloads/list)

    3. Shared class files installed (https://svn.rubikintegration.com/zen...hared_classes/)
    These are just server dirs, so you have to manually download the files (maintain dir structure).


    -----------------------------------------------------
    I had to do this to get Module Manager working, my server did not let it create the file:

    TROUBLESHOOTING:
    After installing itself, this module writes a file named ".keep" in admin\includes\module_installation, if your server doesnt allow it to do so, it may make the module attempting to install itself everytime. The fix is easy though, just manually create a .keep file there (after the module has already installed itself, of course)
    --------------------------------------------------------------
    Then did you do this?

    2. Visit Admin->Extra->SSU Manager once for the database patch to be applied automatically.
    3. Clean cache if neccessary (you can now delete thru admin, please check usage.txt for more info).
    ------------------------------------------------------
    To check for mod_rewrite you can do this:

    from your webhost cPanel:
    Go to System-->System Info-->PHP Info
    Check section apache2handler (I use Apache 2).
    You will find a line with loaded modules if mod_rewrite is among them, than it's OK. Else not.

    ----AND/OR-----

    make a file called pinfo.php in your web servers data directory root
    (/usr/local/www/data by default)

    put this in it (only this!! no body/head/wc3 etc. use notepad if you have to):

    <?php
    phpinfo();
    ?>

    save it and go to:

    http://yourURL.com/pinfo.php

    and read away. that will dump all php related info.
    -------------------------------------------------------------
    If you just want to see if mod_rewite is installed:
    [from http://www.wallpaperama.com/disp-post19.html]
    There are several ways to check if its working, I will try to show you the easiest way-
    Create a .htaccess file (a text file named .htaccess) with the following code in it

    Options +FollowSymLinks
    RewriteEngine On

    Save the file to a subdirectory of your main site something like this
    /rewrite-testfolder/.htaccess

    Now attempt to browse to the subdirectory (http://localhost/rewrite-testfolder/). One of two things could happen

    - No errors Congrats mod_rewrite engine is now enabled.

    - 500, Internal Server Error If you get this message then mod_rewrite was not installed/enabled on your computer.

    If you get a 500 error, you can learn to how to enable mod_rewrite in apache by visiting this post:

    http://www.wallpaperama.com/disp-post9.html

    ------------------------------------------------------
    Read all the text files in the SSU docs folder! They will help.

    Good Luck
    --Pat

  6. #306
    Join Date
    Jan 2007
    Location
    Florida/Missouri
    Posts
    77
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Any ideas on a fix for PayPal Ipn? Orders not coming thru

  7. #307
    Join Date
    Jun 2008
    Location
    Catalonia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by yellow1912 View Post
    Give me till this weekend, I have a new version coming out soon which will fix all known bugs.
    Even the one with Paypal IPN ? I've been struggling quite a lot with it but I have not really understood what actually happens yet. If it can help, here are the logs generated by the module:

    Code:
    Jun 01 2008 15:22 -- Keys for submission: Array
    (
        [charset] => iso-8859-1
        [lc] => FR
        [page_style] => Primary
        [custom] => zenid=dbd9e25d5b5790c22a0a714a5a6142ea
        [business] => [email protected]
        [return] => https://my_https_host/checkout_process/referer/paypal?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
        [cancel_return] => https://my_https_host/checkout_payment?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
        [shopping_url] => https://my_https_host/shopping_cart?zenid=dbd9e25d5b5790c22a0a714a5a6142ea
        [notify_url] => https://my_https_host/ipn_main_handler.php
        [redirect_cmd] => _xclick
        [rm] => 2
        [bn] => zencart
        [mrb] => XXXXXXXXXXXXXXX
        [pal] => XXXXXXXXXXXXXXXX
        [first_name] => XXXX
        [last_name] => XXXXXXX
        [address1] => XXXXXXX
        [city] => XXXXXXXXX
        [state] => XXXX
        [zip] => XXXX
        [country] => X
        [email] => [email protected]
        [H_PhoneNumber] => XXXXXX
        [night_phone_b] => XXXXXXX
        [day_phone_b] => XXXX
        [no_shipping] => 1
        [upload] => 1
        [currency_code] => EUR
        [cmd] => _ext-enter
        [item_name] => XXXXXXXXX
        [item_number] => MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_ITEMNUM
        [amount] => 7.20
        [shipping] => 0.00
        [tax] => 0.00
        [tax_cart] => 0.00
    )
    Code:
    Jun 01 2008 15:27 -- IPN PROCESSING INITIATED. 
    *** Originating IP: 66.211.170.66  notify.paypal.com
    Code:
    Jun 01 2008 15:27 -- PDT Returned Data Array
    (
    )
    
    
    Jun 01 2008 15:27 -- PDT WARNING :: Order not marked as "Completed".  Check for Pending reasons or wait for IPN to complete.
    [payment_status] => 
    [pending_reason] => 
    
    Jun 01 2008 15:27 -- PDT WARNING :: Transaction already exists. Perhaps IPN already added it.  PDT processing ended.
    Code:
    Jun 01 2008 15:27 -- IPN INFO - POST VARS to be sent back for validation: 
    To: www.paypal.com:80
    POST /cgi-bin/webscr HTTP/1.1
    Host: www.paypal.com
    Content-type: application/x-www-form-urlencoded
    Content-length: 143
    Connection: close
    
    Array
    (
        [cmd] => _notify-sync
        [tx] => 
        [at] => XXXXXXXXXXXXXXXXXXX
    )
    
    
    Jun 01 2008 15:27 -- IPN INFO - Confirmation/Validation response 
    
    FAIL
    
    
    Jun 01 2008 15:27 -- IPN WARNING :: PDT Transaction was not marked as SUCCESS. Keep this report for potential use in fraud investigations.
    IPN Info = 
    FAIL
    Code:
    Jun 01 2008 15:30 -- IPN PROCESSING INITIATED. 
    *** Originating IP: 66.211.170.66  notify.paypal.com
    I don't understand how SSU could interfere with Paypal, but it does. However according to the logs it seems that there IS bidirectional communication.
    Unfortunately I can't use SSU until this problem can be solved...
    Please show up if you need some help to code or to do some tests for your new version.

  8. #308
    Join Date
    Jun 2008
    Location
    Catalonia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Oh, and maybe I should mention that the payment is accepted by Paypal, but Zen Cart does not receive any notification of it, so it does not appear in the admin homepage.

  9. #309
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Hi all,

    Just wondering if anyones has had this problem and conquered it?

    i have installed this mod and it seems to be working great but there are a few links that don't work. An example is on the product info page. The tell a friend link displays as:
    http://my_domain/tell_a_friend/%s.
    All the problem ones all have the %s/%p things happening and display a bad request. 95% of links are all working fine though.

    I only have it locally at the mo so i cant post an example but i have checked out a few other carts who have the mod live and find the same problem.

    thanks for any hints.

  10. #310
    Join Date
    Jun 2008
    Location
    Catalonia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    You can decide to manually add each of these pages to the exclude list (admin -> configuration -> Simple SEO URL -> exclude list). Personally I decided to modify the function ssu_params in includes/init_includes/init_ssu.php this way:
    Code:
    	// this function takes the parameters in the query string and turns that to our nice looking link
    	function ssu_params(&$page, $parameters, $re_calculate_cpath= false){
    		$parameters = trim($parameters,' ?&');
    		$cachefile = $this->pc_cache_folder.md5($page.$parameters);
    		$params = '';
    		$use_cache = false;
    		$set_cache = false;
    		$contains_cpath = (strpos($parameters,'cPath=') !== false);
    		$contains_products_id = (strpos($parameters,'products_id=') !== false);
    		$is_product_info_page = in_array($page, $this->products_handlers);
    		$is_category_page = ($page == 'index' && $contains_cpath);
    		$both_id = (!$is_product_info_page && !$is_category_page && $contains_cpath && $contains_products_id);
    		$only_products_id = (!$contains_cpath && $contains_products_id);
    
    		if(!empty($parameters)){
    			// if this contains cPath or products_id lets attempt to use cache
    			if($contains_cpath || $contains_products_id){
    				$use_cache = true;
    		        if (($params = @file_get_contents($cachefile)) === false)
    		        	$set_cache = true;
    			}
    			
    			// process params if we dont use cache or need to reset cache
    			if(!$use_cache || $set_cache){
    				// No need for '?'
    				//$parameters = str_replace('?', '', $parameters);
    				$parameters = str_replace(array('&amp;','&','=','?'),'/',$parameters);
    		
    				// clean up
    				//$parameters = preg_replace('/\/\/+/', '/', $parameters);
    				$parameters = trim($parameters, '/');
    				
    				$cPath='';
    				$products_id='';
    				
    				// Appending category name and product name into the link
    				$parameters = explode('/',$parameters);
    				$param_counter = count($parameters);
    				
    				// we want to make sure the order of params for product info and category pages 
    				if($is_product_info_page || $both_id)
    					$params = "%s/%p";
    				elseif($is_category_page)
    					$params = "%s";
    				elseif($only_products_id)
    					$params = "%p";
    			
    				for($i=0; $i < $param_counter; $i++){
    					if($parameters[$i]=='cPath'){
    						$cPath = $parameters[++$i];
    						if(!$is_product_info_page && !$is_category_page && !$both_id)
    						$params .= "/%s";
    					}
    					elseif($parameters[$i]=='products_id'){
    						$products_id = $parameters[++$i];
    						if(!$is_product_info_page && !$is_category_page && !$only_products_id && !$both_id)
    						$params .= "/%s";
    					}
    					elseif(!empty($parameters[$i]) && !empty($parameters[$i+1])){
    						$params .= "/".$parameters[$i]."/".$parameters[++$i];
    					}
    					else
    						$i++;
    				}
    
    				// dont trust the info passed to us, always rebuild the cPath in this case
    				if($is_product_info_page && !empty($products_id)){
    					$cPath = zen_get_product_path($products_id);
    				}
    				elseif(!empty($cPath) && $re_calculate_cpath && !empty($products_id)){
    					$cPath = zen_get_product_path($products_id);
    				}
    		
    				if(!empty($cPath)){
    				$params = str_replace('%s', $this->get_category_name($cPath), $params);
    				}
    
    				if(!empty($products_id)){
    				$params = str_replace('%p', $this->get_product_name($products_id), $params);
    				}
    			}
    		}
    		
    		if($is_product_info_page || $is_category_page)
    			$page ='';
    		
    		$params = trim($params, '/');
    		if($set_cache) $this->_write_to_file($cachefile, trim($params,'/')); // we cache the whole link so that we dont have to recalculate it again
    
    		// TODO: change the way we check if the language is already in the link
    		$params .= (isset($_SESSION['languages_code']) && strpos($params, 'language/') === false && $_SESSION['languages_code'] != DEFAULT_LANGUAGE) ? '/language/' . $_SESSION['languages_code'] : '';
    				
    		return $params;
    	}
    Thanks to $only_products_id and $both_id, we can process the links referring to pages which are not product or category pages, but whose URL contain category or product identifiers (like tell_a_friend and product_reviews_write).
    If you want to use this solution, you can cut and paste the code, overwrite init_ssu.php with the file in attachment, or use the patch with the command "patch -p0 < init_ssu.patch".
    Of course this is provided without any warranty and should be tested before using it on your Zen Cart shop (in your case it seems you already use a test shop, though).

    I had not proposed yet these modifications as I was not sure everyone met this problem.

    To hunt dead or broken links on a website, you can use lynx (lynx -accept_all_cookies -traversal -crawl -realm PATH_TO_YOUR_LOCAL_WEBSITE) or Xenu (wich unfortunately only has a Windows version but it works fine with wine). Of course it is best to use it on your own PC or local network as it consumes A LOT of bandwith.

    Hope this helps,

    FMB.
    Attached Files Attached Files

 

 

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 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