Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    The admin/includes/configure.php also includes
    define('HTTP_SERVER', 'http://domain.com');

    There is no cert installed on the domain where I'm developing the new site. The htaccess file is a copy of the htaccess file currently being used by the live site (zc 1.5.1) on the same server which also uses USU.

    This is what I get using the htaccess rules
    Click image for larger version. 

Name:	with_htaccess_rules.jpg 
Views:	19 
Size:	57.4 KB 
ID:	17390

    and this is what I get without the htaccess rules
    Click image for larger version. 

Name:	without_htaccess_rules.jpg 
Views:	17 
Size:	66.7 KB 
ID:	17391

  2. #12
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Developer Tools Error Message Every Time

    Ok, so said 2 sites, one server. How in the file structure are the two sites "related"?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #13
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    Other than they're both zen carts one (the live one) being 1.5.1 and the new one being 1.5.5 they aren't related. They're both on the same server and both using USU with identical htaccess files.

  4. #14
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Developer Tools Error Message Every Time

    Quote Originally Posted by bumba000 View Post
    Other than they're both zen carts one (the live one) being 1.5.1 and the new one being 1.5.5 they aren't related. They're both on the same server and both using USU with identical htaccess files.
    So neither one is within the other. Is there an htaccess in the folder above (more to the left in the path listing) the folder that contains the current problem server?

    What redirects may already be established via cPanel fo this test domain?

    And in your browser when you don't have the htaccess in place, what does the uri show?

    There appears to be something that is holding the line at not having/using a www. prefix....
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #15
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Developer Tools Error Message Every Time

    Quote Originally Posted by bumba000 View Post
    The rules in the htaccess file are at the top just below
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /

    Removing them allows the site to be accessed with or without www, but zc adds www to all links which creates duplicate content.

    in admin configure
    define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being

    in front end
    define('HTTP_SERVER', 'http://www.domain.com');
    define('HTTPS_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being
    this is wrong. not sure if this is related to your problem or not. the admin configure on v1.5.1 is different from v1.5.5. (not sure about the customer side, but you can look for yourself.) here is the admin configure file:

    https://github.com/zencart/zencart/b...-configure.php

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #16
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    Hey Carl,
    I know they're different. I have the 1.5.5 configs on the 1.5.5 install. The file I copied over was the htaccess. My admin config file says 1.5.5 at the top and is identical to the one you linked to.

    Thank You,
    John

  7. #17
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    MC,
    The dev site is installed in the root (public_html). There is no htaccess above this dir. There are no redirects added via cpanel.

  8. #18
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Developer Tools Error Message Every Time

    Quote Originally Posted by bumba000 View Post
    MC,
    The dev site is installed in the root (public_html). There is no htaccess above this dir. There are no redirects added via cpanel.
    What are the contents of the admin/includes/local directory and file(s) within?

    BTW, as a little "test" myself. I took a site that I don't typically use www. as a prefix for, I have no .htaccess file in the root and have not done anything with the admin .htaccess to force one way or another and modified the three admin HTTP_ defines to include www. (First test was with just HTTP_SERVER). Attempted to access the admin, got results similar to what you have described about correct credentials being provided, POST went to www. but GET went to site without www. and remaining calls all went to site without www. Now I haven't gone looking for a few other things like, I do have an SSL and it is enabled and as far as controlling the domain further, I had a setting in place to force removal of www which would explain my observation but I have only dug so far and haven't disabled SSL from the admin for this site. I'm quite certain though if I added an .htaccess rewrite rule to force www. that issues would continue further.

    All that being said, it seems to me that there is something on the server side that is basically prohibiting the use of www. on this test site and it is not ZC related...

    Something I noticed though with my testing, was that when admin/includes/configure.php HTTP_SERVER included www., then my post for access went to www. while my GET went to the site without www and all further communication went without www. Your POST above showing the traffic flow doesn't attempt to go to the site with www., but the get did (.htaccess redirect) that was then taken back to without www.

    Have you verified permissions on your admin/includes/configure.php as far as trying to edit it? Something doesn't add up...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #19
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    806
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    Hey MC,
    The only file in admin/includes/local/ is skip_version_check_ini.php and is an unmodified core file. I too have not made any changes to the admin htaccess file. I really am not feeling like this is a server issue. I'm on a dedicated server which has a handful of zen-carts which range from 1.5.1 to 1.5.4 and now the latest 1.5.5. I am only having this problem with the 1.5.5. I also have installed a test 1.5.5 on the domain which I am currently working. So, now there are two 1.5.5 ZC's on this domain. The one just under public_html is the one I'm working on to replace my 1.5.1 site. The second 1.5.5 is lower yet in a dir called demo. This site has no plugins/modifications and produces the same results when adding those couple of lines to the htaccess file. As previously stated - my live 1.5.1 which uses the exact same htaccess file has none of these issues.

    Thank You,
    John

  10. #20
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Developer Tools Error Message Every Time

    Having taken a step back and rereviewed this thread, the problem is in your admin/includes/configure.php plain as day by the below attached post that seemingly I missed completely.

    Quote Originally Posted by bumba000 View Post
    The admin/includes/configure.php also includes
    define('HTTP_SERVER', 'http://domain.com');

    There is no cert installed on the domain where I'm developing the new site. The htaccess file is a copy of the htaccess file currently being used by the live site (zc 1.5.1) on the same server which also uses USU.

    This is what I get using the htaccess rules
    Click image for larger version. 

Name:	with_htaccess_rules.jpg 
Views:	19 
Size:	57.4 KB 
ID:	17390

    and this is what I get without the htaccess rules
    Click image for larger version. 

Name:	without_htaccess_rules.jpg 
Views:	17 
Size:	66.7 KB 
ID:	17391
    Quote Originally Posted by bumba000 View Post
    The rules in the htaccess file are at the top just below
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /

    Removing them allows the site to be accessed with or without www, but zc adds www to all links which creates duplicate content.

    in admin configure
    define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being

    in front end
    define('HTTP_SERVER', 'http://www.domain.com');
    define('HTTPS_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being
    Please note the differences between the bolded text. And in this case, no https: is not really a factor...

    It is not related to ZC 1.5.5 specifically other than if the files were created by ZC, that the original plan was not provided to it (use of www.) or that after it was initially created, the file was updated/modified and www. wasn't taken into consideration.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 Custom 404 Error every time I type % sign into form and click submit
    By LetsLearnIt in forum General Questions
    Replies: 2
    Last Post: 17 Dec 2013, 04:08 AM
  2. Replies: 2
    Last Post: 11 Aug 2012, 06:56 AM
  3. Developer's Tools
    By sharc316 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Oct 2011, 06:38 PM
  4. Checkout Time Out error message
    By Stormshade in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Jul 2007, 11:45 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