cb21 Posted January 20, 2010 Posted January 20, 2010 Hi Yesterday everything was still OK, today, all of a sudden and no matter on what I click, either any product or even choosing a category ... all it does is showing the index page of the store as in http://shop/index.php Any idea why this behavior all of a sudden appears? Thanks
germ Posted January 20, 2010 Posted January 20, 2010 Hi Yesterday everything was still OK, today, all of a sudden and no matter on what I click, either any product or even choosing a category ... all it does is showing the index page of the store as in http://shop/index.php Any idea why this behavior all of a sudden appears? Thanks Your URL would be an immense help. Without it you might as well target shoot in the dark blindfolded. >_< You have as good a chance of solving the problem... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
cb21 Posted January 21, 2010 Author Posted January 21, 2010 Your URL would be an immense help. Without it you might as well target shoot in the dark blindfolded. Hi Germ Well, one does never know what to do these days anymore. While some forums penalize you when posting a link, here you get knocked off because YOU DON'T post your link. Not a problem. Besides, if you don't have an idea on what could cause the problem then what does the URL do for you? All you can do is click on any image, pull a category from a drop-down list and click on it, but neither any of these clicks will actually open the "product-page" for you, ... all it does it throws you straight back to the "index" (home) page !!! You really need to see this yourself? You don't believe this? Think I have nothing better to do than to waste people's time, just like "DunWeB" who has nothing to say but gives his "personal opinion" about... WHAT? Great community here at osCommerce... ! Thanks for your help, very NON-constructive!
cb21 Posted January 21, 2010 Author Posted January 21, 2010 :|: Visit my site at www.dunweb-designs.com or www.dunwebhosting.com/sales :|: This isn't spam? or was your "PERSONAL" aimed at my original post? ... Personally, I think replies like yours just indicate the low level on professionalism. or you are lonely and hang around forums trying to seek attention!
germ Posted January 21, 2010 Posted January 21, 2010 I already have several ideas as to what the problem might be. I'm not in the habit of posting wild a$$ guesses. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
cb21 Posted January 21, 2010 Author Posted January 21, 2010 Personally, I thought this was SPAM Chris
cb21 Posted January 21, 2010 Author Posted January 21, 2010 I already have several ideas as to what the problem might be. I'm not in the habit of posting wild a$$ guesses. No idea on how to post the link without being penalized but since you ask, I hope it's OK www.pinchmepurses.com ... click on any "product"-link and you'll see only the homepage Thanks
cb21 Posted January 28, 2010 Author Posted January 28, 2010 Does this forum have some moderator who could possibly take this post off the rack? This post is a waste of space here in this forum. There is no productive answer anyway! Unless, however, you want to contribute towards generating worthless content for GOOGLE, then keep it on, by all means!
♥mdtaylorlrim Posted January 28, 2010 Posted January 28, 2010 Now that you have added a working URL we can tell you where to start looking... All of your links look like this. http://www.pinchmepurses.com/-p-563.html You see the /-p-563.html? That is a broken link obviously formed by a SEO URL contribution. What SEO URL contribution have you added on? When did you do that? Have you deleted a category lately? If the SEO URL contribution has a support thread it would be very worthwhile to post the question in that thread because the author of the contribution often posts there and answers questions. Now, this is why it is OK to post URLs. They help us help you. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted January 28, 2010 Author Posted January 28, 2010 You see the /-p-563.html? No, I get only to see myulr/index.php That is a broken link obviously formed by a SEO URL contribution. What SEO URL contribution have you added on? When did you do that? Have you deleted a category lately? It was working since a year. Another store ... this one has the exact same version and is working perfectly. The SEO URLs was originally added by someone else from within this community. I have no idea what exact SEO version that is neither would I have a chance to find out from him, wouldn't tell. Do not know where to find it exactly within the script, maybe. Since the other store works (with the same version/extension, could there be a chance for that I just need to copy across some files and see if that will solve the problem? Which files would that be? Why, but - would one store work while the other doesn't, that is weird, indeed. and ... NO, no categories or products were changed at all. This just happened a week ago, out of the blue. Thanks, help is very much appreciated since the store is not working over a week now!
♥mdtaylorlrim Posted January 28, 2010 Posted January 28, 2010 No, I get only to see myulr/index.php Simply hover your mouse over one of the links. Look in the status bar of your browser. See the link there? Usually, when something stops working with absolutely no intervention we immediately jump to one of two conclusions... 1. Your host upgraded something that broke the code somewhere. 2. You have been hacked. If both stores are on the same server then you can rule out #1. That leaves the bad news. If the two stores are on different servers then ask your host if something on the server was upgraded about the time your store quit working. If it was then that information could be useful to the extent that it could point us to an exact place to fix. If the stores are both on the same server then the standard questions will then be asked about security. Have you installed all the security measures found in the Security forum? Browsing your files on the server do you see any files that do not appear to be a part of the normal osC install? Do you have any php files in image folders? Do you have any backups of both files and db? Of course, all this assumes that you have made no changes at all to the files. I think you said that already, right? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted January 28, 2010 Author Posted January 28, 2010 Simply hover your mouse over one of the links. Look in the status bar of your browser. See the link there? Firefox wouldn't show this on my side, Safari and Opera does, yes. Have you installed all the security measures found in the Security forum? NO! >_< Browsing your files on the server do you see any files that do not appear to be a part of the normal osC install? Do you have any php files in image folders? Nothing suspicious, except a captcha.php in the shop images folder but that is to be, I think?! Do you have any backups of both files and db? ... only the DB SQL files that get generated within the shop admin. I could reach back to such a file in late last year. The original shop files, from when I uploaded the shop ...? Yes, but there has been slight adjustments been done all way back in June/July last year and after that, no, I have not had a backup of those files as the shop got taken over by my friend-client. The only upgrade we have done on the server was a PHP upgrade to 5.2.11, that was about 5 weeks ago. We had some slight hick-ups - some files were not writable because my host didn't install suExec at the time, which was done within a day or two. Certain folders I keep in )755 chamod instead 777). After that everything went back to normal and now since a week, one store shows this issue. Thanks
♥mdtaylorlrim Posted January 28, 2010 Posted January 28, 2010 Maybe I missed it, but are these two shops hosted on the same server? Your products appear to be accessible, and buyable so I do not think it is any kind of database issue. I believe your issue lies in the code. Perhaps caused by the server upgrade, maybe not. I don't think you have been hacked, otherwise you would be getting some other indications. A lot of returned undeliverable email, other shop errors, that sort of thing. Are your products accessible on the admin side? Can you browse the categories in the catalog area? What I really think is that the server upgrade broke the url rewriting methodology in the seo urls add on. How about this. Do you have any .htaccess files in the store directories? If you have one at the store root temporarily rename it and see if it makes a difference. If your seo url contribution uses an htaccess rewrite rule then it will make a noticeable change, although probably not fix it. Can you print out a directory listing of all the files in your store root and lets see if we can spot any files specific to any seo url contribution. Do you see any admin controls for an seo contribution? If so, is there a setting to turn off the seo urls? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted January 28, 2010 Author Posted January 28, 2010 Yes, they are at the same server (VPS) I have worked through the admin and compared the two shops. Here is my overview which shows the folders which include any files to do with SEO. Others I could not find. You also see 3 screen shots of the admin section. One shows - yes, I can access all products from the admin site. The other two screen shots show the SEO assistant and SEO URLs addon. For the latter, the settings are exactly the same as in the shop that works without problems. There is also a htaccess file attached. Renaming this htaccess results in a 404 not found ... http://www.pinchmepurses.com/-p-561.html after trying to view this product which was shown on the home page. Renaming the htaccess in the admin folder doesn't seem to make any difference As you can see in the second screen shot (SEO URL) if I reverse the first two settings from false to true and the true to false. I get to see the path (instead of a friendly url, but still would get a 404). Hope I could cover and explain good enough to answer your questions properly, thanks
♥mdtaylorlrim Posted January 28, 2010 Posted January 28, 2010 Ok, it looks to me like your host has turned AllowOverrides off and has caused your htaccess to stop working. Even if both shops are on the same server the AllowOverrides directive can be set per domain. See if you can check with your host to verify your htaccess file is working and your RewriteEngine is actually coming on and rewriting rules. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted February 1, 2010 Author Posted February 1, 2010 Ok, it looks to me like your host has turned AllowOverrides off and has caused your htaccess to stop working. Even if both ... OK, we have double and triple checked all server configuration (together with the host technicians) and everything should be really fine and I believe them, because they spend a tremendous time to check and check, roll back and test and do it again ... On my side I replaced files and folders with originals (back-up files) as following: /public_html/admin/includes/modules /public_html/admin/includes /public_html/admin/includes/languages/ /public_html/admin /public_html/includes/applicationtop.php /public_html/includes/functions/general.php and nothing fixed the problem. I am absolutely lost! I don't know what other files/folders to replace to possibly bring that shop back to life again ???
♥mdtaylorlrim Posted February 1, 2010 Posted February 1, 2010 Try and compare the htaccess files for each site. If they both have the same seo url's add on then they should be close to the same. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted February 1, 2010 Author Posted February 1, 2010 Try and compare the htaccess files for each site. If they both have the same seo url's add on then they should be close to the same. 4 .htaccess files, 2 in the store folder and 2 in admin. Both shop' 4 files are exactly identical. The includes .htaccess files are nothing special. The store .htaccess is the same as the admin .htaccess, up to and including "# php_value register_globals 1" Here is the full file content (except the first line): # This is used with Apache WebServers# # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers #<IfModule mod_setenvif.c> # <IfDefine SSL> # SetEnvIf User-Agent ".*MSIE.*" \ # nokeepalive ssl-unclean-shutdown \ # downgrade-1.0 force-response-1.0 # </IfDefine> #</IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 # php_value register_globals 1 # SEF BEGIN # Change ReWrite base according to where your store is located # / is domain.com and /catalog is domain.com/catalog Options +FollowSymLinks RewriteEngine On RewriteBase // RewriteCond %{QUERY_STRING} ^options\=(.*)$ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2%1 RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} Options +FollowSymLinks RewriteEngine On RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR] RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) RewriteRule ^(.*)$ personal/index.php [F,L] RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] Even though the files are identical, I still tried to replace the files in the faulty shop with the file from the working shop but it didn't make (expectantly) any difference. Thanks
♥mdtaylorlrim Posted February 1, 2010 Posted February 1, 2010 I don't do Rewrite rules enough to help you much and hopefully someone that recognizes the SEO URL add on will help out more, but try this... it's only a test and not a solution. In your /catalog/.htaccess file comment out these two lines. RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} By putting a # in front of them. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
♥mdtaylorlrim Posted February 1, 2010 Posted February 1, 2010 I also notice that you have a RewriteBase // I thought it should be RewriteBase / Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
♥mdtaylorlrim Posted February 1, 2010 Posted February 1, 2010 And have you tried to reset the cache? Have you tried to turn off SEO URLs? And, there are some really knowledgeable people over in the support thread for Ultimate SEO URLs here. Try posting your site address there with a reference back to this topic and I'll bet you will get a much more knowledgeable response than from me. Since I don't use SEO URLs my help is very limited. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
cb21 Posted February 2, 2010 Author Posted February 2, 2010 And have you tried to reset the cache? Have you tried to turn off SEO URLs? Hi Yes, I did that a couple of times, doesn't make any diff. I just tried to comment the two lines out you suggested.I then get - e.g. - "http://www.pinchmepurses.com/-p-566.html" but nothing shows. To take off on backslash of RewriteBase / does make no diff neither ... Gosh ... is there anything left ??? :rolleyes: Thanks
Buurmantim Posted June 12, 2011 Posted June 12, 2011 Hi, I had the same problem. Suddenly none of the catagory links worked and clicking a product does nothing. After some frustration and testing and searching I Found the problem. In my case the problem was the register_long_arrays in the PHP-settings. In newer PHP-versions this option is disabled.
Inesyta Posted June 15, 2011 Posted June 15, 2011 Hello, Just today I noticed that my site http://www.beflame.co.uk is working strangly. When I click on the category, for example "bikini" in browser appears link- http://www.beflame.co.uk/bikinis-c-31.html it would be correct, but when I click on any product in browser appears link, for example http://www.beflame.co.uk/gold-bikini-p-305.html?cPath=31 and I think it should be http://www.beflame.co.uk/bikini/gold-bikini-p-305.html or something very similar to that. I checked other sites and it should be http://www.domainname.co.uk/category/product-name. Why my site hierarchy is different? And how to change? :blink: Many Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.