Search found 557 matches

Search found 557 matches

custom http error pages

I'm having trouble creating custom error pages for my site. The host said to check with OC to see if the problem is here. Generally I'd dismiss the suggestion, but since OC handles 404, I'm wondering if something in OC could be preventing my custom error pages. The only one I've gotten to work is 40...

Jump to post
  • Fri Jul 19, 2024 12:45 pm
  • Replies 3
  • Views 752
Re: Rate limit site

It seems putting together a rate limiter wasn't hard at all. I try to shy away from using htaccess when I don't absolutely need to, especially due to its recursive nature and how it's read (or at least how I understand it is read), and with how out of control and big it can get...and putting all tho...

Jump to post
  • Sat Jul 13, 2024 8:53 am
  • Replies 5
  • Views 699
Re: cron job function help

Thanks. I went ahead and put a function in the controller to call the model and called the controller from the cron.

Jump to post
  • Sat Jul 13, 2024 4:35 am
  • Replies 3
  • Views 491
cron job function help

I want to run a cron job and function but I can't get it to work. What I've been doing to set up cron job functions is to put a script in a dedicated cron dir outside the OC dir and running it like: php -f /home/path/to/file.php function_name So I tried to do that with the function left in the model...

Jump to post
  • Fri Jul 12, 2024 10:29 pm
  • Replies 3
  • Views 491
[SOLVED] Rate limit site

Is it possible to rate limit the whole site (How quickly an IP/session can navigate to another page) since bots don't always listen to the rules? How would I go about that?

Jump to post
  • Mon Jul 08, 2024 7:00 pm
  • Replies 5
  • Views 699
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
  • Thu Jun 20, 2024 10:03 pm
  • Replies 9
  • Views 1935
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 with...

Jump to post
  • Sat Jun 15, 2024 7:55 pm
  • Replies 9
  • Views 1935
Re: Automatically block spam and wordpress hack ip

Quick update for security issues, I didn't test it yet but it should work: On the install.xml Add if (!filter_var($ip_spam , FILTER_VALIDATE_IP) === false) { After $ip_spam = $_SERVER['REMOTE_ADDR']; } And then close this condition before the last closing tag. And in catalog/model/catalog/custom_spa...

Jump to post
  • Sat Jun 15, 2024 12:59 am
  • Replies 9
  • Views 1935
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
  • Fri Jun 14, 2024 12:47 pm
  • Replies 9
  • Views 1935
Access catalog from admin

If I want to load a file and access it's functions in the admin I would do: $this->load->model(''); $this->model_file->function(); How would I do this if I wanted to load a file and function in the catalog dir from the admin dir? Or do I just have to recreate the model file in the admin dir?

Jump to post
  • Fri Jun 07, 2024 9:10 pm
  • Replies 2
  • Views 537
[SOLVED] 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 befo...

Jump to post
  • Sun Jun 02, 2024 2:12 pm
  • Replies 3
  • Views 507
Re: Recently viewed mod

lmao, feeling funny this morning i see. :laugh:

Jump to post
  • Wed May 15, 2024 10:26 pm
  • Replies 3
  • Views 404
Recently viewed mod

Looking for an extension that would indicate to the customers products THEY have already visited on the category pages (preferably guest and member, but will settle for member). NOT as a module or carousel on the page, but like a label on the actual product card on the category page. Has anyone seen...

Jump to post
  • Wed May 15, 2024 9:59 am
  • Replies 3
  • Views 404
Re: Unknown site url

Code: Select all

https://mysite.com/theproduct?com_cvv=4d761e8e36d2c5242cc3a92b4ebe848adc5e4fd00263603543e306c781ca29da

Jump to post
  • Wed May 08, 2024 4:07 am
  • Replies 7
  • Views 632
Re: Unknown site url

Thanks, relief. One more, I tried google, but kept getting credit card references. What's "?com_cvv=" and a long string of numbers at the end of the url?

Jump to post
  • Wed May 08, 2024 12:02 am
  • Replies 7
  • Views 632
Unknown site url

Just checking if the following is someone trying to try some funny business on my site. I don't recognize what this url can point to on my site, and all it does is go to my home page. (I added the space after the 'https' so the url isn't truncated) "https ://mysite.com/?fbclid=IwZXh0bgNhZW0CMTE...

Jump to post
  • Mon May 06, 2024 11:19 am
  • Replies 7
  • Views 632
Re: Register at end or after checkout

@osworx You've never said to yourself at checkout, "I'm not wasting my time making another damn account at another store." And proceeded to enter all the information you would have anyway to buy what you're buying. And then at the end said to yourself, "Damn, I'm probably going to com...

Jump to post
  • Fri Apr 19, 2024 1:07 am
  • Replies 6
  • Views 607
Register at end or after checkout

The option to checkout as a guest or register at the beginning of the checkout, can I simply program a checkbox at the end of the checkout so the customer can click it and it will change guest to register and they will be registered upon completion? Or is there something more to it? ...or is there a...

Jump to post
  • Thu Apr 18, 2024 5:18 am
  • Replies 6
  • Views 607
Re: query help

OK, thanks.

Jump to post
  • Thu Apr 18, 2024 1:50 am
  • Replies 5
  • Views 449

Search found 557 matches