Christopher Short
-
Posts
432 -
Joined
-
Last visited
Posts posted by Christopher Short
-
-
On 3/9/2017 at 1:02 AM, bsmither said:
So, you are wanting CubeCart to send an order to Processing when it would otherwise go to Pending?
When an order goes to Pending, up to two things happen depending on settings: the admin is notified, and the stock level is adjusted.
So, in /classes/order.class.php
Near line 399, find: case self::ORDER_PENDING; On a new blank line after that, add: $this->orderStatus(2, $order_id);
I'm not sure this is working. I get double emails, my customers are getting doubles as well. I need to have the order status go to pending when they checkout, and process on payment notification, which will be a payment is pending( The payment is pending; see the pending_reason variable for more information. Please note, you will receive another Instant Payment Notification when the status of the payment changes to 'Completed', 'Failed', or 'Denied'. This Transaction ID has been processed before. Recipient account didn't match specified PayPal account. ). This message should trigger pending to processing for me. I can;t see to find where I made the change on the last version before the upgrade. This setup allows me to have inventory reduced as a payment has been authorized and the money is guaranteed at this point from paypal( would be a nice feature to add to cubecart by the way)
-
2 minutes ago, bsmither said:
Scanning through the XML file posted earlier, I see several URLs that are in the /store/ subdirectory, and the /quickbooks-pos-imported-inventory/ subdirectory. These obviously are vestigial remnants of an earlier crawl.
One other URL has me puzzled, however: /r45-htlo.html
This was last seen 3/22 and then not seen 3/22.
https://www.csrocketry.com/research-supplies/chemicals/r45-htlo.html
its still there.
The quickbooks sub directory should be a private directory, thats my preload area for new products. That category isn't active. Any way to block it?
-
2 minutes ago, bsmither said:
Are we assuming this report is the direct result of having Google crawl (verify) your site from the sitemap most recently given to it?
Or can we guess that this report is NOT from a direct result of having Google verify from the most recent sitemap, but rather an aggregation of 're-verification' checks to make sure what was found earlier is still there?
If the latter, then it would seem to me that the appropriate response would be to tell Google to delete everything it has ever crawled from that site and then to make a fresh crawl, indexing only what is in the sitemap located at the store.
I'm assuming they print this as a direct result from the crawl. I'll look into a fresh crawl then.
-
This is the list of 404 errors from google. Most of these show they are linked from the sitemap.xml, which doesn't make sense to me since the sitemap was updated on the 18th and these links should be really old(most have been changed for many months). I got it to come down from the 700 there was a few months ago but these keep reoccurring.
-
4 minutes ago, bsmither said:
The sitemap to which you posted a link a few posts back?
That site map has only one instance of "xxlarge-skyangle-deployment-bag.html" (line 5784).
right, but that isn't the proper link for that product. I have 75 other instances of the same thing, where the new site map has bad links in it. This is just one case of it. I need to see how to get this to stop happening.
-
yes, the ones now going on. I just gave them a new site map, that had this bad link.
-
12 minutes ago, bsmither said:
If you cleared all SEO links from admin, Maintenance, then this issue in the Github may explain what is happening.
On the other hand, a search for skyangle includes this product:
www.csrocketry.com/recovery-supplies/skyangle/deployment-bag/xxlarge-skyangle-deployment-bag.htmlNote that the category's seo_path has been prepended to the product's seo_path.
I know the path on the site is correct, but the site map seems to pull invalid paths. Some of those changes are months old, such as this one. I changed the path a long time ago. How bad will these 404 errors hurt my seo rankings?
-
SO I should turn the sales mode off, then generate the map, then turn sales back on. Ok. Easy enough. What about the 404 error i posted in the same message?
-
Here is something new for this:
URL:https://www.csrocketry.com/xxlarge-skyangle-deployment-bag.html Error detailsIn sitemapsLinked fromThis is a 404 error from google console. I generated this map after I did the SEO refresh from admin.
How do I remove the sales items category from the site map, it is not active on my site as a category, as I run permanent price discounts on some items.
-
12 hours ago, bsmither said:
When you created the sitemap, did you log in to admin under SSL? (Even if the store is set to use SSL, one can still log in to admin not using SSL.)
If you did not log in under SSL, then that may be the reason why the sitemap was created using non-SSL links.
Yeah, this seems to be the issue. I added https to my admin, made a new site map and they all show https now, and appear to be linking properly. Thanks a bunch!
-
12 minutes ago, bsmither said:
In an earlier post, you gave a sequence of links.
From the first to the second, the URL is getting switched to https while retaining the rewritten URL.
This issue in the Github mentions it, but was dropped.
This fix answers why a SSL-enabled store still has non-ssl links in the sitemap.
So the fix didn't actually fix it then. Ideas how to do so?
-
6 minutes ago, Dirty Butter said:
YOU are not causing problems, lol, but something sure is!
Hopefully this will be a straightforward fix. I am trying to improve my seo rankings and generate more business. My last google report had almost 700 404 errors, which were all product name changes. Then the link warning occurred and now I'm stuck. Of course you and Bsmither are great at helping me and I truly appreciate it!
-
9 minutes ago, Dirty Butter said:
Note there's a section Bsmither provided that is supposed to keep Google from seeing those v4 url's. It has helped, but I sometimes still get warnings about the v4 url formed pages. I've guessed that it's a hosting blip that lets those old formed url's show momentarily.
I added this, not sure how this file works though
5 minutes ago, bsmither said:" It still leaves the /index.php?seo_path= part in the link. Should it remove that? "
CubeCart should be removing that. We will have to find out where it doesn't when it is supposed to.
What can I do to help?
10 minutes ago, bsmither said:" I think once the seo link has been deleted, it takes the page being clicked on to refresh it. "
There is an issue with having the Maintenance kill SEO links. See: https://github.com/cubecart/v6/issues/1490
Hmm, I started the thread that you guys used for that. I guess Im causing problems...
-
1 minute ago, Dirty Butter said:
Do you have this?
Here is the new file:
##### START CubeCart .htaccess #####
### File Security ###
<FilesMatch "\.(htaccess)$">
Order Allow,Deny
Deny from all
</FilesMatch>### Apache directory listing rules ###
DirectoryIndex index.php index.htm index.html
IndexIgnore *### Rewrite rules for SEO functionality ###
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
##### START v4 SEO URL BACKWARD COMPATIBILITY #####
RewriteCond %{QUERY_STRING} (.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]RewriteCond %{QUERY_STRING} (.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L]
##### END v4 SEO URL BACKWARD COMPATIBILITY #####RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
</IfModule>### Default store 404 page ###
ErrorDocument 404 /index.php## Override default 404 error document for missing page resources ##
<FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$">
ErrorDocument 404 "<html></html>
</FilesMatch>
##### END CubeCart .htaccess ##### -
3 minutes ago, Dirty Butter said:
That sounds like your htaccess file does not have the Redirects working properly. Rename your existing .htaccess file. CC will create a new one with the appropriate standard values.
I did this just now. It still leaves the /index.php?seo_path= part in the link. Should it remove that?
-
Now google gave me this warning: When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
this is a link from the site map:
http://www.csrocketry.com/rocket-motors/cesaroni.html
this is where that link takes you when you click in the site map:
https://www.csrocketry.com/index.php?seo_path=rocket-motors/cesaroni
This is the actual link:
https://www.csrocketry.com/rocket-motors/cesaroni.html
-
1 minute ago, bsmither said:
" but after 5 or so refreshes, the page pulls up "
I was going to say this sounds like an external caching issue (not your browser and not CubeCart, but something your hosting provider is running your site through).
But that doesn't make sense. A new seo path wouldn't be in the external cache.and no external cache would block a request for a page it doesn't have.
If it is CubeCart that is returning a 404 (a "404 message" within a regular Cubecart page), then either:
The URL is not getting rewritten in the .htaccess file, or
The seo path cannot be found in the CubeCart_seo_urls database table.Check the table for the exact, correct spelling of the seo path being used.
The spelling is all exact and correct. I think once the seo link has been deleted, it takes the page being clicked on to refresh it... they are almost all fixed now that I sent a program to crawl all links.
-
I have done some product renaming, and reset the seo links. I then generated a new site map using the maintenance section...links in the new site map generate 404 errors when you click them, and google is showing 700 errors on my site from my last crawl. Any ideas on how to fix this?
Also, if you browse through the site, the errors will show, but after 5 or so refreshes, the page pulls up. Then the link from the site map will refresh and pull the site with no 404 error.
I also see sitemap links to inactive category and items that have the status off. How do I get those deleted?
-
On 3/16/2017 at 3:43 PM, Dirty Butter said:
Great! What worked for you?
this worked well, except the one import where I had 14000 commas at the end of the description entry....that caused my add to cart question earlier.
-
2 minutes ago, bsmither said:
I am not seeing any difficulty.
You just missed it.....I found the issue. When I did the edit, the csv file had added 14000 commas at the end of the description file. I'm using g7cart data pump which has really made this update of the product descriptions and seo info fast.
-
How do I move the add to cart button back to the right? on this page https://www.csrocketry.com/rocket-motors/aerotech-rocketry/motors/38mm/38/480-reloads.html
it is where I like/want it, but this page https://www.csrocketry.com/rocket-motors/cesaroni/motors/pro-38/3g-reloads.html
looks stupid
If I open the product description box, it fixes it when you save, but just that product.
-
I got this figured out guys. Thanks
-
Is there a good way to do mass product description updates? I know it is html based so it doesn't look like excel will work. ideas?
-
6 hours ago, bsmither said:
Yes. I know why the problem manifests, but not as yet what code to fix.
https://github.com/cubecart/v6/issues/1551
I hope cubecart has you on staff You always seem to be able to help and I really appreciate it.
[Resolved] Updates new admin
in Technical Help
Posted
This is still an issue! just updated using auto update to 6.1.6 from 6.1.5 and once again I have a new admin login link. Please fix this