Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    20
    Plugin Contributions
    0

    Default product_info.html --> being truncated to _info.html

    Hello fellow Zencarters Have a very strange problem, Hoping someone may have seen it before? Zen Cart 1.3.7 - yes antique Database: MySQL 5.5.37-35.1 Server OS: Linux 3.12.22 PHP Version: 5.2.17 (Zend: 2.2.0) Running an older version - all OK for 7 years. Suddenly all product clicks result in 404 not found. I was surprised to see that that on my front end all expected calls to (for example): http://mydomain.com/product_info.html?products_id=2576 Result in http://mydomain.com/_info.html?products_id=2576 i.e. the filename is missing! The same occurs in ADMIN admin/product.php is appearing as admin/.php upon clicking to edit a product I have checked my filesystem integrity and all seems OK ISP has not performed any recent changes (that I know of) I may have been hacked? I have checked my filesystem integrity, all seems OK Any ideas? Very strange Thanks - GSH
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	bug3.jpg 
Views:	76 
Size:	20.6 KB 
ID:	14488   Click image for larger version. 

Name:	bug2.jpg 
Views:	79 
Size:	21.1 KB 
ID:	14489  

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

    Default Re: product_info.html --> being truncated to _info.html

    Quote Originally Posted by gsh View Post
    Hello fellow Zencarters Have a very strange problem, Hoping someone may have seen it before? Zen Cart 1.3.7 - yes antique Database: MySQL 5.5.37-35.1 Server OS: Linux 3.12.22 PHP Version: 5.2.17 (Zend: 2.2.0) Running an older version - all OK for 7 years. Suddenly all product clicks result in 404 not found. I was surprised to see that that on my front end all expected calls to (for example): http://mydomain.com/product_info.html?products_id=2576 Result in http://mydomain.com/_info.html?products_id=2576 i.e. the filename is missing! The same occurs in ADMIN admin/product.php is appearing as admin/.php upon clicking to edit a product I have checked my filesystem integrity and all seems OK ISP has not performed any recent changes (that I know of) I may have been hacked? I have checked my filesystem integrity, all seems OK Any ideas? Very strange Thanks - GSH
    .Htaccess file change(s)? Uri rewriter modification? Use of .html style files is not part of the "typical" ZC filenaming. But, all that aside? Possible that security vulnerabilities have been abused.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: product_info.html --> being truncated to _info.html

    Thinking about it some more, I thought that product_info for example was a database related variable, and that therefore the product part of the statement may be missing... Ie, perhaps if the database was accessed, perhaps the word product had been removed? That one is a bit of a shot in the dark, but might explain. I think the listing I'm talking about can be found from myphpadmin looking at the product_types table.... Or, if you can access your admin, under catalog product types (if this all existed in Zc v 1.3.7....
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Sep 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: product_info.html --> being truncated to _info.html

    thanks - will look at database tables now - checked htaccess - will paste below - have disabled SEO URL mod to be on safe side - always strange when things 'suddenly' stop working...I know this is an old version, but served me well since 2007 -- GSH




    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /


    # From Ultimate SEO URLs
    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-ezp-([0-9]+).html$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]


    # For Open Operations Info Manager
    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]


    # For dreamscape's News & Articles Manager
    RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
    RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
    RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]


    # All other pages
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f [NC]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]


    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

 

 

Similar Threads

  1. v151 Links Broken _info not product_info
    By Paul69 in forum Basic Configuration
    Replies: 1
    Last Post: 6 Mar 2013, 05:08 AM
  2. Replies: 8
    Last Post: 21 Jul 2010, 07:25 PM
  3. Link issue - main_page=product_info / main_page=_info
    By Chrome Orange in forum General Questions
    Replies: 5
    Last Post: 7 May 2010, 05:34 AM
  4. Emails not being sent in html
    By nigelt74 in forum General Questions
    Replies: 3
    Last Post: 13 Jun 2007, 01:31 AM

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