Page 43 of 168 FirstFirst ... 3341424344455393143 ... LastLast
Results 421 to 430 of 1674
  1. #421
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    Some important things to understand about this plugin.
    • Ultimate (SEO) URLs will not modify the generated URL or respond to requests for any files or directories which physically exist.
    • Ultimate (SEO) URLs does not modify the generated URLs for the Zen Cart "admin".
    • Ultimate (SEO) URLs will only modify the generated URL on the "customer facing" for the specific pages entered in the configuration for "Enter pages to allow rewrite".

    The Recover Cart Sales module only makes modifications (and adds files) to the "admin" side of Zen Cart. So if you are seeing any 301 redirect... This is unrelated to the current version of Ultimate (SEO) URLs.

    Some places you can look: Review your installation of the "Recover Cart Sales" module. Make sure you have the latest version of "Ultimate (SEO) URLs" installed. Review any modifications made to core Zen Cart files. Review any custom redirects added to the .htaccess file in the web server's document root, the ZenCart installation folder, and the Zen Cart admin folder. Review any Zen Cart debug logs and your web server error logs.
    Thanks for the clarifications. My mistake on the plugin, it's actually Autoresponder+, which does put one file in the store root to run via a cron job.

    I checked the module installation and found no errors.
    I removed all other code from the .htaccess file.

    Still, the file is redirecting.

    Oddly enough, I had created a custom landing page for one of the products, saved that in the root and that file does not redirect. Both have .php extensions, so that's not part of the problem.

    When I turn the module off in the admin, it takes a few minutes before it takes effect, but it does go off and then the redirect problem stops. The file loads just as it should.

    Other ideas or places to look?

    Oh, no files in the /logs/ directory to look for clues.

  2. #422
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by jeking View Post
    Thanks for the clarifications. My mistake on the plugin, it's actually Autoresponder+
    Ahhh, quite a different plugin. Autoresponder+ was not created as a Zen Cart "page" (but it still calls includes/application_top.php which in turn loads core portions of Zen Cart including the "automatic redirect" code).

    You have a couple options...
    1. Disable "automatic redirects" (remember Zen Cart generates working canonicals).
    2. Modify Autoresponder+ to be a Zen Cart "page" (can be easily excluded from the pages to be rewritten).
    3. Modify the "automatic redirect" code to skip redirecting if the request matches "autoresponder.php".
    4. Wait for the massive rewrite of this module (which includes changes to the automatic redirect code). There is no ETA at this time.


    If you want to modify the "automatic redirect" code,
    Starting at line 1320 of "/includes/classes/seo.url.php" change:
    PHP Code:
        function need_redirect() {
            
    $this->need_redirect false;

            
    // If we are in the admin we should never redirect 
    to something like:
    PHP Code:
        function need_redirect() {
            
    $this->need_redirect false;

            if(
    $_SERVER['REQUEST_URI '] == 'autoresponder.php') return false;

            
    // If we are in the admin we should never redirect 
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #423
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    Ahhh, quite a different plugin. Autoresponder+ was not created as a Zen Cart "page" (but it still calls includes/application_top.php which in turn loads core portions of Zen Cart including the "automatic redirect" code).
    Ahhh, the source of the problem!

    I opted for your option 3. There is a second file, a data feed for ShopMania, with the same problem. But it has the same symptoms...not a Zen Cart 'page' and was using includes/application_top.php.

    I added the code (duplicating the line and using one file name on each line:
    if($_SERVER['REQUEST_URI '] == 'file_name_one.php') return false;
    if($_SERVER['REQUEST_URI '] == 'file-name-two.php') return false;

    but it's still redirecting to the home page. Is the code as I added it correct?

  4. #424
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by jeking View Post
    ...
    if($_SERVER['REQUEST_URI '] == 'file_name_one.php') return false;
    Remove the extra space between URI and the apostrophe. Was a typo :)
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  5. #425
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Ultimate SEO 2.200+ (new features)

    Space removed, on both, but redirect still happening. I thought we had it that time.

  6. #426
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Ultimate SEO 2.200+ (new features)

    Turns out all that was needed was a /.

    if($_SERVER['REQUEST_URI'] == '/file_name_one.php') return false;

    Did the trick

    Thanks for the help. I would not have figured that out on my own.

  7. #427
    Join Date
    Feb 2011
    Posts
    82
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Hi..

    I have just upload the Ultimate SEO URL V2.212

    It display the msg as following:
    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.
    ################################################################################ ################################################################################ ##################################################___

    Can you advice? I hope to have solution asap... :-(
    Thank you.


    Quote Originally Posted by lhungil View Post
    Did you make sure the renamed files do NOT end with .php?


    The error message is "Failed opening '/home2/seasonbr/public_html/trade/includes/classes/seo.url.php'". If PHP cannot load the file, it cannot instantiate the class contained in the file.

    This error message indicates "Ultimate SEO URLs" was not properly installed. Based upon that error message I can see some files were not copied over. You really need to completely re-install "Ultimate SEO URLs" at this point, not just copy over files as you find they are missing. If you followed all the steps listed in the installation file (and are really using a clean installation of Zen Cart 1.5 using the installation scripts included with Zen Cart) you should not be seeing these kind of error messages.

    Detailed Installation Steps
    This list assumes you truly have a clean Zen Cart installation. No other plugins or modules installed. No other changes made. No extra php files. You installed Zen Cart using the instructions and installation scripts provided with Zen Cart not 3rd party ones. You just finished the installation and renamed your admin folder.
    1. Determine which version of Zen Cart you installed. You still have not told us if you are using 1.5.0 or 1.5.1. These versions are not the same and have different files. So just saying 1.5 is not sufficient.
    2. Download the latest version of "Ultimate SEO URLs" from http://www.zen-cart.com/downloads.php?do=file&id=132.
    3. Unzip the archive to your local computer. Yes to your local computer. Make sure you are using a program to unzip the files which understands paths (directories). If your local computer is running Windows you can use the built in unzip utility. Otherwise look into a program such as 7-zip (free, opensource).
    4. Open and read "LICENSE". Everyone using this module or modifications of this module are subject to the license agreement. If you do not agree you cannot use this module or modifications of this module.
    5. Open and read "README_ENGLISH.txt". Yes you really should always read any document packaged with a module. This document contains the short form of these instructions suitable for anyone who understand Zen Cart to install this module.
    6. Now you remember when I said is was important to know what version of Zen Cart you have installed, right? Here is where you use the version information. Go to the instructions for copying files to your Zen Cart installation. When you are done come back here and continue.
    7. Open your web browser. Go to the administrative side of your Zen Cart installation. Now login with your administrative user.
    8. Go to "configuration" -> "Ultimate SEO URLs". Change the settings to match your needs and wants.
    9. Edit the example .htaccess file in this thread to match your settings and environment. Make sure you actually read the instructions in the .htaccess file before and during editing. Once done editing, upload the .htaccess file to your Zen Cart installation folder.


    Copying files to a clean Zen Cart 1.5.0 installation
    First and foremost always use a proper upload tool such as WinSCP. Do not use an online "file manager" or "dreamweaver". If any changed files have been changed by another plugin or template you install, your Zen Cart installation is NOT clean and you will have to "merge" the changes instead of following these steps.
    1. Copy the files (including directory paths) from "new_files_150/includes" and "new_files_150_English/includes" to your Zen Cart installation under "/includes".
    2. Copy the files (including directory paths) from "new_files_150/your_admin_folder" and "new_files_150_English/your_admin_folder" to your Zen Cart installation under your admin folder (assuming you followed the instructions for installing Zen Cart and renamed the admin folder).
    3. Overwrite the files (including directory paths) from "affected_files_150/includes" to your Zen Cart installation under "/includes".
    4. Overwrite the files (including directory paths) from "affected_files_150/your_admin_folder" to your Zen Cart installation under your admin folder.
    5. Overwrite the file from "affected_files_150/index.php" to your Zen Cart installation.
    6. Now return to where you left off in the first list.


    Copying files to a clean Zen Cart 1.5.1 installation
    First and foremost always use a proper upload tool such as WinSCP. Do not use an online "file manager" or "dreamweaver". If any changed files have been changed by another plugin or template you install, your Zen Cart installation is NOT clean and you will have to "merge" the changes instead of following these steps.
    1. Copy the files (including directory paths) from "new_files_151/includes" and "new_files_151_English/includes" to your Zen Cart installation under "/includes".
    2. Copy the files (including directory paths) from "new_files_151/your_admin_folder" and "new_files_151_English/your_admin_folder" to your Zen Cart installation under your admin folder (assuming you followed the instructions for installing Zen Cart and renamed the admin folder).
    3. Overwrite the files (including directory paths) from "affected_files_151/includes" to your Zen Cart installation under "/includes".
    4. Overwrite the files (including directory paths) from "affected_files_151/your_admin_folder" to your Zen Cart installation under your admin folder.
    5. Overwrite the file from "affected_files_151/index.php" to your Zen Cart installation.
    6. Now return to where you left off in the first list.


    Still having problems
    If after following all these instructions you still cannot get this plugin working I would highly recommend you hire a developer familiar with Zen Cart to install and configure your site for you. Installation of this plugin is relatively straight forward and very similar to installing any other Zen Cart module / plugin.

    Installing more than one plugin / module often involves using a tool such as WinMerge or Beyond Compare to "merge" the changes made by each plugin. If your "template developer" changed core Zen Cart files you will need to do a merge of any files both modified, not just replace the files. If you are not familiar with PHP, MySQL, and Zen Cart this can be a daunting task.

  8. #428
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by Orkid View Post
    ...
    It display the msg as following:
    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.
    ...
    Please Answer the following:
    Version of Zen Cart?
    Version of Ultimate (SEO) URLs? 2.212
    Copy of .htaccess file?
    Copy of server error log?
    Copy of any Zen Cart debug file(s)?

    Typically "HTTP/500 Internal Server Error (or Internal Application Error), indicates a SERVER ERROR (either Apache/IIS, PHP, or another server module). This is a generic error telling you the Web Server itself encountered a fatal error in one of the Web Server's modules. Typical causes are: misconfiguration of the webserver, misconfiguration of directives in the .htaccess file, or the webserver not allowing a directive in the .htaccess. There should be a "log" for server side errors (unless disabled by your hosting provider).
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  9. #429
    Join Date
    Feb 2011
    Posts
    82
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    You can read more about the different defines in Zen Cat's configure.php. DIR_WS_CATALOG is the "folder" or "directory" where you installed Zen Cart relative to the Web Server's document root (or in other words what shows up following the domain name in your web browser's address bar). Note DIR_WS_CATALOG should start and end with a slash (/).

    So if you have define('DIR_WS_CATALOG', '/'), then use either use: "RewriteBase /" or "#RewriteBase /".
    If you have define('DIR_WS_CATALOG', '/shop/'), then use: "RewriteBase /shop/".
    Hi, I found TWI error, same as my error, following yours and TWI.. then, just finally solve it.. thanks a lot to you and twi...
    Happy to hv SEO Urls on my website now..

  10. #430
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Thank You for reporting by following the instructions in step 3 of the readme and inside the .htaccess file you were able to get up and running.

    P.S. The name of this plugin is not SEO Urls.
    Please use the either the full name: Ultimate (SEO) URLs or the short name: Ultimate URLs to avoid confusion.
    Thank You!
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Ultimate Fade-In Slidehow Support thread
    By outeredge2 in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 4 Feb 2017, 03:10 AM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Ultimate Content Glider [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Sep 2012, 05:16 AM
  4. 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