Search found 62 matches

Search found 62 matches

Re: GSC add sitemap - not valid

I use the opencart module for sitemap harvesting. It generates the file but you can't add it to the GSC. XML file: https://skaiciumenas.lt/index.php?route=extension/feed/google_sitemap OC version: 3.0.3.8 I check the validity of the XML file here: https://www.xml-sitemaps.com/validate-xml-sitemap.h...

Jump to post
  • Fri Jul 19, 2024 8:26 pm
  • Replies 7
  • Views 536
Re: Any one know what would make DIR_CATALOG, that is clearly defined, throw Undefined Constant

Thank you guys for the tips. @nonnedelectari , I located it in two config.php files though one appears to be a backup. Noted that the DIR_TEMPLATE has a different definition in config.php from the front end version of the define I'm using, as @JNeuhoff explained. I haven't located the file that def...

Jump to post
  • Fri Jul 19, 2024 7:39 pm
  • Replies 8
  • Views 400
Re: Any one know what would make DIR_CATALOG, that is clearly defined, throw Undefined Constant

On an Opencart 3.0.3.3 server I keep running into an issue when I use the constant DIR_CATALOG. It keeps throwing: Warning: Use of undefined constant DIR_CATALOG - assumed 'DIR_CATALOG' (this will throw an Error in a future version of PHP) when ever I refer to it. I checked config.php and it is cle...

Jump to post
  • Thu Jul 18, 2024 7:42 am
  • Replies 8
  • Views 400
Re: Rate limit site

Just block all those nasty bots. A good staring point would be this list for your '.htaccess'. Which would only block those bots which actually identify themselves as such, of which 90% will never visit you site, and are therefor the least of your bot concerns. Mind, htaccess, if enabled, will be r...

Jump to post
  • Tue Jul 09, 2024 2:12 pm
  • Replies 5
  • Views 584
Re: Recent hack attempt

In the age of VPN and cloud services, all countries are high risk countries. Cidram blocks cloud services etc. Its not about blocking cloud services as many legit bots use them as well, it is about blocking malicious attempts. The point is that professional hackers no longer use their own ip addres...

Jump to post
  • Thu Jun 27, 2024 9:13 pm
  • Replies 11
  • Views 665
Re: Recent hack attempt

i've had 3 Opencart 3 sites hacked this week with the same exploit (identified by our malware detector as php.hex.hex.hex.hex.hex.hex.and exploit). Manifested as code appended to the end of the config file. Using server rules i've blocked all traffic from high risk countries but what i'm concerned ...

Jump to post
  • Thu Jun 27, 2024 7:27 pm
  • Replies 11
  • Views 665
Re: Customer orders from Client

Hi there, OC 3.0.3.8 Journal Version 3.2.0-rc.97 The customer name receives the following email upon signing up or placing an order through the client. ------=_NextPart_8348f69d301c60315df944f25d5e2d3f Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 WW91IGhhdmU...

Jump to post
  • Sat Jun 22, 2024 10:34 pm
  • Replies 4
  • Views 185
Re: New 3.0.3.9 install no friendly URL's

Will delete all, and install again. See if it solves the issue. Will let you know. Thanks so far for all the help I was asking : "Are you sure your (default) language is set correctly?" because you are not setting a language cookie (just currency and session) and seo url rewrite is langua...

Jump to post
  • Sat Jun 22, 2024 8:08 pm
  • Replies 11
  • Views 790
Re: About fuzzy search function.

Using spaces is required for Taiwan stores, Because the ultimate goal is to allow the complete product name to be individually searched for multiple matching search results. Product name: 機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件 Search: 狼 化油器 or 野狼 化油器總成 No suitable search module? Us...

Jump to post
  • Fri Jun 21, 2024 11:13 pm
  • Replies 6
  • Views 1036
Re: Automatically block spam and wordpress hack ip

the block should be immediate and temporary. I agree, which leads me back to a question in my OP. Is it safe to put coding that writes to the htaccess/firewall in a modified controller file since that file is in the storage dir outside of the public dir? blocking country ip ranges is also futile as...

Jump to post
  • Fri Jun 21, 2024 11:08 pm
  • Replies 9
  • Views 1241
Re: New 3.0.3.9 install no friendly URL's

Are you sure your (default) language is set correctly?

Jump to post
  • Fri Jun 21, 2024 10:55 pm
  • Replies 11
  • Views 790
Re: Automatically block spam and wordpress hack ip

It often makes sense though to block a detected spammer for the whole initial session with 403 responses, for subsequent requests in the same session. That's how we do it in our SpamBot Buster. Of course using the Journal3 framework isn't helpful and probably tends to make a website less secure. Th...

Jump to post
  • Mon Jun 17, 2024 11:19 pm
  • Replies 9
  • Views 1241
Re: Automatically block spam and wordpress hack ip

Thanks for the reply, you quoted me but you missed a couple points. 1/ I questioned the need for it because I wondered if people actually keep coming back so banning ip may be unnecessary. I don't know, so as far as I believe keeping them off the site once identified by blocking them would help wit...

Jump to post
  • Mon Jun 17, 2024 7:15 pm
  • Replies 9
  • Views 1241
Re: About fuzzy search function.

I own a store with Taiwanese traditional Chinese characters. For Taiwanese stores, we are used to entering two related keywords at the same time. Just like this product name: 機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件 If I were to do an efficient search, I would hope that I only need t...

Jump to post
  • Mon Jun 17, 2024 7:06 pm
  • Replies 6
  • Views 1036
Re: About fuzzy search function.

I own a store with Taiwanese traditional Chinese characters. For Taiwanese stores, we are used to entering two related keywords at the same time. Just like this product name: 機車工廠 野狼傳奇 傳狼 野狼 狼R 125 / 150 化油器總成 化油器 化油氣 SANYANG 正廠零件 If I were to do an efficient search, I would hope that I only need t...

Jump to post
  • Mon Jun 17, 2024 6:57 pm
  • Replies 6
  • Views 1036
Re: Automatically block spam and wordpress hack ip

I made this and find it somewhat useful...I question the need for it a little because I don't know if the offenders actually come back or not, who knows. Working on 3.0.3.9, this monitors all form submissions for real person input, if it's not a live person it logs the ip to the database once. Then...

Jump to post
  • Sat Jun 15, 2024 8:22 am
  • Replies 9
  • Views 1241
Re: ERROR during upgrade from v3.0.3.8 to v3.0.3.9 => SyntaxError: Unexpected token '<', "Warning"... is not valid JSO

using: Ubuntu 22.04.03/LTS Apache 2.4.52/FPM PHP 7.4.33 MySQL v8.0.37 Opencart v3.0.3.8 default theme During upgrade from v3.0.3.8 to v3.0.3.9 I am getting error: SyntaxError: Unexpected token '<', "Warning"... is not valid JSON parsererror Warning: mysqli::query(): (23000/1062): Duplicat...

Jump to post
  • Sat Jun 15, 2024 8:16 am
  • Replies 5
  • Views 706
Re: Need help with a database problem

I have a database table where I grab the contents that has accumulated, write it to a file, and then delete the contents. I delete the contents so I don't grab the same content next time. The problem is, the way I created the script to write to that database, it checks the contents of the table bef...

Jump to post
  • Sun Jun 02, 2024 7:15 pm
  • Replies 3
  • Views 409
Re: New install not repsonsive (OC v 3.0.3.9)

I fixed it. I added the following to the root htaccess file to force all pages to be https and it's working perfectly now on mobile RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] <ifModule mod_headers.c> Header always set Content-Security-Polic...

Jump to post
  • Wed May 29, 2024 7:52 am
  • Replies 12
  • Views 1028
Re: Is there a way to disable SEARCH ? and 404 "search pages" (route=product/search) ?

I want to disable search option in OC. Not just remove the search box! Completely disable search option and URL. I dont want anybody to search the page. I want them to just browse the categories. Is there an easy mod? THanks apart from taking the search bar out of the view, you need to disable the ...

Jump to post
  • Sun May 26, 2024 8:08 pm
  • Replies 2
  • Views 551

Search found 62 matches